OXIESEC PANEL
- Current Dir:
/
/
home
/
cubot
/
docroot
/
showcase
/
capacity
/
js
/
plugins
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/14/2022 11:05:33 AM
rwxr-xr-x
📄
jqplot.barRenderer.min.js
14.25 KB
08/14/2022 11:05:31 AM
rw-r--r--
📄
jqplot.canvasAxisLabelRenderer.min.js
3.77 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jqplot.canvasAxisTickRenderer.min.js
4.16 KB
08/14/2022 11:05:31 AM
rw-r--r--
📄
jqplot.canvasTextRenderer.min.js
16.58 KB
08/14/2022 11:05:31 AM
rw-r--r--
📄
jqplot.categoryAxisRenderer.js
26.08 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jqplot.categoryAxisRenderer.min.js
26.08 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jqplot.donutRenderer.min.js
13.9 KB
08/14/2022 11:05:33 AM
rw-r--r--
📄
jqplot.enhancedLegendRenderer.min.js
4.24 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jqplot.highlighter.min.js
21.82 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jqplot.meterGaugeRenderer.min.js
18.93 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jqplot.pieRenderer.min.js
14.21 KB
08/14/2022 11:05:31 AM
rw-r--r--
📄
jqplot.pointLabels.min.js
13.5 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jquery.jqplot.min.js
357.8 KB
08/14/2022 11:05:32 AM
rw-r--r--
📄
jquery.jqplot.min.js_back
125.72 KB
08/14/2022 11:05:33 AM
rw-r--r--
📄
jquery.tablednd_0_5.js
16.27 KB
08/14/2022 11:05:32 AM
rw-r--r--
Editing: jqplot.canvasAxisLabelRenderer.min.js
Close
/** * jqPlot * Pure JavaScript plotting plugin using jQuery * * Version: 1.0.0b2_r792 * * Copyright (c) 2009-2011 Chris Leonello * jqPlot is currently available for use in all personal or commercial projects * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can * choose the license that best suits your project and use it accordingly. * * Although not required, the author would appreciate an email letting him * know of any substantial use of jqPlot. You can reach the author at: * chris at jqplot dot com or see http://www.jqplot.com/info.php . * * If you are feeling kind and generous, consider supporting the project by * making a donation at: http://www.jqplot.com/donate.php . * * sprintf functions contained in jqplot.sprintf.js by Ash Searle: * * version 2007.04.27 * author Ash Searle * http://hexmen.com/blog/2007/03/printf-sprintf/ * http://hexmen.com/js/sprintf.js * The author (Ash Searle) has placed this code in the public domain: * "This code is unrestricted: you are free to use it however you like." * */ (function(a){a.jqplot.CanvasAxisLabelRenderer=function(b){this.angle=0;this.axis;this.show=true;this.showLabel=true;this.label="";this.fontFamily='"Trebuchet MS", Arial, Helvetica, sans-serif';this.fontSize="11pt";this.fontWeight="normal";this.fontStretch=1;this.textColor="#666666";this.enableFontSupport=true;this.pt2px=null;this._elem;this._ctx;this._plotWidth;this._plotHeight;this._plotDimensions={height:null,width:null};a.extend(true,this,b);if(b.angle==null&&this.axis!="xaxis"&&this.axis!="x2axis"){this.angle=-90}var c={fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily};if(this.pt2px){c.pt2px=this.pt2px}if(this.enableFontSupport){function d(){return !!(document.createElement("canvas").getContext&&typeof document.createElement("canvas").getContext("2d").fillText=="function")}if(d()){this._textRenderer=new a.jqplot.CanvasFontRenderer(c)}else{this._textRenderer=new a.jqplot.CanvasTextRenderer(c)}}else{this._textRenderer=new a.jqplot.CanvasTextRenderer(c)}};a.jqplot.CanvasAxisLabelRenderer.prototype.init=function(b){a.extend(true,this,b);this._textRenderer.init({fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily})};a.jqplot.CanvasAxisLabelRenderer.prototype.getWidth=function(d){if(this._elem){return this._elem.outerWidth(true)}else{var f=this._textRenderer;var c=f.getWidth(d);var e=f.getHeight(d);var b=Math.abs(Math.sin(f.angle)*e)+Math.abs(Math.cos(f.angle)*c);return b}};a.jqplot.CanvasAxisLabelRenderer.prototype.getHeight=function(d){if(this._elem){return this._elem.outerHeight(true)}else{var f=this._textRenderer;var c=f.getWidth(d);var e=f.getHeight(d);var b=Math.abs(Math.cos(f.angle)*e)+Math.abs(Math.sin(f.angle)*c);return b}};a.jqplot.CanvasAxisLabelRenderer.prototype.getAngleRad=function(){var b=this.angle*Math.PI/180;return b};a.jqplot.CanvasAxisLabelRenderer.prototype.draw=function(c,f){if(this._elem){if(a.jqplot.use_excanvas){window.G_vmlCanvasManager.uninitElement(this._elem.get(0))}this._elem.emptyForce();this._elem=null}var e=f.canvasManager.getCanvas();this._textRenderer.setText(this.label,c);var b=this.getWidth(c);var d=this.getHeight(c);e.width=b;e.height=d;e.style.width=b;e.style.height=d;e=f.canvasManager.initCanvas(e);this._elem=a(e);this._elem.css({position:"absolute"});this._elem.addClass("jqplot-"+this.axis+"-label");e=null;return this._elem};a.jqplot.CanvasAxisLabelRenderer.prototype.pack=function(){this._textRenderer.draw(this._elem.get(0).getContext("2d"),this.label)}})(jQuery);