UNPKG

@progress/kendo-ui

Version:

This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.

1 lines 1.67 kB
module.exports=function(e){function i(n){if(t[n])return t[n].exports;var r=t[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}var t={};return i.m=e,i.c=t,i.p="",i(0)}({0:function(e,i,t){e.exports=t(910)},3:function(e,i){e.exports=function(){throw Error("define cannot be used indirect")}},910:function(e,i,t){var n,r,o;!function(s,define){r=[t(911)],n=s,o="function"==typeof n?n.apply(i,r):n,!(void 0!==o&&(e.exports=o))}(function(){!function(e){var i,t=kendo.dataviz,n=t.ui.Chart,r=t.Sparkline,o=t.ChartInstanceObserver,s=e.extend,a=n.extend({init:function(e,i){var t=i;t instanceof kendo.data.ObservableArray&&(t={seriesDefaults:{data:t}}),n.fn.init.call(this,e,r.normalizeOptions(t))},_createChart:function(e,i){this._instance=new r(this.element[0],e,i,{observer:new o(this),sender:this,rtl:this._isRtl()})},_createTooltip:function(){return new i(this.element,s({},this.options.tooltip,{rtl:this._isRtl()}))},options:{name:"Sparkline",chartArea:{margin:2},axisDefaults:{visible:!1,majorGridLines:{visible:!1},valueAxis:{narrowRange:!0}},seriesDefaults:{type:"line",area:{line:{width:.5}},bar:{stack:!0},padding:2,width:.5,overlay:{gradient:null},highlight:{visible:!1},border:{width:0},markers:{size:2,visible:!1}},tooltip:{visible:!0,shared:!0},categoryAxis:{crosshair:{visible:!0,tooltip:{visible:!1}}},legend:{visible:!1},transitions:!1,pointWidth:5,panes:[{clip:!1}]}});t.ui.plugin(a),i=t.Tooltip.extend({options:{animation:{duration:0}},_hideElement:function(){this.element&&this.element.hide().remove()}}),t.SparklineTooltip=i}(window.kendo.jQuery)},t(3))},911:function(e,i){e.exports=require("./kendo-sparkline")}});