/* * Kendo UI Complete v2013.3.1324 (http://kendoui.com) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial license terms. */ !function(define){return define([],function(){!function(e,t){function n(){}function i(e,t){if(t)return"'"+e.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var n=e.charAt(0),i=e.substring(1);return"="===n?"+("+i+")+":":"===n?"+e("+i+")+":";"+e+";o+="}function r(e,t,n){return e+="",t=t||2,n=t-e.length,n?F[t].substring(0,n)+e:e}function o(t,n){var i,r,o,a,s,l,c,d,u,h,p,f,g,m=yt.browser,v="rtl"==t.css("direction");return t.parent().hasClass("k-animation-container")?(f=t.parent(".k-animation-container"),g=f[0].style,f.is(":hidden")&&f.show(),i=wt.test(g.width)||wt.test(g.height),i||f.css({width:t.outerWidth(),height:t.outerHeight(),boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"})):(r=t.css(ut.support.transitions.css+"box-shadow")||t.css("box-shadow"),o=r?r.match(_t)||[0,0,0,0,0]:[0,0,0,0,0],a=vt.max(+o[3],+(o[4]||0)),s=-o[1]+a,l=+o[1]+a,c=+o[2]+a,d=t[0].style.width,u=t[0].style.height,h=wt.test(d),p=wt.test(u),m.opera&&(s=l=c=5),i=h||p,!h&&(!n||n&&d)&&(d=t.outerWidth()),!p&&(!n||n&&u)&&(u=t.outerHeight()),t.wrap(e("
").addClass("k-animation-container").css({width:d,height:u,marginLeft:s*(v?1:-1),paddingLeft:s,paddingRight:l,paddingBottom:c})),i&&t.css({width:"100%",height:"100%",boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"})),m.msie&&vt.floor(m.version)<=7&&(t.css({zoom:1}),t.children(".k-menu").width(t.width())),t.parent()}function a(e){var t=1,n=arguments.length;for(t=1;n>t;t++)s(e,arguments[t]);return e}function s(e,t){var n,i,r,o,a=ut.data.ObservableArray,l=ut.data.DataSource;for(n in t)i=t[n],r=typeof i,r===Tt&&null!==i&&i.constructor!==Array&&i.constructor!==a&&i.constructor!==l?i instanceof Date?e[n]=new Date(i.getTime()):D(i.clone)?e[n]=i.clone():(o=e[n],e[n]=typeof o===Tt?o||{}:{},s(e[n],i)):r!==Et&&(e[n]=i);return e}function l(e,n,i){for(var r in n)if(n.hasOwnProperty(r)&&n[r].test(e))return r;return i!==t?i:e}function c(e){return e.replace(/([a-z][A-Z])/g,function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()})}function d(e){return e.replace(/\-(\w)/g,function(e,t){return t.toUpperCase()})}function u(t,n){var i,r={};return document.defaultView&&document.defaultView.getComputedStyle?(i=document.defaultView.getComputedStyle(t,""),n&&e.each(n,function(e,t){r[t]=i.getPropertyValue(t)})):(i=t.currentStyle,n&&e.each(n,function(e,t){r[t]=i[d(t)]})),ut.size(r)||(r=i),r}function h(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n}function p(e,t,n){var i,r,o,a;return t||(t="offset"),i=e[t](),r=yt.mobileOS,yt.touch&&r.ios&&r.flatVersion<410&&(o="offset"==t?i:e.offset(),a=i.left==o.left&&i.top==o.top)?{top:i.top-window.scrollY,left:i.left-window.scrollX}:(yt.browser.msie&&(yt.pointers||yt.msPointers)&&!n&&(i.top-=window.pageYOffset-document.documentElement.scrollTop,i.left-=window.pageXOffset-document.documentElement.scrollLeft),i)}function f(e){var t={};return pt("string"==typeof e?e.split(" "):e,function(e){t[e]=this}),t}function g(e){return new ut.effects.Element(e)}function m(e,t,n,i){return typeof e===St&&(D(t)&&(i=t,t=400,n=!1),D(n)&&(i=n,n=!1),typeof t===Dt&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:i}),ht({effects:{},duration:400,reverse:!1,init:mt,teardown:mt,hide:!1},e,{completeCallback:e.complete,complete:mt})}function v(t,n,i,r,o){for(var a,s=0,l=t.length;l>s;s++)a=e(t[s]),a.queue(function(){N.promise(a,m(n,i,r,o))});return t}function x(e,t,n,i,r,o){return N.transitionPromise(e,t,m(n,i,r,o))}function y(e,t,n,i){return t&&(t=t.split(" "),pt(t,function(t,n){e.toggleClass(n,i)})),e}function w(e){return(""+e).replace(j,"&").replace(U,"<").replace(G,">")}function b(e,n){var i;return 0===n.indexOf("data")&&(n=n.substring(4),n=n.charAt(0).toLowerCase()+n.substring(1)),n=n.replace(J,"-$1"),i=e.getAttribute("data-"+ut.ns+n),null===i?i=t:"null"===i?i=null:"true"===i?i=!0:"false"===i?i=!1:kt.test(i)?i=parseFloat(i):Z.test(i)&&!$.test(i)&&(i=Function("return ("+i+")")()),i}function _(n,i){var r,o,a={};for(r in i)o=b(n,r),o!==t&&(X.test(r)&&(o=ut.template(e("#"+o).html())),a[r]=o);return a}function k(t,n){return e.contains(t,n)?-1:1}function C(){var t=e(this);return e.inArray(t.attr("data-role"),["slider","rangeslider"])>0||t.is(":visible")}function S(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&A(e)}function A(t){return!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")||e.expr.filters.hidden(this)}).length}function T(e,t){return new T.fn.init(e,t)}var P,D,E,M,B,I,L,z,O,R,V,F,H,N,j,U,G,W,q,Q,Y,X,Z,$,J,K,et,tt,nt,it,rt,ot,at,st,lt,ct,dt,ut=window.kendo=window.kendo||{cultures:{}},ht=e.extend,pt=e.each,ft=e.isArray,gt=e.proxy,mt=e.noop,vt=Math,xt=window.JSON||{},yt={},wt=/%/,bt=/\{(\d+)(:[^\}]+)?\}/g,_t=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,kt=/^(\+|-?)\d+(\.?)\d*$/,Ct="function",St="string",At="number",Tt="object",Pt="null",Dt="boolean",Et="undefined",Mt={},Bt={},It=[].slice,Lt=window.Globalize;ut.version="2013.3.1324",n.extend=function(e){var t,n,i=function(){},r=this,o=e&&e.init?e.init:function(){r.apply(this,arguments)};i.prototype=r.prototype,n=o.fn=o.prototype=new i;for(t in e)n[t]=typeof e[t]!==Tt||e[t]instanceof Array||null===e[t]?e[t]:ht(!0,{},i.prototype[t],e[t]);return n.constructor=o,o.extend=r.extend,o},n.prototype._initOptions=function(e){this.options=a({},this.options,e)},D=ut.isFunction=function(e){return"function"==typeof e},E=function(){this._defaultPrevented=!0},M=function(){return this._defaultPrevented===!0},B=n.extend({init:function(){this._events={}},bind:function(e,n,i){var r,o,a,s,l,c=this,d=typeof e===St?[e]:e,u=typeof n===Ct;if(n===t){for(r in e)c.bind(r,e[r]);return c}for(r=0,o=d.length;o>r;r++)e=d[r],s=u?n:n[e],s&&(i&&(a=s,s=function(){c.unbind(e,s),a.apply(c,arguments)}),l=c._events[e]=c._events[e]||[],l.push(s));return c},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,i,r,o,a=this,s=typeof e===St?[e]:e,l=typeof t===Ct;for(n=0,i=s.length;i>n;n++)e=s[n],r=l?t:t[e],r&&(o=a._events[e]=a._events[e]||[],o.unshift(r));return a},trigger:function(e,t){var n,i,r=this,o=r._events[e];if(o){for(t=t||{},t.sender=r,t._defaultPrevented=!1,t.preventDefault=E,t.isDefaultPrevented=M,o=o.slice(),n=0,i=o.length;i>n;n++)o[n].call(r,t);return t._defaultPrevented===!0}return!1},unbind:function(e,n){var i,r=this,o=r._events[e];if(e===t)r._events={};else if(o)if(n)for(i=o.length-1;i>=0;i--)o[i]===n&&o.splice(i,1);else r._events[e]=[];return r}}),I=/^\w+/,L=/\$\{([^}]*)\}/g,z=/\\\}/g,O=/__CURLY__/g,R=/\\#/g,V=/__SHARP__/g,F=["","0","00","000","0000"],P={paramName:"data",useWithBlock:!0,render:function(e,t){var n,i,r="";for(n=0,i=t.length;i>n;n++)r+=e(t[n]);return r},compile:function(t,n){var r,o,a,s=ht({},this,n),l=s.paramName,c=l.match(I)[0],d=s.useWithBlock,u="var o,e=kendo.htmlEncode;";if(D(t))return 2===t.length?function(n){return t(e,{data:n}).join("")}:t;for(u+=d?"with("+l+"){":"",u+="o=",o=t.replace(z,"__CURLY__").replace(L,"#=e($1)#").replace(O,"}").replace(R,"__SHARP__").split("#"),a=0;a| {4:d} | |
|---|---|
| Open: | {0:C} |
| High: | {1:C} |
| Low: | {2:C} |
| Close: | {3:C} |
| {6:d} | |
|---|---|
| Lower: | {0:C} |
| Q1: | {1:C} |
| Median: | {2:C} |
| Mean: | {5:C} |
| Q3: | {3:C} |
| Upper: | {4:C} |
| #= categoryText # | # for(var i = 0; i < points.length; i++) { ## var point = points[i]; #|
|---|---|
| #= point.series.name #: | # } ##= content(point) # |