Version Description
- Release Date: November 7, 2016
- Fixed: Don't refresh a widget if it's not visible, fixes the widget being replaced by a spinner that never goes away.
- Updated: Minimum PHP version is now 5.4.
- Updated: Additional error checks for new IP code.
- Updated: jqPlot library to version development version and added DST fix.
Download this release
Release Info
Developer | GregRoss |
Plugin | WP Statistics |
Version | 11.0.1 |
Comparing to | |
See all releases |
Code changes from version 11.0 to 11.0.1
- assets/jqplot/jquery.jqplot.js +109 -52
- assets/jqplot/jquery.jqplot.min.js +6 -6
- assets/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js +1 -1
- assets/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js +4 -1
- assets/jqplot/plugins/jqplot.canvasAxisTickRenderer.js +1 -1
- assets/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js +4 -1
- assets/jqplot/plugins/jqplot.canvasTextRenderer.js +1 -1
- assets/jqplot/plugins/jqplot.canvasTextRenderer.min.js +4 -1
- assets/jqplot/plugins/jqplot.dateAxisRenderer.js +5 -5
- assets/jqplot/plugins/jqplot.dateAxisRenderer.min.js +4 -1
- assets/jqplot/plugins/jqplot.enhancedLegendRenderer.js +1 -1
- assets/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js +4 -1
- assets/jqplot/plugins/jqplot.enhancedPieLegendRenderer.js +261 -261
- assets/jqplot/plugins/jqplot.enhancedPieLegendRenderer.min.js +4 -1
- assets/jqplot/plugins/jqplot.highlighter.js +21 -2
- assets/jqplot/plugins/jqplot.highlighter.min.js +4 -1
- assets/jqplot/plugins/jqplot.pieRenderer.js +1 -1
- assets/jqplot/plugins/jqplot.pieRenderer.min.js +4 -1
- assets/js/dashboard.js +5 -2
- assets/js/dashboard.min.js +1 -1
- assets/js/log.js +5 -2
- assets/js/log.min.js +1 -1
- includes/classes/hits.class.php +27 -3
- languages/wp_statistics-ar.mo +0 -0
- languages/wp_statistics-ar.po +1 -1
- languages/wp_statistics-ary.mo +0 -0
- languages/wp_statistics-ary.po +1 -1
- languages/wp_statistics-bg_BG.mo +0 -0
- languages/wp_statistics-bg_BG.po +1 -1
- languages/wp_statistics-bn_BD.mo +0 -0
- languages/wp_statistics-bn_BD.po +1 -1
- languages/wp_statistics-bs.mo +0 -0
- languages/wp_statistics-bs.po +284 -284
- languages/wp_statistics-ckb.mo +0 -0
- languages/wp_statistics-ckb.po +1 -1
- languages/wp_statistics-cs_CZ.mo +0 -0
- languages/wp_statistics-cs_CZ.po +1 -1
- languages/wp_statistics-da_DK.mo +0 -0
- languages/wp_statistics-da_DK.po +1 -1
- languages/wp_statistics-de_DE.mo +0 -0
- languages/wp_statistics-de_DE.po +1 -1
- languages/wp_statistics-de_de_formal.mo +0 -0
- languages/wp_statistics-de_de_formal.po +1 -1
- languages/wp_statistics-eo.mo +0 -0
- languages/wp_statistics-eo.po +1 -1
- languages/wp_statistics-es_ES.mo +0 -0
- languages/wp_statistics-es_ES.po +1 -1
- languages/wp_statistics-fa_IR.mo +0 -0
- languages/wp_statistics-fa_IR.po +1 -1
- languages/wp_statistics-fr_FR.mo +0 -0
- languages/wp_statistics-fr_FR.po +1 -1
- languages/wp_statistics-hi.mo +0 -0
- languages/wp_statistics-hi.po +1 -1
- languages/wp_statistics-hu_HU.mo +0 -0
- languages/wp_statistics-hu_HU.po +1 -1
- languages/wp_statistics-id_ID.mo +0 -0
- languages/wp_statistics-id_ID.po +1 -1
- languages/wp_statistics-it_IT.mo +0 -0
- languages/wp_statistics-it_IT.po +1 -1
- languages/wp_statistics-ja.mo +0 -0
- languages/wp_statistics-ja.po +1 -1
- languages/wp_statistics-nl_NL.mo +0 -0
- languages/wp_statistics-nl_NL.po +1 -1
- languages/wp_statistics-pl_PL.mo +0 -0
- languages/wp_statistics-pl_PL.po +1 -1
- languages/wp_statistics-pt_BR.mo +0 -0
- languages/wp_statistics-pt_BR.po +1 -1
- languages/wp_statistics-ro_RO.mo +0 -0
- languages/wp_statistics-ro_RO.po +1 -1
- languages/wp_statistics-ru_RU.mo +0 -0
- languages/wp_statistics-ru_RU.po +1 -1
- languages/wp_statistics-sk_SK.mo +0 -0
- languages/wp_statistics-sk_SK.po +1 -1
- languages/wp_statistics-sr_RS.mo +0 -0
- languages/wp_statistics-sr_RS.po +1 -1
- languages/wp_statistics-sv_SE.mo +0 -0
- languages/wp_statistics-sv_SE.po +1 -1
- languages/wp_statistics-tr_TR.mo +0 -0
- languages/wp_statistics-tr_TR.po +1 -1
- languages/wp_statistics-uk.mo +0 -0
- languages/wp_statistics-uk.po +1 -1
- languages/wp_statistics-vi.mo +0 -0
- languages/wp_statistics-vi.po +1 -1
- languages/wp_statistics-zh_CN.mo +0 -0
- languages/wp_statistics-zh_CN.po +1 -1
- languages/wp_statistics-zh_TW.mo +0 -0
- languages/wp_statistics-zh_TW.po +1 -1
- readme.txt +22 -3
- wp-statistics.php +4 -4
assets/jqplot/jquery.jqplot.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* About: Version
|
7 |
*
|
8 |
* version: 1.0.9
|
9 |
-
* revision:
|
10 |
*
|
11 |
* About: Copyright & License
|
12 |
*
|
@@ -245,7 +245,7 @@
|
|
245 |
};
|
246 |
|
247 |
$.jqplot.version = "1.0.9";
|
248 |
-
$.jqplot.revision = "
|
249 |
|
250 |
$.jqplot.targetCounter = 1;
|
251 |
|
@@ -893,7 +893,7 @@
|
|
893 |
// prop: placement
|
894 |
// "insideGrid" places legend inside the grid area of the plot.
|
895 |
// "outsideGrid" places the legend outside the grid but inside the plot container,
|
896 |
-
// shrinking the grid to
|
897 |
// "inside" synonym for "insideGrid",
|
898 |
// "outside" places the legend ouside the grid area, but does not shrink the grid which
|
899 |
// can cause the legend to overflow the plot container.
|
@@ -3051,10 +3051,6 @@
|
|
3051 |
|
3052 |
if (this.legend.placement === 'outsideGrid') {
|
3053 |
legendPadding = {top:this.title.getHeight(), left: 0, right: 0, bottom: 0};
|
3054 |
-
if (this.legend.location === 's') {
|
3055 |
-
legendPadding.left = this._gridPadding.left;
|
3056 |
-
legendPadding.right = this._gridPadding.right;
|
3057 |
-
}
|
3058 |
}
|
3059 |
|
3060 |
ax.xaxis.pack({position:'absolute', bottom:this._gridPadding.bottom - ax.xaxis.getHeight(), left:0, width:this._width}, {min:this._gridPadding.left, max:this._width - this._gridPadding.right});
|
@@ -3217,7 +3213,7 @@
|
|
3217 |
var gd = series1.renderer._smoothedData.concat(tempgd);
|
3218 |
else
|
3219 |
var gd = series1.gridData.concat(tempgd);
|
3220 |
-
var color = fb.color !== null ? fb.color : series[
|
3221 |
var baseSeries = fb.baseSeries !== null ? fb.baseSeries : id1;
|
3222 |
var sr =
|
3223 |
series[baseSeries].renderer.shapeRenderer;
|
@@ -5903,7 +5899,11 @@
|
|
5903 |
fasgd = this.gridData;
|
5904 |
}
|
5905 |
for (i=0; i<fasgd.length; i++) {
|
5906 |
-
|
|
|
|
|
|
|
|
|
5907 |
}
|
5908 |
}
|
5909 |
}
|
@@ -5973,8 +5973,12 @@
|
|
5973 |
gd = this.gridData;
|
5974 |
}
|
5975 |
for (i=0; i<gd.length; i++) {
|
|
|
|
|
|
|
|
|
5976 |
if (gd[i][0] != null && gd[i][1] != null) {
|
5977 |
-
this.markerRenderer.draw(gd[i][0], gd[i][1], ctx,
|
5978 |
}
|
5979 |
}
|
5980 |
}
|
@@ -6117,6 +6121,7 @@
|
|
6117 |
}
|
6118 |
|
6119 |
|
|
|
6120 |
// class: $.jqplot.LinearAxisRenderer
|
6121 |
// The default jqPlot axis renderer, creating a numeric axis.
|
6122 |
$.jqplot.LinearAxisRenderer = function() {
|
@@ -7500,108 +7505,143 @@
|
|
7500 |
$.extend(true, this, options);
|
7501 |
};
|
7502 |
|
7503 |
-
|
7504 |
-
|
7505 |
-
|
7506 |
-
if (this.style.indexOf('filled') != -1) {
|
7507 |
sdopt.fill = true;
|
7508 |
}
|
7509 |
-
if (
|
7510 |
sdopt.isarc = true;
|
7511 |
sdopt.closePath = false;
|
7512 |
}
|
7513 |
-
|
7514 |
-
|
7515 |
-
|
7516 |
-
|
|
|
|
|
7517 |
shopt.fill = true;
|
7518 |
}
|
7519 |
-
if (
|
7520 |
shopt.isarc = true;
|
7521 |
shopt.closePath = false;
|
7522 |
}
|
7523 |
-
|
|
|
|
|
|
|
|
|
7524 |
};
|
7525 |
|
7526 |
$.jqplot.MarkerRenderer.prototype.drawDiamond = function(x, y, ctx, fill, options) {
|
|
|
|
|
|
|
|
|
|
|
|
|
7527 |
var stretch = 1.2;
|
7528 |
var dx = this.size/2/stretch;
|
7529 |
var dy = this.size/2*stretch;
|
7530 |
var points = [[x-dx, y], [x, y+dy], [x+dx, y], [x, y-dy]];
|
7531 |
-
if (
|
7532 |
-
this.shadowRenderer.draw(ctx, points);
|
7533 |
}
|
7534 |
-
this.shapeRenderer.draw(ctx, points,
|
7535 |
};
|
7536 |
|
7537 |
$.jqplot.MarkerRenderer.prototype.drawPlus = function(x, y, ctx, fill, options) {
|
|
|
7538 |
var stretch = 1.0;
|
7539 |
-
var dx =
|
7540 |
-
var dy =
|
7541 |
var points1 = [[x, y-dy], [x, y+dy]];
|
7542 |
var points2 = [[x+dx, y], [x-dx, y]];
|
7543 |
-
|
7544 |
-
|
7545 |
-
this.shadowRenderer.draw(ctx,
|
7546 |
-
this.shadowRenderer.draw(ctx, points2, {closePath:false});
|
7547 |
}
|
7548 |
this.shapeRenderer.draw(ctx, points1, opts);
|
7549 |
this.shapeRenderer.draw(ctx, points2, opts);
|
7550 |
};
|
7551 |
|
7552 |
$.jqplot.MarkerRenderer.prototype.drawX = function(x, y, ctx, fill, options) {
|
|
|
7553 |
var stretch = 1.0;
|
7554 |
-
var dx =
|
7555 |
-
var dy =
|
7556 |
-
var opts = $.extend(true, {}, this.options, {closePath:false});
|
7557 |
var points1 = [[x-dx, y-dy], [x+dx, y+dy]];
|
7558 |
var points2 = [[x-dx, y+dy], [x+dx, y-dy]];
|
7559 |
-
if (
|
7560 |
-
this.shadowRenderer.draw(ctx, points1,
|
7561 |
-
this.shadowRenderer.draw(ctx, points2,
|
7562 |
}
|
7563 |
-
this.shapeRenderer.draw(ctx, points1, opts);
|
7564 |
-
this.shapeRenderer.draw(ctx, points2, opts);
|
7565 |
};
|
7566 |
|
7567 |
$.jqplot.MarkerRenderer.prototype.drawDash = function(x, y, ctx, fill, options) {
|
|
|
|
|
|
|
|
|
|
|
|
|
7568 |
var stretch = 1.0;
|
7569 |
var dx = this.size/2*stretch;
|
7570 |
var dy = this.size/2*stretch;
|
7571 |
var points = [[x-dx, y], [x+dx, y]];
|
7572 |
-
if (
|
7573 |
this.shadowRenderer.draw(ctx, points);
|
7574 |
}
|
7575 |
-
this.shapeRenderer.draw(ctx, points,
|
7576 |
};
|
7577 |
|
7578 |
$.jqplot.MarkerRenderer.prototype.drawLine = function(p1, p2, ctx, fill, options) {
|
|
|
|
|
|
|
|
|
|
|
|
|
7579 |
var points = [p1, p2];
|
7580 |
-
if (
|
7581 |
-
this.shadowRenderer.draw(ctx, points);
|
7582 |
}
|
7583 |
-
this.shapeRenderer.draw(ctx, points,
|
7584 |
};
|
7585 |
|
7586 |
$.jqplot.MarkerRenderer.prototype.drawSquare = function(x, y, ctx, fill, options) {
|
|
|
|
|
|
|
|
|
|
|
|
|
7587 |
var stretch = 1.0;
|
7588 |
var dx = this.size/2/stretch;
|
7589 |
var dy = this.size/2*stretch;
|
7590 |
var points = [[x-dx, y-dy], [x-dx, y+dy], [x+dx, y+dy], [x+dx, y-dy]];
|
7591 |
-
if (
|
7592 |
-
this.shadowRenderer.draw(ctx, points);
|
7593 |
}
|
7594 |
-
this.shapeRenderer.draw(ctx, points,
|
7595 |
};
|
7596 |
|
7597 |
$.jqplot.MarkerRenderer.prototype.drawCircle = function(x, y, ctx, fill, options) {
|
|
|
|
|
|
|
|
|
|
|
|
|
7598 |
var radius = this.size/2;
|
7599 |
var end = 2*Math.PI;
|
7600 |
var points = [x, y, radius, 0, end, true];
|
7601 |
-
if (
|
7602 |
-
this.shadowRenderer.draw(ctx, points);
|
7603 |
}
|
7604 |
-
this.shapeRenderer.draw(ctx, points,
|
7605 |
};
|
7606 |
|
7607 |
$.jqplot.MarkerRenderer.prototype.draw = function(x, y, ctx, options) {
|
@@ -7615,7 +7655,8 @@
|
|
7615 |
if (options.color && !options.strokeStyle) {
|
7616 |
options.strokeStyle = options.color;
|
7617 |
}
|
7618 |
-
|
|
|
7619 |
case 'diamond':
|
7620 |
this.drawDiamond(x,y,ctx, false, options);
|
7621 |
break;
|
@@ -7653,6 +7694,7 @@
|
|
7653 |
}
|
7654 |
};
|
7655 |
|
|
|
7656 |
// class: $.jqplot.shadowRenderer
|
7657 |
// The default jqPlot shadow renderer, rendering shadows behind shapes.
|
7658 |
$.jqplot.ShadowRenderer = function(options){
|
@@ -9248,7 +9290,7 @@
|
|
9248 |
|
9249 |
// somehow in here, for divs within divs, the width of the inner div should be used instead of the canvas.
|
9250 |
|
9251 |
-
if ((tagname == 'div' || tagname == 'span') && !$(el).hasClass('jqplot-highlighter-tooltip')) {
|
9252 |
$(el).children().each(function() {
|
9253 |
_jqpToImage(this, left, top);
|
9254 |
});
|
@@ -9470,7 +9512,17 @@
|
|
9470 |
jsDate.prototype.add = function(number, unit) {
|
9471 |
var factor = multipliers[unit] || multipliers.day;
|
9472 |
if (typeof factor == 'number') {
|
|
|
|
|
|
|
|
|
9473 |
this.proxy.setTime(this.proxy.getTime() + (factor * number));
|
|
|
|
|
|
|
|
|
|
|
|
|
9474 |
} else {
|
9475 |
factor.add(this, number);
|
9476 |
}
|
@@ -9516,7 +9568,12 @@
|
|
9516 |
var factor = multipliers[unit] || multipliers.day;
|
9517 |
if (typeof factor == 'number') {
|
9518 |
// multiply
|
9519 |
-
|
|
|
|
|
|
|
|
|
|
|
9520 |
} else {
|
9521 |
// run function
|
9522 |
var unitDiff = factor.diff(this.proxy, dateObj.proxy);
|
6 |
* About: Version
|
7 |
*
|
8 |
* version: 1.0.9
|
9 |
+
* revision: c465c44
|
10 |
*
|
11 |
* About: Copyright & License
|
12 |
*
|
245 |
};
|
246 |
|
247 |
$.jqplot.version = "1.0.9";
|
248 |
+
$.jqplot.revision = "c465c44";
|
249 |
|
250 |
$.jqplot.targetCounter = 1;
|
251 |
|
893 |
// prop: placement
|
894 |
// "insideGrid" places legend inside the grid area of the plot.
|
895 |
// "outsideGrid" places the legend outside the grid but inside the plot container,
|
896 |
+
// shrinking the grid to accommodate the legend.
|
897 |
// "inside" synonym for "insideGrid",
|
898 |
// "outside" places the legend ouside the grid area, but does not shrink the grid which
|
899 |
// can cause the legend to overflow the plot container.
|
3051 |
|
3052 |
if (this.legend.placement === 'outsideGrid') {
|
3053 |
legendPadding = {top:this.title.getHeight(), left: 0, right: 0, bottom: 0};
|
|
|
|
|
|
|
|
|
3054 |
}
|
3055 |
|
3056 |
ax.xaxis.pack({position:'absolute', bottom:this._gridPadding.bottom - ax.xaxis.getHeight(), left:0, width:this._width}, {min:this._gridPadding.left, max:this._width - this._gridPadding.right});
|
3213 |
var gd = series1.renderer._smoothedData.concat(tempgd);
|
3214 |
else
|
3215 |
var gd = series1.gridData.concat(tempgd);
|
3216 |
+
var color = fb.color !== null ? fb.color : series[id1].fillColor;
|
3217 |
var baseSeries = fb.baseSeries !== null ? fb.baseSeries : id1;
|
3218 |
var sr =
|
3219 |
series[baseSeries].renderer.shapeRenderer;
|
5899 |
fasgd = this.gridData;
|
5900 |
}
|
5901 |
for (i=0; i<fasgd.length; i++) {
|
5902 |
+
var markerOptions = opts.markerOptions || {};
|
5903 |
+
if (this.markerOptionsCallback) {
|
5904 |
+
markerOptions = $.extend(true, markerOptions, this.markerOptionsCallback(plot, this, i, this.data[i], gd[i]) || {});
|
5905 |
+
}
|
5906 |
+
this.markerRenderer.draw(fasgd[i][0], fasgd[i][1], ctx, markerOptions);
|
5907 |
}
|
5908 |
}
|
5909 |
}
|
5973 |
gd = this.gridData;
|
5974 |
}
|
5975 |
for (i=0; i<gd.length; i++) {
|
5976 |
+
var markerOptions = opts.markerOptions || {};
|
5977 |
+
if (this.markerOptionsCallback) {
|
5978 |
+
markerOptions = $.extend(true, markerOptions, this.markerOptionsCallback(plot, this, i, this.data[i], gd[i]) || {});
|
5979 |
+
}
|
5980 |
if (gd[i][0] != null && gd[i][1] != null) {
|
5981 |
+
this.markerRenderer.draw(gd[i][0], gd[i][1], ctx, markerOptions);
|
5982 |
}
|
5983 |
}
|
5984 |
}
|
6121 |
}
|
6122 |
|
6123 |
|
6124 |
+
|
6125 |
// class: $.jqplot.LinearAxisRenderer
|
6126 |
// The default jqPlot axis renderer, creating a numeric axis.
|
6127 |
$.jqplot.LinearAxisRenderer = function() {
|
7505 |
$.extend(true, this, options);
|
7506 |
};
|
7507 |
|
7508 |
+
function getShadowRendererOptions(opts) {
|
7509 |
+
var sdopt = {angle:opts.shadowAngle, offset:opts.shadowOffset, alpha:opts.shadowAlpha, lineWidth:opts.lineWidth, depth:opts.shadowDepth, closePath:true};
|
7510 |
+
if (opts.style.indexOf('filled') != -1) {
|
|
|
7511 |
sdopt.fill = true;
|
7512 |
}
|
7513 |
+
if (opts.style.indexOf('ircle') != -1) {
|
7514 |
sdopt.isarc = true;
|
7515 |
sdopt.closePath = false;
|
7516 |
}
|
7517 |
+
return $.extend(true, {}, sdopt);
|
7518 |
+
}
|
7519 |
+
|
7520 |
+
function getShapeRendererOptions(opts) {
|
7521 |
+
var shopt = {fill:false, isarc:false, strokeStyle:opts.color, fillStyle:opts.color, lineWidth:opts.lineWidth, closePath:true};
|
7522 |
+
if (opts.style.indexOf('filled') != -1) {
|
7523 |
shopt.fill = true;
|
7524 |
}
|
7525 |
+
if (opts.style.indexOf('ircle') != -1) {
|
7526 |
shopt.isarc = true;
|
7527 |
shopt.closePath = false;
|
7528 |
}
|
7529 |
+
return $.extend(true, {}, shopt);
|
7530 |
+
}
|
7531 |
+
|
7532 |
+
$.jqplot.MarkerRenderer.prototype.init = function(options) {
|
7533 |
+
$.extend(true, this, options);
|
7534 |
};
|
7535 |
|
7536 |
$.jqplot.MarkerRenderer.prototype.drawDiamond = function(x, y, ctx, fill, options) {
|
7537 |
+
var opts;
|
7538 |
+
if (options == null || $.isEmptyObject(options)) {
|
7539 |
+
opts = this;
|
7540 |
+
} else {
|
7541 |
+
opts = $.extend(true, {}, this, options);
|
7542 |
+
}
|
7543 |
var stretch = 1.2;
|
7544 |
var dx = this.size/2/stretch;
|
7545 |
var dy = this.size/2*stretch;
|
7546 |
var points = [[x-dx, y], [x, y+dy], [x+dx, y], [x, y-dy]];
|
7547 |
+
if (opts.shadow) {
|
7548 |
+
this.shadowRenderer.draw(ctx, points, getShadowRendererOptions(opts));
|
7549 |
}
|
7550 |
+
this.shapeRenderer.draw(ctx, points, getShapeRendererOptions(opts));
|
7551 |
};
|
7552 |
|
7553 |
$.jqplot.MarkerRenderer.prototype.drawPlus = function(x, y, ctx, fill, options) {
|
7554 |
+
var opts = $.extend(true, {}, this, options, {closePath:false});
|
7555 |
var stretch = 1.0;
|
7556 |
+
var dx = opts.size/2*stretch;
|
7557 |
+
var dy = opts.size/2*stretch;
|
7558 |
var points1 = [[x, y-dy], [x, y+dy]];
|
7559 |
var points2 = [[x+dx, y], [x-dx, y]];
|
7560 |
+
if (opts.shadow) {
|
7561 |
+
this.shadowRenderer.draw(ctx, points1, getShadowRendererOptions(opts));
|
7562 |
+
this.shadowRenderer.draw(ctx, points2, getShadowRendererOptions(opts));
|
|
|
7563 |
}
|
7564 |
this.shapeRenderer.draw(ctx, points1, opts);
|
7565 |
this.shapeRenderer.draw(ctx, points2, opts);
|
7566 |
};
|
7567 |
|
7568 |
$.jqplot.MarkerRenderer.prototype.drawX = function(x, y, ctx, fill, options) {
|
7569 |
+
var opts = $.extend(true, {}, this, options, {closePath:false});
|
7570 |
var stretch = 1.0;
|
7571 |
+
var dx = opts.size/2*stretch;
|
7572 |
+
var dy = opts.size/2*stretch;
|
|
|
7573 |
var points1 = [[x-dx, y-dy], [x+dx, y+dy]];
|
7574 |
var points2 = [[x-dx, y+dy], [x+dx, y-dy]];
|
7575 |
+
if (opts.shadow) {
|
7576 |
+
this.shadowRenderer.draw(ctx, points1, getShadowRendererOptions(opts));
|
7577 |
+
this.shadowRenderer.draw(ctx, points2, getShadowRendererOptions(opts));
|
7578 |
}
|
7579 |
+
this.shapeRenderer.draw(ctx, points1, getShapeRendererOptions(opts));
|
7580 |
+
this.shapeRenderer.draw(ctx, points2, getShapeRendererOptions(opts));
|
7581 |
};
|
7582 |
|
7583 |
$.jqplot.MarkerRenderer.prototype.drawDash = function(x, y, ctx, fill, options) {
|
7584 |
+
var opts;
|
7585 |
+
if (options == null || $.isEmptyObject(options)) {
|
7586 |
+
opts = this;
|
7587 |
+
} else {
|
7588 |
+
opts = $.extend(true, {}, this, options);
|
7589 |
+
}
|
7590 |
var stretch = 1.0;
|
7591 |
var dx = this.size/2*stretch;
|
7592 |
var dy = this.size/2*stretch;
|
7593 |
var points = [[x-dx, y], [x+dx, y]];
|
7594 |
+
if (opts.shadow) {
|
7595 |
this.shadowRenderer.draw(ctx, points);
|
7596 |
}
|
7597 |
+
this.shapeRenderer.draw(ctx, points, getShapeRendererOptions(opts));
|
7598 |
};
|
7599 |
|
7600 |
$.jqplot.MarkerRenderer.prototype.drawLine = function(p1, p2, ctx, fill, options) {
|
7601 |
+
var opts;
|
7602 |
+
if (options == null || $.isEmptyObject(options)) {
|
7603 |
+
opts = this;
|
7604 |
+
} else {
|
7605 |
+
opts = $.extend(true, {}, this, options);
|
7606 |
+
}
|
7607 |
var points = [p1, p2];
|
7608 |
+
if (opts.shadow) {
|
7609 |
+
this.shadowRenderer.draw(ctx, points, getShadowRendererOptions(opts));
|
7610 |
}
|
7611 |
+
this.shapeRenderer.draw(ctx, points, getShapeRendererOptions(opts));
|
7612 |
};
|
7613 |
|
7614 |
$.jqplot.MarkerRenderer.prototype.drawSquare = function(x, y, ctx, fill, options) {
|
7615 |
+
var opts;
|
7616 |
+
if (options == null || $.isEmptyObject(options)) {
|
7617 |
+
opts = this;
|
7618 |
+
} else {
|
7619 |
+
opts = $.extend(true, {}, this, options);
|
7620 |
+
}
|
7621 |
var stretch = 1.0;
|
7622 |
var dx = this.size/2/stretch;
|
7623 |
var dy = this.size/2*stretch;
|
7624 |
var points = [[x-dx, y-dy], [x-dx, y+dy], [x+dx, y+dy], [x+dx, y-dy]];
|
7625 |
+
if (opts.shadow) {
|
7626 |
+
this.shadowRenderer.draw(ctx, points, getShadowRendererOptions(opts));
|
7627 |
}
|
7628 |
+
this.shapeRenderer.draw(ctx, points, getShapeRendererOptions(opts));
|
7629 |
};
|
7630 |
|
7631 |
$.jqplot.MarkerRenderer.prototype.drawCircle = function(x, y, ctx, fill, options) {
|
7632 |
+
var opts;
|
7633 |
+
if (options == null || $.isEmptyObject(options)) {
|
7634 |
+
opts = this;
|
7635 |
+
} else {
|
7636 |
+
opts = $.extend(true, {}, this, options);
|
7637 |
+
}
|
7638 |
var radius = this.size/2;
|
7639 |
var end = 2*Math.PI;
|
7640 |
var points = [x, y, radius, 0, end, true];
|
7641 |
+
if (opts.shadow) {
|
7642 |
+
this.shadowRenderer.draw(ctx, points, getShadowRendererOptions(opts));
|
7643 |
}
|
7644 |
+
this.shapeRenderer.draw(ctx, points, getShapeRendererOptions(opts));
|
7645 |
};
|
7646 |
|
7647 |
$.jqplot.MarkerRenderer.prototype.draw = function(x, y, ctx, options) {
|
7655 |
if (options.color && !options.strokeStyle) {
|
7656 |
options.strokeStyle = options.color;
|
7657 |
}
|
7658 |
+
var style = options.style || this.style;
|
7659 |
+
switch (style) {
|
7660 |
case 'diamond':
|
7661 |
this.drawDiamond(x,y,ctx, false, options);
|
7662 |
break;
|
7694 |
}
|
7695 |
};
|
7696 |
|
7697 |
+
|
7698 |
// class: $.jqplot.shadowRenderer
|
7699 |
// The default jqPlot shadow renderer, rendering shadows behind shapes.
|
7700 |
$.jqplot.ShadowRenderer = function(options){
|
9290 |
|
9291 |
// somehow in here, for divs within divs, the width of the inner div should be used instead of the canvas.
|
9292 |
|
9293 |
+
if ((tagname == 'div' || tagname == 'span') && !$(el).hasClass('jqplot-highlighter-tooltip') && !$(el).hasClass('jqplot-canvasOverlay-tooltip')) {
|
9294 |
$(el).children().each(function() {
|
9295 |
_jqpToImage(this, left, top);
|
9296 |
});
|
9512 |
jsDate.prototype.add = function(number, unit) {
|
9513 |
var factor = multipliers[unit] || multipliers.day;
|
9514 |
if (typeof factor == 'number') {
|
9515 |
+
// Get the offset from the current time.
|
9516 |
+
var oldOffset = this.proxy.getTimezoneOffset();
|
9517 |
+
|
9518 |
+
// Set the new time.
|
9519 |
this.proxy.setTime(this.proxy.getTime() + (factor * number));
|
9520 |
+
|
9521 |
+
// Check to see if we've crossed a daylight savings time boundary, if so convert to a number of milliseconds to add back to the diff.
|
9522 |
+
OffsetDiff = oldOffset - this.proxy.getTimezoneOffset();
|
9523 |
+
|
9524 |
+
// Reset the time to account for daylight savings time.
|
9525 |
+
this.proxy.setTime(this.proxy.getTime() - (OffsetDiff * 60 * 1000));
|
9526 |
} else {
|
9527 |
factor.add(this, number);
|
9528 |
}
|
9568 |
var factor = multipliers[unit] || multipliers.day;
|
9569 |
if (typeof factor == 'number') {
|
9570 |
// multiply
|
9571 |
+
|
9572 |
+
// Check to see if we've crossed a daylight savings time boundary, if so convert to a number of milliseconds to add back to the diff.
|
9573 |
+
var OffsetDiff = (dateObj.proxy.getTimezoneOffset() - this.proxy.getTimezoneOffset()) * 60 * 1000;
|
9574 |
+
|
9575 |
+
// Now find the difference, add back in the offset and then divide by the factor.
|
9576 |
+
var unitDiff = (this.proxy.getTime() - dateObj.proxy.getTime() + OffsetDiff) / factor;
|
9577 |
} else {
|
9578 |
// run function
|
9579 |
var unitDiff = factor.diff(this.proxy, dateObj.proxy);
|
assets/jqplot/jquery.jqplot.min.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello |
|
2 |
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
*/
|
4 |
-
!function(a){function b(b){a.jqplot.ElemContainer.call(this),this.name=b,this._series=[],this.show=!1,this.tickRenderer=a.jqplot.AxisTickRenderer,this.tickOptions={},this.labelRenderer=a.jqplot.AxisLabelRenderer,this.labelOptions={},this.label=null,this.showLabel=!0,this.min=null,this.max=null,this.autoscale=!1,this.pad=1.2,this.padMax=null,this.padMin=null,this.ticks=[],this.numberTicks,this.tickInterval,this.renderer=a.jqplot.LinearAxisRenderer,this.rendererOptions={},this.showTicks=!0,this.showTickMarks=!0,this.showMinorTicks=!0,this.drawMajorGridlines=!0,this.drawMinorGridlines=!1,this.drawMajorTickMarks=!0,this.drawMinorTickMarks=!0,this.useSeriesColor=!1,this.borderWidth=null,this.borderColor=null,this.scaleToHiddenSeries=!1,this._dataBounds={min:null,max:null},this._intervalStats=[],this._offsets={min:null,max:null},this._ticks=[],this._label=null,this.syncTicks=null,this.tickSpacing=75,this._min=null,this._max=null,this._tickInterval=null,this._numberTicks=null,this.__ticks=null,this._options={}}function c(b){a.jqplot.ElemContainer.call(this),this.show=!1,this.location="ne",this.labels=[],this.showLabels=!0,this.showSwatches=!0,this.placement="insideGrid",this.xoffset=0,this.yoffset=0,this.border,this.background,this.textColor,this.fontFamily,this.fontSize,this.rowSpacing="0.5em",this.renderer=a.jqplot.TableLegendRenderer,this.rendererOptions={},this.preDraw=!1,this.marginTop=null,this.marginRight=null,this.marginBottom=null,this.marginLeft=null,this.escapeHtml=!1,this._series=[],a.extend(!0,this,b)}function d(b){a.jqplot.ElemContainer.call(this),this.text=b,this.show=!0,this.fontFamily,this.fontSize,this.textAlign,this.textColor,this.renderer=a.jqplot.DivTitleRenderer,this.rendererOptions={},this.escapeHtml=!1}function e(b){b=b||{},a.jqplot.ElemContainer.call(this),this.show=!0,this.xaxis="xaxis",this._xaxis,this.yaxis="yaxis",this._yaxis,this.gridBorderWidth=2,this.renderer=a.jqplot.LineRenderer,this.rendererOptions={},this.data=[],this.gridData=[],this.label="",this.showLabel=!0,this.color,this.negativeColor,this.lineWidth=2.5,this.lineJoin="round",this.lineCap="round",this.linePattern="solid",this.shadow=!0,this.shadowAngle=45,this.shadowOffset=1.25,this.shadowDepth=3,this.shadowAlpha="0.1",this.breakOnNull=!1,this.markerRenderer=a.jqplot.MarkerRenderer,this.markerOptions={},this.showLine=!0,this.showMarker=!0,this.index,this.fill=!1,this.fillColor,this.fillAlpha,this.fillAndStroke=!1,this.disableStack=!1,this._stack=!1,this.neighborThreshold=4,this.fillToZero=!1,this.fillToValue=0,this.fillAxis="y",this.useNegativeColors=!0,this._stackData=[],this._plotData=[],this._plotValues={x:[],y:[]},this._intervals={x:{},y:{}},this._prevPlotData=[],this._prevGridData=[],this._stackAxis="y",this._primaryAxis="_xaxis",this.canvas=new a.jqplot.GenericCanvas,this.shadowCanvas=new a.jqplot.GenericCanvas,this.plugins={},this._sumy=0,this._sumx=0,this._type="",this.step=!1}function f(){a.jqplot.ElemContainer.call(this),this.drawGridlines=!0,this.gridLineColor="#cccccc",this.gridLineWidth=1,this.background="#fffdf6",this.borderColor="#999999",this.borderWidth=2,this.drawBorder=!0,this.shadow=!0,this.shadowAngle=45,this.shadowOffset=1.5,this.shadowWidth=3,this.shadowDepth=3,this.shadowColor=null,this.shadowAlpha="0.07",this._left,this._top,this._right,this._bottom,this._width,this._height,this._axes=[],this.renderer=a.jqplot.CanvasGridRenderer,this.rendererOptions={},this._offsets={top:null,bottom:null,left:null,right:null}}function g(){function h(a){for(var b,c=0;c<a.length;c++)for(var d,e=[a[c].data,a[c]._stackData,a[c]._plotData,a[c]._prevPlotData],f=0;4>f;f++)if(d=!0,b=e[f],"x"==a[c]._stackAxis){for(var g=0;g<b.length;g++)if("number"!=typeof b[g][1]){d=!1;break}d&&b.sort(function(a,b){return a[1]-b[1]})}else{for(var g=0;g<b.length;g++)if("number"!=typeof b[g][0]){d=!1;break}d&&b.sort(function(a,b){return a[0]-b[0]})}}function i(a){var b,c,d=a.data.plot,e=d.eventCanvas._elem.offset(),f={x:a.pageX-e.left,y:a.pageY-e.top},g={xaxis:null,yaxis:null,x2axis:null,y2axis:null,y3axis:null,y4axis:null,y5axis:null,y6axis:null,y7axis:null,y8axis:null,y9axis:null,yMidAxis:null},h=["xaxis","yaxis","x2axis","y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis","yMidAxis"],i=d.axes;for(b=11;b>0;b--)c=h[b-1],i[c].show&&(g[c]=i[c].series_p2u(f[c.charAt(0)]));return{offsets:e,gridPos:f,dataPos:g}}function j(b,c){function d(a,b,c){var d=(b[1]-c[1])/(b[0]-c[0]),e=b[1]-d*b[0],f=a+b[1];return[(f-e)/d,f]}var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x=c.series;for(g=c.seriesStack.length-1;g>=0;g--)switch(e=c.seriesStack[g],h=x[e],u=h._highlightThreshold,h.renderer.constructor){case a.jqplot.BarRenderer:for(j=b.x,k=b.y,f=0;f<h._barPoints.length;f++)if(t=h._barPoints[f],s=h.gridData[f],j>t[0][0]&&j<t[2][0]&&(k>t[2][1]&&k<t[0][1]||k<t[2][1]&&k>t[0][1]))return{seriesIndex:h.index,pointIndex:f,gridData:s,data:h.data[f],points:h._barPoints[f]};break;case a.jqplot.PyramidRenderer:for(j=b.x,k=b.y,f=0;f<h._barPoints.length;f++)if(t=h._barPoints[f],s=h.gridData[f],j>t[0][0]+u[0][0]&&j<t[2][0]+u[2][0]&&k>t[2][1]&&k<t[0][1])return{seriesIndex:h.index,pointIndex:f,gridData:s,data:h.data[f],points:h._barPoints[f]};break;case a.jqplot.DonutRenderer:if(n=h.startAngle/180*Math.PI,j=b.x-h._center[0],k=b.y-h._center[1],i=Math.sqrt(Math.pow(j,2)+Math.pow(k,2)),j>0&&-k>=0?l=2*Math.PI-Math.atan(-k/j):j>0&&0>-k?l=-Math.atan(-k/j):0>j?l=Math.PI-Math.atan(-k/j):0==j&&-k>0?l=3*Math.PI/2:0==j&&0>-k?l=Math.PI/2:0==j&&0==k&&(l=0),n&&(l-=n,0>l?l+=2*Math.PI:l>2*Math.PI&&(l-=2*Math.PI)),m=h.sliceMargin/180*Math.PI,i<h._radius&&i>h._innerRadius)for(f=0;f<h.gridData.length;f++)if(o=f>0?h.gridData[f-1][1]+m:m,p=h.gridData[f][1],l>o&&p>l)return{seriesIndex:h.index,pointIndex:f,gridData:[b.x,b.y],data:h.data[f]};break;case a.jqplot.PieRenderer:if(n=h.startAngle/180*Math.PI,j=b.x-h._center[0],k=b.y-h._center[1],i=Math.sqrt(Math.pow(j,2)+Math.pow(k,2)),j>0&&-k>=0?l=2*Math.PI-Math.atan(-k/j):j>0&&0>-k?l=-Math.atan(-k/j):0>j?l=Math.PI-Math.atan(-k/j):0==j&&-k>0?l=3*Math.PI/2:0==j&&0>-k?l=Math.PI/2:0==j&&0==k&&(l=0),n&&(l-=n,0>l?l+=2*Math.PI:l>2*Math.PI&&(l-=2*Math.PI)),m=h.sliceMargin/180*Math.PI,i<h._radius)for(f=0;f<h.gridData.length;f++)if(o=f>0?h.gridData[f-1][1]+m:m,p=h.gridData[f][1],l>o&&p>l)return{seriesIndex:h.index,pointIndex:f,gridData:[b.x,b.y],data:h.data[f]};break;case a.jqplot.BubbleRenderer:j=b.x,k=b.y;var y=null;if(h.show){for(var f=0;f<h.gridData.length;f++)s=h.gridData[f],r=Math.sqrt((j-s[0])*(j-s[0])+(k-s[1])*(k-s[1])),r<=s[2]&&(q>=r||null==q)&&(q=r,y={seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]});if(null!=y)return y}break;case a.jqplot.FunnelRenderer:j=b.x,k=b.y;var z,A,B,C=h._vertices,D=C[0],E=C[C.length-1];for(z=d(k,D[0],E[3]),A=d(k,D[1],E[2]),f=0;f<C.length;f++)if(B=C[f],k>=B[0][1]&&k<=B[3][1]&&j>=z[0]&&j<=A[0])return{seriesIndex:h.index,pointIndex:f,gridData:null,data:h.data[f]};break;case a.jqplot.LineRenderer:if(j=b.x,k=b.y,i=h.renderer,h.show){if(!(!(h.fill||h.renderer.bands.show&&h.renderer.bands.fill)||c.plugins.highlighter&&c.plugins.highlighter.show)){var F=!1;if(j>h._boundingBox[0][0]&&j<h._boundingBox[1][0]&&k>h._boundingBox[1][1]&&k<h._boundingBox[0][1])for(var G,H=h._areaPoints.length,f=H-1,G=0;H>G;G++){var I=[h._areaPoints[G][0],h._areaPoints[G][1]],J=[h._areaPoints[f][0],h._areaPoints[f][1]];(I[1]<k&&J[1]>=k||J[1]<k&&I[1]>=k)&&I[0]+(k-I[1])/(J[1]-I[1])*(J[0]-I[0])<j&&(F=!F),f=G}if(F)return{seriesIndex:e,pointIndex:null,gridData:h.gridData,data:h.data,points:h._areaPoints};break}w=h.markerRenderer.size/2+h.neighborThreshold,v=w>0?w:0;for(var f=0;f<h.gridData.length;f++)if(s=h.gridData[f],i.constructor==a.jqplot.OHLCRenderer)if(i.candleStick){var K=h._yaxis.series_u2p;if(j>=s[0]-i._bodyWidth/2&&j<=s[0]+i._bodyWidth/2&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(i.hlc){var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][1])&&k<=K(h.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else{var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(null!=s[0]&&null!=s[1]&&(r=Math.sqrt((j-s[0])*(j-s[0])+(k-s[1])*(k-s[1])),v>=r&&(q>=r||null==q)))return q=r,{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}break;default:if(j=b.x,k=b.y,i=h.renderer,h.show){w=h.markerRenderer.size/2+h.neighborThreshold,v=w>0?w:0;for(var f=0;f<h.gridData.length;f++)if(s=h.gridData[f],i.constructor==a.jqplot.OHLCRenderer)if(i.candleStick){var K=h._yaxis.series_u2p;if(j>=s[0]-i._bodyWidth/2&&j<=s[0]+i._bodyWidth/2&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(i.hlc){var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][1])&&k<=K(h.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else{var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(r=Math.sqrt((j-s[0])*(j-s[0])+(k-s[1])*(k-s[1])),v>=r&&(q>=r||null==q))return q=r,{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}}return null}this.animate=!1,this.animateReplot=!1,this.axes={xaxis:new b("xaxis"),yaxis:new b("yaxis"),x2axis:new b("x2axis"),y2axis:new b("y2axis"),y3axis:new b("y3axis"),y4axis:new b("y4axis"),y5axis:new b("y5axis"),y6axis:new b("y6axis"),y7axis:new b("y7axis"),y8axis:new b("y8axis"),y9axis:new b("y9axis"),yMidAxis:new b("yMidAxis")},this.baseCanvas=new a.jqplot.GenericCanvas,this.captureRightClick=!1,this.data=[],this.dataRenderer,this.dataRendererOptions,this.defaults={axesDefaults:{},axes:{xaxis:{},yaxis:{},x2axis:{},y2axis:{},y3axis:{},y4axis:{},y5axis:{},y6axis:{},y7axis:{},y8axis:{},y9axis:{},yMidAxis:{}},seriesDefaults:{},series:[]},this.defaultAxisStart=1,this.drawIfHidden=!1,this.eventCanvas=new a.jqplot.GenericCanvas,this.fillBetween={series1:null,series2:null,color:null,baseSeries:0,fill:!0},this.fontFamily,this.fontSize,this.grid=new f,this.legend=new c,this.noDataIndicator={show:!1,indicator:"Loading Data...",axes:{xaxis:{min:0,max:10,tickInterval:2,show:!0},yaxis:{min:0,max:12,tickInterval:3,show:!0}}},this.negativeSeriesColors=a.jqplot.config.defaultNegativeColors,this.options={},this.previousSeriesStack=[],this.plugins={},this.series=[],this.seriesStack=[],this.seriesColors=a.jqplot.config.defaultColors,this.sortData=!0,this.stackSeries=!1,this.syncXTicks=!0,this.syncYTicks=!0,this.target=null,this.targetId=null,this.textColor,this.title=new d,this._drawCount=0,this._sumy=0,this._sumx=0,this._stackData=[],this._plotData=[],this._width=null,this._height=null,this._plotDimensions={height:null,width:null},this._gridPadding={top:null,right:null,bottom:null,left:null},this._defaultGridPadding={top:10,right:10,bottom:23,left:10},this._addDomReference=a.jqplot.config.addDomReference,this.preInitHooks=new a.jqplot.HooksManager,this.postInitHooks=new a.jqplot.HooksManager,this.preParseOptionsHooks=new a.jqplot.HooksManager,this.postParseOptionsHooks=new a.jqplot.HooksManager,this.preDrawHooks=new a.jqplot.HooksManager,this.postDrawHooks=new a.jqplot.HooksManager,this.preDrawSeriesHooks=new a.jqplot.HooksManager,this.postDrawSeriesHooks=new a.jqplot.HooksManager,this.preDrawLegendHooks=new a.jqplot.HooksManager,this.addLegendRowHooks=new a.jqplot.HooksManager,this.preSeriesInitHooks=new a.jqplot.HooksManager,this.postSeriesInitHooks=new a.jqplot.HooksManager,this.preParseSeriesOptionsHooks=new a.jqplot.HooksManager,this.postParseSeriesOptionsHooks=new a.jqplot.HooksManager,this.eventListenerHooks=new a.jqplot.EventListenerManager,this.preDrawSeriesShadowHooks=new a.jqplot.HooksManager,this.postDrawSeriesShadowHooks=new a.jqplot.HooksManager,this.colorGenerator=new a.jqplot.ColorGenerator,this.negativeColorGenerator=new a.jqplot.ColorGenerator,this.canvasManager=new a.jqplot.CanvasManager,this.themeEngine=new a.jqplot.ThemeEngine;this.init=function(c,d,e){e=e||{};for(var f=0;f<a.jqplot.preInitHooks.length;f++)a.jqplot.preInitHooks[f].call(this,c,d,e);for(var f=0;f<this.preInitHooks.hooks.length;f++)this.preInitHooks.hooks[f].call(this,c,d,e);if(this.targetId="#"+c,this.target=a("#"+c),this._addDomReference&&this.target.data("jqplot",this),this.target.removeClass("jqplot-error"),!this.target.get(0))throw new Error("No plot target specified");if("static"==this.target.css("position")&&this.target.css("position","relative"),this.target.hasClass("jqplot-target")||this.target.addClass("jqplot-target"),this.target.height())this._height=g=this.target.height();else{var g;g=e&&e.height?parseInt(e.height,10):this.target.attr("data-height")?parseInt(this.target.attr("data-height"),10):parseInt(a.jqplot.config.defaultHeight,10),this._height=g,this.target.css("height",g+"px")}if(this.target.width())this._width=i=this.target.width();else{var i;i=e&&e.width?parseInt(e.width,10):this.target.attr("data-width")?parseInt(this.target.attr("data-width"),10):parseInt(a.jqplot.config.defaultWidth,10),this._width=i,this.target.css("width",i+"px")}for(var f=0,j=G.length;j>f;f++)this.axes[G[f]]=new b(G[f]);if(this._plotDimensions.height=this._height,this._plotDimensions.width=this._width,this.grid._plotDimensions=this._plotDimensions,this.title._plotDimensions=this._plotDimensions,this.baseCanvas._plotDimensions=this._plotDimensions,this.eventCanvas._plotDimensions=this._plotDimensions,this.legend._plotDimensions=this._plotDimensions,this._height<=0||this._width<=0||!this._height||!this._width)throw new Error("Canvas dimension not set");if(e.dataRenderer&&a.isFunction(e.dataRenderer)&&(e.dataRendererOptions&&(this.dataRendererOptions=e.dataRendererOptions),this.dataRenderer=e.dataRenderer,d=this.dataRenderer(d,this,this.dataRendererOptions)),e.noDataIndicator&&a.isPlainObject(e.noDataIndicator)&&a.extend(!0,this.noDataIndicator,e.noDataIndicator),null==d||0==a.isArray(d)||0==d.length||0==a.isArray(d[0])||0==d[0].length){if(0==this.noDataIndicator.show)throw new Error("No data specified");for(var k in this.noDataIndicator.axes)for(var l in this.noDataIndicator.axes[k])this.axes[k][l]=this.noDataIndicator.axes[k][l];this.postDrawHooks.add(function(){var b=this.eventCanvas.getHeight(),c=this.eventCanvas.getWidth(),d=a('<div class="jqplot-noData-container" style="position:absolute;"></div>');this.target.append(d),d.height(b),d.width(c),d.css("top",this.eventCanvas._offsets.top),d.css("left",this.eventCanvas._offsets.left);var e=a('<div class="jqplot-noData-contents" style="text-align:center; position:relative; margin-left:auto; margin-right:auto;"></div>');d.append(e),e.html(this.noDataIndicator.indicator);var f=e.height(),g=e.width();e.height(f),e.width(g),e.css("top",(b-f)/2+"px")})}this.data=a.extend(!0,[],d),this.parseOptions(e),this.textColor&&this.target.css("color",this.textColor),this.fontFamily&&this.target.css("font-family",this.fontFamily),this.fontSize&&this.target.css("font-size",this.fontSize),this.title.init(),this.legend.init(),this._sumy=0,this._sumx=0,this.computePlotData();for(var f=0;f<this.series.length;f++){this.seriesStack.push(f),this.previousSeriesStack.push(f),this.series[f].shadowCanvas._plotDimensions=this._plotDimensions,this.series[f].canvas._plotDimensions=this._plotDimensions;for(var m=0;m<a.jqplot.preSeriesInitHooks.length;m++)a.jqplot.preSeriesInitHooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);for(var m=0;m<this.preSeriesInitHooks.hooks.length;m++)this.preSeriesInitHooks.hooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);this.series[f]._plotDimensions=this._plotDimensions,this.series[f].init(f,this.grid.borderWidth,this);for(var m=0;m<a.jqplot.postSeriesInitHooks.length;m++)a.jqplot.postSeriesInitHooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);for(var m=0;m<this.postSeriesInitHooks.hooks.length;m++)this.postSeriesInitHooks.hooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);this._sumy+=this.series[f]._sumy,this._sumx+=this.series[f]._sumx}for(var n,o,f=0,j=G.length;j>f;f++)n=G[f],o=this.axes[n],o._plotDimensions=this._plotDimensions,o.init(),null==this.axes[n].borderColor&&("x"!==n.charAt(0)&&o.useSeriesColor===!0&&o.show?o.borderColor=o._series[0].color:o.borderColor=this.grid.borderColor);this.sortData&&h(this.series),this.grid.init(),this.grid._axes=this.axes,this.legend._series=this.series;for(var f=0;f<a.jqplot.postInitHooks.length;f++)a.jqplot.postInitHooks[f].call(this,c,this.data,e);for(var f=0;f<this.postInitHooks.hooks.length;f++)this.postInitHooks.hooks[f].call(this,c,this.data,e)},this.resetAxesScale=function(b,c){var d=c||{},e=b||this.axes;if(e===!0&&(e=this.axes),a.isArray(e))for(var f=0;f<e.length;f++)this.axes[e[f]].resetScale(d[e[f]]);else if("object"==typeof e)for(var g in e)this.axes[g].resetScale(d[g])},this.reInitialize=function(c,d){for(var e=a.extend(!0,{},this.options,d),f=this.targetId.substr(1),g=null==c?this.data:c,i=0;i<a.jqplot.preInitHooks.length;i++)a.jqplot.preInitHooks[i].call(this,f,g,e);for(var i=0;i<this.preInitHooks.hooks.length;i++)this.preInitHooks.hooks[i].call(this,f,g,e);if(this._height=this.target.height(),this._width=this.target.width(),this._height<=0||this._width<=0||!this._height||!this._width)throw new Error("Target dimension not set");this._plotDimensions.height=this._height,this._plotDimensions.width=this._width,this.grid._plotDimensions=this._plotDimensions,this.title._plotDimensions=this._plotDimensions,this.baseCanvas._plotDimensions=this._plotDimensions,this.eventCanvas._plotDimensions=this._plotDimensions,this.legend._plotDimensions=this._plotDimensions;for(var j,k,l,m,i=0,n=G.length;n>i;i++){j=G[i],m=this.axes[j],k=m._ticks;for(var l=0,o=k.length;o>l;l++){var p=k[l]._elem;p&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==F&&window.G_vmlCanvasManager.uninitElement(p.get(0)),p.emptyForce(),p=null,k._elem=null)}k=null,delete m.ticks,delete m._ticks,this.axes[j]=new b(j),this.axes[j]._plotWidth=this._width,this.axes[j]._plotHeight=this._height}c&&(e.dataRenderer&&a.isFunction(e.dataRenderer)&&(e.dataRendererOptions&&(this.dataRendererOptions=e.dataRendererOptions),this.dataRenderer=e.dataRenderer,c=this.dataRenderer(c,this,this.dataRendererOptions)),this.data=a.extend(!0,[],c)),d&&this.parseOptions(e),this.title._plotWidth=this._width,this.textColor&&this.target.css("color",this.textColor),this.fontFamily&&this.target.css("font-family",this.fontFamily),this.fontSize&&this.target.css("font-size",this.fontSize),this.title.init(),this.legend.init(),this._sumy=0,this._sumx=0,this.seriesStack=[],this.previousSeriesStack=[],this.computePlotData();for(var i=0,n=this.series.length;n>i;i++){this.seriesStack.push(i),this.previousSeriesStack.push(i),this.series[i].shadowCanvas._plotDimensions=this._plotDimensions,this.series[i].canvas._plotDimensions=this._plotDimensions;for(var l=0;l<a.jqplot.preSeriesInitHooks.length;l++)a.jqplot.preSeriesInitHooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);for(var l=0;l<this.preSeriesInitHooks.hooks.length;l++)this.preSeriesInitHooks.hooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);this.series[i]._plotDimensions=this._plotDimensions,this.series[i].init(i,this.grid.borderWidth,this);for(var l=0;l<a.jqplot.postSeriesInitHooks.length;l++)a.jqplot.postSeriesInitHooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);for(var l=0;l<this.postSeriesInitHooks.hooks.length;l++)this.postSeriesInitHooks.hooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);this._sumy+=this.series[i]._sumy,this._sumx+=this.series[i]._sumx}for(var i=0,n=G.length;n>i;i++)j=G[i],m=this.axes[j],m._plotDimensions=this._plotDimensions,m.init(),null==m.borderColor&&("x"!==j.charAt(0)&&m.useSeriesColor===!0&&m.show?m.borderColor=m._series[0].color:m.borderColor=this.grid.borderColor);this.sortData&&h(this.series),this.grid.init(),this.grid._axes=this.axes,this.legend._series=this.series;for(var i=0,n=a.jqplot.postInitHooks.length;n>i;i++)a.jqplot.postInitHooks[i].call(this,f,this.data,e);for(var i=0,n=this.postInitHooks.hooks.length;n>i;i++)this.postInitHooks.hooks[i].call(this,f,this.data,e)},this.quickInit=function(){if(this._height=this.target.height(),this._width=this.target.width(),this._height<=0||this._width<=0||!this._height||!this._width)throw new Error("Target dimension not set");this._plotDimensions.height=this._height,this._plotDimensions.width=this._width,this.grid._plotDimensions=this._plotDimensions,this.title._plotDimensions=this._plotDimensions,this.baseCanvas._plotDimensions=this._plotDimensions,this.eventCanvas._plotDimensions=this._plotDimensions,this.legend._plotDimensions=this._plotDimensions;for(var b in this.axes)this.axes[b]._plotWidth=this._width,this.axes[b]._plotHeight=this._height;this.title._plotWidth=this._width,this.textColor&&this.target.css("color",this.textColor),this.fontFamily&&this.target.css("font-family",this.fontFamily),this.fontSize&&this.target.css("font-size",this.fontSize),this._sumy=0,this._sumx=0,this.computePlotData();for(var c=0;c<this.series.length;c++)"line"===this.series[c]._type&&this.series[c].renderer.bands.show&&this.series[c].renderer.initBands.call(this.series[c],this.series[c].renderer.options,this),this.series[c]._plotDimensions=this._plotDimensions,this.series[c].canvas._plotDimensions=this._plotDimensions,this._sumy+=this.series[c]._sumy,this._sumx+=this.series[c]._sumx;for(var d,e=0;12>e;e++){d=G[e];for(var f=this.axes[d]._ticks,c=0;c<f.length;c++){var g=f[c]._elem;g&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==F&&window.G_vmlCanvasManager.uninitElement(g.get(0)),g.emptyForce(),g=null,f._elem=null)}f=null,this.axes[d]._plotDimensions=this._plotDimensions,this.axes[d]._ticks=[]}this.sortData&&h(this.series),this.grid._axes=this.axes,this.legend._series=this.series},this.computePlotData=function(){this._plotData=[],this._stackData=[];var b,c,d;for(c=0,d=this.series.length;d>c;c++){b=this.series[c],this._plotData.push([]),this._stackData.push([]);var e=b.data;this._plotData[c]=a.extend(!0,[],e),this._stackData[c]=a.extend(!0,[],e),b._plotData=this._plotData[c],b._stackData=this._stackData[c];var f={x:[],y:[]};if(this.stackSeries&&!b.disableStack){b._stack=!0;for(var g="x"===b._stackAxis?0:1,h=0,i=e.length;i>h;h++){var j=e[h][g];if(null==j&&(j=0),this._plotData[c][h][g]=j,this._stackData[c][h][g]=j,c>0)for(var k=c;k--;){var l=this._plotData[k][h][g];if(j*l>=0){this._plotData[c][h][g]+=l,this._stackData[c][h][g]+=l;break}}}}else{for(var m=0;m<b.data.length;m++)f.x.push(b.data[m][0]),f.y.push(b.data[m][1]);this._stackData.push(b.data),this.series[c]._stackData=b.data,this._plotData.push(b.data),b._plotData=b.data,b._plotValues=f}for(c>0&&(b._prevPlotData=this.series[c-1]._plotData),b._sumy=0,b._sumx=0,m=b.data.length-1;m>-1;m--)b._sumy+=b.data[m][1],b._sumx+=b.data[m][0]}},this.populatePlotData=function(b,c){this._plotData=[],this._stackData=[],b._stackData=[],b._plotData=[];var d={x:[],y:[]};if(this.stackSeries&&!b.disableStack){b._stack=!0;for(var e,f,g,h,i="x"===b._stackAxis?0:1,j=a.extend(!0,[],b.data),k=a.extend(!0,[],b.data),l=0;c>l;l++)for(var m=this.series[l].data,n=0;n<m.length;n++)g=m[n],e=null!=g[0]?g[0]:0,f=null!=g[1]?g[1]:0,j[n][0]+=e,j[n][1]+=f,h=i?f:e,b.data[n][i]*h>=0&&(k[n][i]+=h);for(var o=0;o<k.length;o++)d.x.push(k[o][0]),d.y.push(k[o][1]);this._plotData.push(k),this._stackData.push(j),b._stackData=j,b._plotData=k,b._plotValues=d}else{for(var o=0;o<b.data.length;o++)d.x.push(b.data[o][0]),d.y.push(b.data[o][1]);this._stackData.push(b.data),this.series[c]._stackData=b.data,this._plotData.push(b.data),b._plotData=b.data,b._plotValues=d}for(c>0&&(b._prevPlotData=this.series[c-1]._plotData),b._sumy=0,b._sumx=0,o=b.data.length-1;o>-1;o--)b._sumy+=b.data[o][1],b._sumx+=b.data[o][0]},this.getNextSeriesColor=function(a){var b=0,c=a.seriesColors;return function(){return b<c.length?c[b++]:(b=0,c[b++])}}(this),this.parseOptions=function(b){for(var c=0;c<this.preParseOptionsHooks.hooks.length;c++)this.preParseOptionsHooks.hooks[c].call(this,b);for(var c=0;c<a.jqplot.preParseOptionsHooks.length;c++)a.jqplot.preParseOptionsHooks[c].call(this,b);this.options=a.extend(!0,{},this.defaults,b);var d=this.options;if(this.animate=d.animate,this.animateReplot=d.animateReplot,this.stackSeries=d.stackSeries,a.isPlainObject(d.fillBetween))for(var f,g=["series1","series2","color","baseSeries","fill"],c=0,h=g.length;h>c;c++)f=g[c],null!=d.fillBetween[f]&&(this.fillBetween[f]=d.fillBetween[f]);d.seriesColors&&(this.seriesColors=d.seriesColors),d.negativeSeriesColors&&(this.negativeSeriesColors=d.negativeSeriesColors),d.captureRightClick&&(this.captureRightClick=d.captureRightClick),this.defaultAxisStart=b&&null!=b.defaultAxisStart?b.defaultAxisStart:this.defaultAxisStart,this.colorGenerator.setColors(this.seriesColors),this.negativeColorGenerator.setColors(this.negativeSeriesColors),a.extend(!0,this._gridPadding,d.gridPadding),this.sortData=null!=d.sortData?d.sortData:this.sortData;for(var c=0;12>c;c++){var i=G[c],j=this.axes[i];j._options=a.extend(!0,{},d.axesDefaults,d.axes[i]),a.extend(!0,j,d.axesDefaults,d.axes[i]),j._plotWidth=this._width,j._plotHeight=this._height}var k=function(b,c,d){var e,f,g=[];if(c=c||"vertical",a.isArray(b[0]))a.extend(!0,g,b);else for(e=0,f=b.length;f>e;e++)"vertical"==c?g.push([d+e,b[e]]):g.push([b[e],d+e]);return g};this.series=[];for(var c=0;c<this.data.length;c++){for(var l=a.extend(!0,{index:c},{seriesColors:this.seriesColors,negativeSeriesColors:this.negativeSeriesColors},this.options.seriesDefaults,this.options.series[c],{rendererOptions:{animation:{show:this.animate}}}),g=new e(l),m=0;m<a.jqplot.preParseSeriesOptionsHooks.length;m++)a.jqplot.preParseSeriesOptionsHooks[m].call(g,this.options.seriesDefaults,this.options.series[c]);for(var m=0;m<this.preParseSeriesOptionsHooks.hooks.length;m++)this.preParseSeriesOptionsHooks.hooks[m].call(g,this.options.seriesDefaults,this.options.series[c]);a.extend(!0,g,l);var n="vertical";switch(g.renderer===a.jqplot.BarRenderer&&g.rendererOptions&&"horizontal"==g.rendererOptions.barDirection&&(n="horizontal",g._stackAxis="x",g._primaryAxis="_yaxis"),g.data=k(this.data[c],n,this.defaultAxisStart),g.xaxis){case"xaxis":g._xaxis=this.axes.xaxis;break;case"x2axis":g._xaxis=this.axes.x2axis}g._yaxis=this.axes[g.yaxis],g._xaxis._series.push(g),g._yaxis._series.push(g),g.show?(g._xaxis.show=!0,g._yaxis.show=!0):(g._xaxis.scaleToHiddenSeries&&(g._xaxis.show=!0),g._yaxis.scaleToHiddenSeries&&(g._yaxis.show=!0)),g.label||(g.label="Series "+(c+1).toString()),this.series.push(g);for(var m=0;m<a.jqplot.postParseSeriesOptionsHooks.length;m++)a.jqplot.postParseSeriesOptionsHooks[m].call(this.series[c],this.options.seriesDefaults,this.options.series[c]);for(var m=0;m<this.postParseSeriesOptionsHooks.hooks.length;m++)this.postParseSeriesOptionsHooks.hooks[m].call(this.series[c],this.options.seriesDefaults,this.options.series[c])}a.extend(!0,this.grid,this.options.grid);for(var c=0,h=G.length;h>c;c++){var i=G[c],j=this.axes[i];null==j.borderWidth&&(j.borderWidth=this.grid.borderWidth)}"string"==typeof this.options.title?this.title.text=this.options.title:"object"==typeof this.options.title&&a.extend(!0,this.title,this.options.title),this.title._plotWidth=this._width,this.legend.setOptions(this.options.legend);for(var c=0;c<a.jqplot.postParseOptionsHooks.length;c++)a.jqplot.postParseOptionsHooks[c].call(this,b);for(var c=0;c<this.postParseOptionsHooks.hooks.length;c++)this.postParseOptionsHooks.hooks[c].call(this,b)},this.destroy=function(){this.canvasManager.freeAllCanvases(),this.eventCanvas&&this.eventCanvas._elem&&this.eventCanvas._elem.unbind(),this.target.empty(),this.target[0].innerHTML=""},this.replot=function(b){var c=b||{},d=c.data||null,e=c.clear===!1?!1:!0,f=c.resetAxes||!1;delete c.data,delete c.clear,delete c.resetAxes,this.target.trigger("jqplotPreReplot"),e&&this.destroy(),d||!a.isEmptyObject(c)?this.reInitialize(d,c):this.quickInit(),f&&this.resetAxesScale(f,c.axes),this.draw(),this.target.trigger("jqplotPostReplot")},this.redraw=function(a){a=null!=a?a:!0,this.target.trigger("jqplotPreRedraw"),a&&(this.canvasManager.freeAllCanvases(),this.eventCanvas._elem.unbind(),this.target.empty());for(var b in this.axes)this.axes[b]._ticks=[];this.computePlotData(),this._sumy=0,this._sumx=0;for(var c=0,d=this.series.length;d>c;c++)this._sumy+=this.series[c]._sumy,this._sumx+=this.series[c]._sumx;this.draw(),this.target.trigger("jqplotPostRedraw")},this.draw=function(){if(this.drawIfHidden||this.target.is(":visible")){this.target.trigger("jqplotPreDraw");var b,c,d;for(b=0,d=a.jqplot.preDrawHooks.length;d>b;b++)a.jqplot.preDrawHooks[b].call(this);for(b=0,d=this.preDrawHooks.hooks.length;d>b;b++)this.preDrawHooks.hooks[b].apply(this,this.preDrawSeriesHooks.args[b]);this.target.append(this.baseCanvas.createElement({left:0,right:0,top:0,bottom:0},"jqplot-base-canvas",null,this)),this.baseCanvas.setContext(),this.target.append(this.title.draw()),this.title.pack({top:0,left:0});var e=this.legend.draw({},this),f={top:0,left:0,bottom:0,right:0};if("outsideGrid"==this.legend.placement){switch(this.target.append(e),this.legend.location){case"n":f.top+=this.legend.getHeight();break;case"s":f.bottom+=this.legend.getHeight();break;case"ne":case"e":case"se":f.right+=this.legend.getWidth();break;case"nw":case"w":case"sw":f.left+=this.legend.getWidth();break;default:f.right+=this.legend.getWidth()}e=e.detach()}var g,h=this.axes;for(b=0;12>b;b++)g=G[b],this.target.append(h[g].draw(this.baseCanvas._ctx,this)),h[g].set();h.yaxis.show&&(f.left+=h.yaxis.getWidth());var i,j=["y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis"],k=[0,0,0,0,0,0,0,0],l=0;for(i=0;8>i;i++)h[j[i]].show&&(l+=h[j[i]].getWidth(),k[i]=l);if(f.right+=l,h.x2axis.show&&(f.top+=h.x2axis.getHeight()),this.title.show&&(f.top+=this.title.getHeight()),h.xaxis.show&&(f.bottom+=h.xaxis.getHeight()),this.options.gridDimensions&&a.isPlainObject(this.options.gridDimensions)){var m=parseInt(this.options.gridDimensions.width,10)||0,n=parseInt(this.options.gridDimensions.height,10)||0,o=(this._width-f.left-f.right-m)/2,p=(this._height-f.top-f.bottom-n)/2;p>=0&&o>=0&&(f.top+=p,f.bottom+=p,f.left+=o,f.right+=o)}var q=["top","bottom","left","right"];for(var i in q)null==this._gridPadding[q[i]]&&f[q[i]]>0?this._gridPadding[q[i]]=f[q[i]]:null==this._gridPadding[q[i]]&&(this._gridPadding[q[i]]=this._defaultGridPadding[q[i]]);var r=this._gridPadding;for("outsideGrid"===this.legend.placement&&(r={top:this.title.getHeight(),left:0,right:0,bottom:0},"s"===this.legend.location&&(r.left=this._gridPadding.left,r.right=this._gridPadding.right)),h.xaxis.pack({position:"absolute",bottom:this._gridPadding.bottom-h.xaxis.getHeight(),left:0,width:this._width},{min:this._gridPadding.left,max:this._width-this._gridPadding.right}),h.yaxis.pack({position:"absolute",top:0,left:this._gridPadding.left-h.yaxis.getWidth(),height:this._height},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top}),h.x2axis.pack({position:"absolute",top:this._gridPadding.top-h.x2axis.getHeight(),left:0,width:this._width},{min:this._gridPadding.left,max:this._width-this._gridPadding.right}),b=8;b>0;b--)h[j[b-1]].pack({position:"absolute",top:0,right:this._gridPadding.right-k[b-1]},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top});var s=(this._width-this._gridPadding.left-this._gridPadding.right)/2+this._gridPadding.left-h.yMidAxis.getWidth()/2;h.yMidAxis.pack({position:"absolute",top:0,left:s,zIndex:9,textAlign:"center"},{min:this._height-this._gridPadding.bottom,
|
5 |
-
max:this._gridPadding.top}),this.target.append(this.grid.createElement(this._gridPadding,this)),this.grid.draw();var t=this.series,u=t.length;for(b=0,d=u;d>b;b++)c=this.seriesStack[b],this.target.append(t[c].shadowCanvas.createElement(this._gridPadding,"jqplot-series-shadowCanvas",null,this)),t[c].shadowCanvas.setContext(),t[c].shadowCanvas._elem.data("seriesIndex",c);for(b=0,d=u;d>b;b++)c=this.seriesStack[b],this.target.append(t[c].canvas.createElement(this._gridPadding,"jqplot-series-canvas",null,this)),t[c].canvas.setContext(),t[c].canvas._elem.data("seriesIndex",c);this.target.append(this.eventCanvas.createElement(this._gridPadding,"jqplot-event-canvas",null,this)),this.eventCanvas.setContext(),this.eventCanvas._ctx.fillStyle="rgba(0,0,0,0)",this.eventCanvas._ctx.fillRect(0,0,this.eventCanvas._ctx.canvas.width,this.eventCanvas._ctx.canvas.height),this.bindCustomEvents(),this.legend.preDraw?(this.eventCanvas._elem.before(e),this.legend.pack(r),this.legend._elem?this.drawSeries({legendInfo:{location:this.legend.location,placement:this.legend.placement,width:this.legend.getWidth(),height:this.legend.getHeight(),xoffset:this.legend.xoffset,yoffset:this.legend.yoffset}}):this.drawSeries()):(this.drawSeries(),u&&a(t[u-1].canvas._elem).after(e),this.legend.pack(r));for(var b=0,d=a.jqplot.eventListenerHooks.length;d>b;b++)this.eventCanvas._elem.bind(a.jqplot.eventListenerHooks[b][0],{plot:this},a.jqplot.eventListenerHooks[b][1]);for(var b=0,d=this.eventListenerHooks.hooks.length;d>b;b++)this.eventCanvas._elem.bind(this.eventListenerHooks.hooks[b][0],{plot:this},this.eventListenerHooks.hooks[b][1]);var v=this.fillBetween;if("number"==typeof v.series1)v.fill&&v.series1!==v.series2&&v.series1<u&&v.series2<u&&"line"===t[v.series1]._type&&"line"===t[v.series2]._type&&this.doFillBetweenLines();else if(null!=v.series1&&null!=v.series2){var w=!1;if(v.series1.length===v.series2.length)for(var x=0,y=0,z=0;z<v.series1.length;z++){if(x=v.series1[z],y=v.series2[z],!(x!==y&&u>x&&u>y&&"line"===t[x]._type&&"line"===t[y]._type)){w=!1;break}w=!0}v.fill&&w&&this.doFillBetweenLines()}for(var b=0,d=a.jqplot.postDrawHooks.length;d>b;b++)a.jqplot.postDrawHooks[b].call(this);for(var b=0,d=this.postDrawHooks.hooks.length;d>b;b++)this.postDrawHooks.hooks[b].apply(this,this.postDrawHooks.args[b]);this.target.is(":visible")&&(this._drawCount+=1);var A,B,C,D;for(b=0,d=u;d>b;b++)A=t[b],B=A.renderer,C=".jqplot-point-label.jqplot-series-"+b,B.animation&&B.animation._supported&&B.animation.show&&(this._drawCount<2||this.animateReplot)&&(D=this.target.find(C),D.stop(!0,!0).hide(),A.canvas._elem.stop(!0,!0).hide(),A.shadowCanvas._elem.stop(!0,!0).hide(),A.canvas._elem.jqplotEffect("blind",{mode:"show",direction:B.animation.direction},B.animation.speed),A.shadowCanvas._elem.jqplotEffect("blind",{mode:"show",direction:B.animation.direction},B.animation.speed),D.fadeIn(.8*B.animation.speed));D=null,this.target.trigger("jqplotPostDraw",[this])}},g.prototype.doFillBetweenLines=function(){function a(a,e){var f=c[a],g=c[e];if(g.renderer.smooth)var h=g.renderer._smoothedData.slice(0).reverse();else var h=g.gridData.slice(0).reverse();if(f.renderer.smooth)var i=f.renderer._smoothedData.concat(h);else var i=f.gridData.concat(h);var j=null!==b.color?b.color:c[d].fillColor,k=null!==b.baseSeries?b.baseSeries:a,l=c[k].renderer.shapeRenderer,m={fillStyle:j,fill:!0,closePath:!0};l.draw(f.shadowCanvas._ctx,i,m)}var b=this.fillBetween,c=this.series,d=b.series1,e=b.series2,f=0,g=0;if("number"==typeof d&&"number"==typeof e)f=e>d?d:e,g=e>d?e:d,a(f,g);else for(var h=0;h<d.length;h++)f=d[h]<e[h]?d[h]:e[h],g=e[h]>d[h]?e[h]:d[h],a(f,g)},this.bindCustomEvents=function(){this.eventCanvas._elem.bind("click",{plot:this},this.onClick),this.eventCanvas._elem.bind("dblclick",{plot:this},this.onDblClick),this.eventCanvas._elem.bind("mousedown",{plot:this},this.onMouseDown),this.eventCanvas._elem.bind("mousemove",{plot:this},this.onMouseMove),this.eventCanvas._elem.bind("mouseenter",{plot:this},this.onMouseEnter),this.eventCanvas._elem.bind("mouseleave",{plot:this},this.onMouseLeave),this.captureRightClick?(this.eventCanvas._elem.bind("mouseup",{plot:this},this.onRightClick),this.eventCanvas._elem.get(0).oncontextmenu=function(){return!1}):this.eventCanvas._elem.bind("mouseup",{plot:this},this.onMouseUp)},this.onClick=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotClick");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onDblClick=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotDblClick");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onMouseDown=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotMouseDown");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onMouseUp=function(b){var c=i(b),d=a.Event("jqplotMouseUp");d.pageX=b.pageX,d.pageY=b.pageY,a(this).trigger(d,[c.gridPos,c.dataPos,null,b.data.plot])},this.onRightClick=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d);if(d.captureRightClick)if(3==b.which){var f=a.Event("jqplotRightClick");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])}else{var f=a.Event("jqplotMouseUp");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])}},this.onMouseMove=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotMouseMove");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onMouseEnter=function(b){var c=i(b),d=b.data.plot,e=a.Event("jqplotMouseEnter");e.pageX=b.pageX,e.pageY=b.pageY,e.relatedTarget=b.relatedTarget,a(this).trigger(e,[c.gridPos,c.dataPos,null,d])},this.onMouseLeave=function(b){var c=i(b),d=b.data.plot,e=a.Event("jqplotMouseLeave");e.pageX=b.pageX,e.pageY=b.pageY,e.relatedTarget=b.relatedTarget,a(this).trigger(e,[c.gridPos,c.dataPos,null,d])},this.drawSeries=function(b,c){var d,e,f;if(c="number"==typeof b&&null==c?b:c,b="object"==typeof b?b:{},c!=F)e=this.series[c],f=e.shadowCanvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.drawShadow(f,b,this),f=e.canvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.draw(f,b,this),e.renderer.constructor==a.jqplot.BezierCurveRenderer&&c<this.series.length-1&&this.drawSeries(c+1);else for(d=0;d<this.series.length;d++)e=this.series[d],f=e.shadowCanvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.drawShadow(f,b,this),f=e.canvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.draw(f,b,this);b=c=d=e=f=null},this.moveSeriesToFront=function(b){b=parseInt(b,10);var c=a.inArray(b,this.seriesStack);if(-1!=c){if(c==this.seriesStack.length-1)return void(this.previousSeriesStack=this.seriesStack.slice(0));var d=this.seriesStack[this.seriesStack.length-1],e=this.series[b].canvas._elem.detach(),f=this.series[b].shadowCanvas._elem.detach();this.series[d].shadowCanvas._elem.after(f),this.series[d].canvas._elem.after(e),this.previousSeriesStack=this.seriesStack.slice(0),this.seriesStack.splice(c,1),this.seriesStack.push(b)}},this.moveSeriesToBack=function(b){b=parseInt(b,10);var c=a.inArray(b,this.seriesStack);if(0!=c&&-1!=c){var d=this.seriesStack[0],e=this.series[b].canvas._elem.detach(),f=this.series[b].shadowCanvas._elem.detach();this.series[d].shadowCanvas._elem.before(f),this.series[d].canvas._elem.before(e),this.previousSeriesStack=this.seriesStack.slice(0),this.seriesStack.splice(c,1),this.seriesStack.unshift(b)}},this.restorePreviousSeriesOrder=function(){var a,b,c,d,e,f;if(this.seriesStack!=this.previousSeriesStack){for(a=1;a<this.previousSeriesStack.length;a++)e=this.previousSeriesStack[a],f=this.previousSeriesStack[a-1],b=this.series[e].canvas._elem.detach(),c=this.series[e].shadowCanvas._elem.detach(),this.series[f].shadowCanvas._elem.after(c),this.series[f].canvas._elem.after(b);d=this.seriesStack.slice(0),this.seriesStack=this.previousSeriesStack.slice(0),this.previousSeriesStack=d}},this.restoreOriginalSeriesOrder=function(){var a,b,c,d=[];for(a=0;a<this.series.length;a++)d.push(a);if(this.seriesStack!=d)for(this.previousSeriesStack=this.seriesStack.slice(0),this.seriesStack=d,a=1;a<this.seriesStack.length;a++)b=this.series[a].canvas._elem.detach(),c=this.series[a].shadowCanvas._elem.detach(),this.series[a-1].shadowCanvas._elem.after(c),this.series[a-1].canvas._elem.after(b)},this.activateTheme=function(a){this.themeEngine.activate(this,a)}}function h(a,b){return(3.4182054+b)*Math.pow(a,-.3534992)}function i(a){var b=(Math.exp(2*a)-1)/(Math.exp(2*a)+1);return b}function j(a){function b(a,b){return a-b==0?Math.pow(10,10):a-b}var c=this.renderer.smooth,d=this.canvas.getWidth(),e=this._xaxis.series_p2u,f=this._yaxis.series_p2u,g=null,i=a.length/d,j=[],k=[];g=isNaN(parseFloat(c))?h(i,.5):parseFloat(c);for(var l=[],m=[],n=0,o=a.length;o>n;n++)l.push(a[n][1]),m.push(a[n][0]);for(var p,q,r,s,t=a.length-1,u=1,v=a.length;v>u;u++){for(var w=[],x=[],y=0;2>y;y++){var n=u-1+y;0==n||n==t?w[y]=Math.pow(10,10):l[n+1]-l[n]==0||l[n]-l[n-1]==0?w[y]=0:(m[n+1]-m[n])/(l[n+1]-l[n])+(m[n]-m[n-1])/(l[n]-l[n-1])==0?w[y]=0:(l[n+1]-l[n])*(l[n]-l[n-1])<0?w[y]=0:w[y]=2/(b(m[n+1],m[n])/(l[n+1]-l[n])+b(m[n],m[n-1])/(l[n]-l[n-1]))}1==u?w[0]=1.5*(l[1]-l[0])/b(m[1],m[0])-w[1]/2:u==t&&(w[1]=1.5*(l[t]-l[t-1])/b(m[t],m[t-1])-w[0]/2),x[0]=-2*(w[1]+2*w[0])/b(m[u],m[u-1])+6*(l[u]-l[u-1])/Math.pow(b(m[u],m[u-1]),2),x[1]=2*(2*w[1]+w[0])/b(m[u],m[u-1])-6*(l[u]-l[u-1])/Math.pow(b(m[u],m[u-1]),2),s=1/6*(x[1]-x[0])/b(m[u],m[u-1]),r=.5*(m[u]*x[0]-m[u-1]*x[1])/b(m[u],m[u-1]),q=(l[u]-l[u-1]-r*(Math.pow(m[u],2)-Math.pow(m[u-1],2))-s*(Math.pow(m[u],3)-Math.pow(m[u-1],3)))/b(m[u],m[u-1]),p=l[u-1]-q*m[u-1]-r*Math.pow(m[u-1],2)-s*Math.pow(m[u-1],3);for(var z,A,B=(m[u]-m[u-1])/g,y=0,o=g;o>y;y++)z=[],A=m[u-1]+y*B,z.push(A),z.push(p+q*A+r*Math.pow(A,2)+s*Math.pow(A,3)),j.push(z),k.push([e(z[0]),f(z[1])])}return j.push(a[n]),k.push([e(a[n][0]),f(a[n][1])]),[j,k]}function k(a){var b,c,d,e,f,g,j,k,l,m,n,o,p,q,r,s,t,u,v=this.renderer.smooth,w=this.renderer.tension,x=this.canvas.getWidth(),y=this._xaxis.series_p2u,z=this._yaxis.series_p2u,A=null,B=null,C=null,D=null,E=null,F=null,G=null,H=a.length/x,I=[],J=[];A=isNaN(parseFloat(v))?h(H,.5):parseFloat(v),isNaN(parseFloat(w))||(w=parseFloat(w));for(var K=0,L=a.length-1;L>K;K++)for(null===w?(E=Math.abs((a[K+1][1]-a[K][1])/(a[K+1][0]-a[K][0])),q=.3,r=.6,s=(r-q)/2,t=2.5,u=-1.4,G=E/t+u,C=s*i(G)-s*i(u)+q,K>0&&(F=Math.abs((a[K][1]-a[K-1][1])/(a[K][0]-a[K-1][0]))),G=F/t+u,D=s*i(G)-s*i(u)+q,B=(C+D)/2):B=w,b=0;A>b;b++)c=b/A,d=(1+2*c)*Math.pow(1-c,2),e=c*Math.pow(1-c,2),f=Math.pow(c,2)*(3-2*c),g=Math.pow(c,2)*(c-1),a[K-1]?(j=B*(a[K+1][0]-a[K-1][0]),k=B*(a[K+1][1]-a[K-1][1])):(j=B*(a[K+1][0]-a[K][0]),k=B*(a[K+1][1]-a[K][1])),a[K+2]?(l=B*(a[K+2][0]-a[K][0]),m=B*(a[K+2][1]-a[K][1])):(l=B*(a[K+1][0]-a[K][0]),m=B*(a[K+1][1]-a[K][1])),n=d*a[K][0]+f*a[K+1][0]+e*j+g*l,o=d*a[K][1]+f*a[K+1][1]+e*k+g*m,p=[n,o],I.push(p),J.push([y(n),z(o)]);return I.push(a[L]),J.push([y(a[L][0]),z(a[L][1])]),[I,J]}function l(b,c,d){for(var e=0;e<this.series.length;e++)this.series[e].renderer.constructor==a.jqplot.LineRenderer&&this.series[e].highlightMouseOver&&(this.series[e].highlightMouseDown=!1)}function m(){this.plugins.lineRenderer&&this.plugins.lineRenderer.highlightCanvas&&(this.plugins.lineRenderer.highlightCanvas.resetCanvas(),this.plugins.lineRenderer.highlightCanvas=null),this.plugins.lineRenderer.highlightedSeriesIndex=null,this.plugins.lineRenderer.highlightCanvas=new a.jqplot.GenericCanvas,this.eventCanvas._elem.before(this.plugins.lineRenderer.highlightCanvas.createElement(this._gridPadding,"jqplot-lineRenderer-highlight-canvas",this._plotDimensions,this)),this.plugins.lineRenderer.highlightCanvas.setContext(),this.eventCanvas._elem.bind("mouseleave",{plot:this},function(a){o(a.data.plot)})}function n(a,b,c,d){var e=a.series[b],f=a.plugins.lineRenderer.highlightCanvas;f._ctx.clearRect(0,0,f._ctx.canvas.width,f._ctx.canvas.height),e._highlightedPoint=c,a.plugins.lineRenderer.highlightedSeriesIndex=b;var g={fillStyle:e.highlightColor};"line"===e.type&&e.renderer.bands.show&&(g.fill=!0,g.closePath=!0),e.renderer.shapeRenderer.draw(f._ctx,d,g),f=null}function o(a){var b=a.plugins.lineRenderer.highlightCanvas;b._ctx.clearRect(0,0,b._ctx.canvas.width,b._ctx.canvas.height);for(var c=0;c<a.series.length;c++)a.series[c]._highlightedPoint=null;a.plugins.lineRenderer.highlightedSeriesIndex=null,a.target.trigger("jqplotDataUnhighlight"),b=null}function p(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=jQuery.Event("jqplotDataMouseOver");if(g.pageX=a.pageX,g.pageY=a.pageY,e.target.trigger(g,f),e.series[f[0]].highlightMouseOver&&f[0]!=e.plugins.lineRenderer.highlightedSeriesIndex){var h=jQuery.Event("jqplotDataHighlight");h.which=a.which,h.pageX=a.pageX,h.pageY=a.pageY,e.target.trigger(h,f),n(e,d.seriesIndex,d.pointIndex,d.points)}}else null==d&&o(e)}function q(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data];if(e.series[f[0]].highlightMouseDown&&f[0]!=e.plugins.lineRenderer.highlightedSeriesIndex){var g=jQuery.Event("jqplotDataHighlight");g.which=a.which,g.pageX=a.pageX,g.pageY=a.pageY,e.target.trigger(g,f),n(e,d.seriesIndex,d.pointIndex,d.points)}}else null==d&&o(e)}function r(a,b,c,d,e){var f=e.plugins.lineRenderer.highlightedSeriesIndex;null!=f&&e.series[f].highlightMouseDown&&o(e)}function s(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=jQuery.Event("jqplotDataClick");g.which=a.which,g.pageX=a.pageX,g.pageY=a.pageY,e.target.trigger(g,f)}}function t(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=e.plugins.lineRenderer.highlightedSeriesIndex;null!=g&&e.series[g].highlightMouseDown&&o(e);var h=jQuery.Event("jqplotDataRightClick");h.which=a.which,h.pageX=a.pageX,h.pageY=a.pageY,e.target.trigger(h,f)}}function u(a){var b;if(a=Math.abs(a),a>=10)b="%d";else if(a>1)b=a===parseInt(a,10)?"%d":"%.1f";else{var c=-Math.floor(Math.log(a)/Math.LN10);b="%."+c+"f"}return b}function v(b,c,d){for(var e,f,g,h,i,j,k,l=Math.floor(d/2),m=Math.ceil(1.5*d),n=Number.MAX_VALUE,o=c-b,p=a.jqplot.getSignificantFigures,q=0,r=m-l+1;r>q;q++)j=l+q,e=o/(j-1),f=p(e),e=Math.abs(d-j)+f.digitsRight,n>e?(n=e,g=j,k=f.digitsRight):e===n&&f.digitsRight<k&&(g=j,k=f.digitsRight);return h=Math.max(k,Math.max(p(b).digitsRight,p(c).digitsRight)),i=0===h?"%d":"%."+h+"f",e=o/(g-1),[b,c,g,i,e]}function w(a,b){b=b||7;var c,d=a/(b-1),e=Math.pow(10,Math.floor(Math.log(d)/Math.LN10)),f=d/e;return c=1>e?f>5?10*e:f>2?5*e:f>1?2*e:e:f>5?10*e:f>4?5*e:f>3?4*e:f>2?3*e:f>1?2*e:e}function x(a,b){b=b||1;var c,d=Math.floor(Math.log(a)/Math.LN10),e=Math.pow(10,d),f=a/e;return f/=b,c=.38>=f?.1:1.6>=f?.2:4>=f?.5:8>=f?1:16>=f?2:5,c*e}function y(a,b){var c,d,e=Math.floor(Math.log(a)/Math.LN10),f=Math.pow(10,e),g=a/f;return g/=b,d=.38>=g?.1:1.6>=g?.2:4>=g?.5:8>=g?1:16>=g?2:5,c=d*f,[c,d,f]}function z(a,b){return a-b}function A(a){if(null==a||"object"!=typeof a)return a;var b=new a.constructor;for(var c in a)b[c]=A(a[c]);return b}function B(a,b){if(null!=b&&"object"==typeof b)for(var c in b)"highlightColors"==c&&(a[c]=A(b[c])),null!=b[c]&&"object"==typeof b[c]?(a.hasOwnProperty(c)||(a[c]={}),B(a[c],b[c])):a[c]=b[c]}function C(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;d>c;c++)if(b[c]===a)return c;return-1}function D(a){return null===a?"[object Null]":Object.prototype.toString.call(a)}function E(b,c,d,e){return a.isPlainObject(b)?b:(b={effect:b},c===F&&(c={}),a.isFunction(c)&&(e=c,d=null,c={}),("number"===a.type(c)||a.fx.speeds[c])&&(e=d,d=c,c={}),a.isFunction(d)&&(e=d,d=null),c&&a.extend(b,c),d=d||c.duration,b.duration=a.fx.off?0:"number"==typeof d?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,b.complete=e||c.complete,b)}var F;a.fn.emptyForce=function(){for(var b,c=0;null!=(b=a(this)[c]);c++){if(1===b.nodeType&&a.cleanData(b.getElementsByTagName("*")),a.jqplot.use_excanvas)b.outerHTML="";else for(;b.firstChild;)b.removeChild(b.firstChild);b=null}return a(this)},a.fn.removeChildForce=function(a){for(;a.firstChild;)this.removeChildForce(a.firstChild),a.removeChild(a.firstChild)},a.fn.jqplot=function(){for(var b=[],c=[],d=0,e=arguments.length;e>d;d++)a.isArray(arguments[d])?b.push(arguments[d]):a.isPlainObject(arguments[d])&&c.push(arguments[d]);return this.each(function(d){var e,f,g,h,i=a(this),j=b.length,k=c.length;g=j>d?b[d]:j?b[j-1]:null,h=k>d?c[d]:k?c[k-1]:null,e=i.attr("id"),e===F&&(e="jqplot_target_"+a.jqplot.targetCounter++,i.attr("id",e)),f=a.jqplot(e,g,h),i.data("jqplot",f)})},a.jqplot=function(b,c,d){var e=null,f=null;3===arguments.length?(e=c,f=d):2===arguments.length&&(a.isArray(c)?e=c:a.isPlainObject(c)&&(f=c)),null===e&&null!==f&&f.data&&(e=f.data);var h=new g;if(a("#"+b).removeClass("jqplot-error"),!a.jqplot.config.catchErrors)return h.init(b,e,f),h.draw(),h.themeEngine.init.call(h),h;try{return h.init(b,e,f),h.draw(),h.themeEngine.init.call(h),h}catch(i){var j=a.jqplot.config.errorMessage||i.message;a("#"+b).append('<div class="jqplot-error-message">'+j+"</div>"),a("#"+b).addClass("jqplot-error"),document.getElementById(b).style.background=a.jqplot.config.errorBackground,document.getElementById(b).style.border=a.jqplot.config.errorBorder,document.getElementById(b).style.fontFamily=a.jqplot.config.errorFontFamily,document.getElementById(b).style.fontSize=a.jqplot.config.errorFontSize,document.getElementById(b).style.fontStyle=a.jqplot.config.errorFontStyle,document.getElementById(b).style.fontWeight=a.jqplot.config.errorFontWeight}},a.jqplot.version="1.0.9",a.jqplot.revision="d96a669",a.jqplot.targetCounter=1,a.jqplot.CanvasManager=function(){"undefined"==typeof a.jqplot.CanvasManager.canvases&&(a.jqplot.CanvasManager.canvases=[],a.jqplot.CanvasManager.free=[]);var b=[];this.getCanvas=function(){var c,d=!0;if(!a.jqplot.use_excanvas)for(var e=0,f=a.jqplot.CanvasManager.canvases.length;f>e;e++)if(a.jqplot.CanvasManager.free[e]===!0){d=!1,c=a.jqplot.CanvasManager.canvases[e],a.jqplot.CanvasManager.free[e]=!1,b.push(e);break}return d&&(c=document.createElement("canvas"),b.push(a.jqplot.CanvasManager.canvases.length),a.jqplot.CanvasManager.canvases.push(c),a.jqplot.CanvasManager.free.push(!1)),c},this.initCanvas=function(b){if(a.jqplot.use_excanvas)return window.G_vmlCanvasManager.initElement(b);var c=b.getContext("2d"),d=1;window.devicePixelRatio>1&&(c.webkitBackingStorePixelRatio===F||c.webkitBackingStorePixelRatio<2)&&(d=window.devicePixelRatio);var e=b.width,f=b.height;return b.width=d*b.width,b.height=d*b.height,b.style.width=e+"px",b.style.height=f+"px",c.save(),c.scale(d,d),b},this.freeAllCanvases=function(){for(var a=0,c=b.length;c>a;a++)this.freeCanvas(b[a]);b=[]},this.freeCanvas=function(b){if(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==F)window.G_vmlCanvasManager.uninitElement(a.jqplot.CanvasManager.canvases[b]),a.jqplot.CanvasManager.canvases[b]=null;else{var c=a.jqplot.CanvasManager.canvases[b];c.getContext("2d").clearRect(0,0,c.width,c.height),a(c).unbind().removeAttr("class").removeAttr("style"),a(c).css({left:"",top:"",position:""}),c.width=0,c.height=0,a.jqplot.CanvasManager.free[b]=!0}}},a.jqplot.log=function(){window.console&&window.console.log.apply(window.console,arguments)},a.jqplot.config={addDomReference:!1,enablePlugins:!1,defaultHeight:300,defaultWidth:400,UTCAdjust:!1,timezoneOffset:new Date(6e4*(new Date).getTimezoneOffset()),errorMessage:"",errorBackground:"",errorBorder:"",errorFontFamily:"",errorFontSize:"",errorFontStyle:"",errorFontWeight:"",catchErrors:!1,defaultTickFormatString:"%.1f",defaultColors:["#4bb2c5","#EAA228","#c5b47f","#579575","#839557","#958c12","#953579","#4b5de4","#d8b83f","#ff5800","#0085cc","#c747a3","#cddf54","#FBD178","#26B4E3","#bd70c7"],defaultNegativeColors:["#498991","#C08840","#9F9274","#546D61","#646C4A","#6F6621","#6E3F5F","#4F64B0","#A89050","#C45923","#187399","#945381","#959E5C","#C7AF7B","#478396","#907294"],dashLength:4,gapLength:4,dotGapLength:2.5,srcLocation:"jqplot/src/",pluginLocation:"jqplot/src/plugins/"},a.jqplot.arrayMax=function(a){return Math.max.apply(Math,a)},a.jqplot.arrayMin=function(a){return Math.min.apply(Math,a)},a.jqplot.enablePlugins=a.jqplot.config.enablePlugins,a.jqplot.support_canvas=function(){return"undefined"==typeof a.jqplot.support_canvas.result&&(a.jqplot.support_canvas.result=!!document.createElement("canvas").getContext),a.jqplot.support_canvas.result},a.jqplot.support_canvas_text=function(){return"undefined"==typeof a.jqplot.support_canvas_text.result&&(window.G_vmlCanvasManager!==F&&window.G_vmlCanvasManager._version>887?a.jqplot.support_canvas_text.result=!0:a.jqplot.support_canvas_text.result=!(!document.createElement("canvas").getContext||"function"!=typeof document.createElement("canvas").getContext("2d").fillText)),a.jqplot.support_canvas_text.result},a.jqplot.use_excanvas=a.support.boxModel&&a.support.objectAll&&$support.leadingWhitespace||a.jqplot.support_canvas()?!1:!0,a.jqplot.preInitHooks=[],a.jqplot.postInitHooks=[],a.jqplot.preParseOptionsHooks=[],a.jqplot.postParseOptionsHooks=[],a.jqplot.preDrawHooks=[],a.jqplot.postDrawHooks=[],a.jqplot.preDrawSeriesHooks=[],a.jqplot.postDrawSeriesHooks=[],a.jqplot.preDrawLegendHooks=[],a.jqplot.addLegendRowHooks=[],a.jqplot.preSeriesInitHooks=[],a.jqplot.postSeriesInitHooks=[],a.jqplot.preParseSeriesOptionsHooks=[],a.jqplot.postParseSeriesOptionsHooks=[],a.jqplot.eventListenerHooks=[],a.jqplot.preDrawSeriesShadowHooks=[],a.jqplot.postDrawSeriesShadowHooks=[],a.jqplot.ElemContainer=function(){this._elem,this._plotWidth,this._plotHeight,this._plotDimensions={height:null,width:null}},a.jqplot.ElemContainer.prototype.createElement=function(b,c,d,e,f){this._offsets=c;var g=d||"jqplot",h=document.createElement(b);return this._elem=a(h),this._elem.addClass(g),this._elem.css(e),this._elem.attr(f),h=null,this._elem},a.jqplot.ElemContainer.prototype.getWidth=function(){return this._elem?this._elem.outerWidth(!0):null},a.jqplot.ElemContainer.prototype.getHeight=function(){return this._elem?this._elem.outerHeight(!0):null},a.jqplot.ElemContainer.prototype.getPosition=function(){return this._elem?this._elem.position():{top:null,left:null,bottom:null,right:null}},a.jqplot.ElemContainer.prototype.getTop=function(){return this.getPosition().top},a.jqplot.ElemContainer.prototype.getLeft=function(){return this.getPosition().left},a.jqplot.ElemContainer.prototype.getBottom=function(){return this._elem.css("bottom")},a.jqplot.ElemContainer.prototype.getRight=function(){return this._elem.css("right")},b.prototype=new a.jqplot.ElemContainer,b.prototype.constructor=b,b.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.tickOptions.axis=this.name,null==this.tickOptions.showMark&&(this.tickOptions.showMark=this.showTicks),null==this.tickOptions.showMark&&(this.tickOptions.showMark=this.showTickMarks),null==this.tickOptions.showLabel&&(this.tickOptions.showLabel=this.showTicks),null==this.label||""==this.label?this.showLabel=!1:this.labelOptions.label=this.label,0==this.showLabel&&(this.labelOptions.show=!1),0==this.pad&&(this.pad=1),0==this.padMax&&(this.padMax=1),0==this.padMin&&(this.padMin=1),null==this.padMax&&(this.padMax=(this.pad-1)/2+1),null==this.padMin&&(this.padMin=(this.pad-1)/2+1),this.pad=this.padMax+this.padMin-1,(null!=this.min||null!=this.max)&&(this.autoscale=!1),null==this.syncTicks&&this.name.indexOf("y")>-1?this.syncTicks=!0:null==this.syncTicks&&(this.syncTicks=!1),this.renderer.init.call(this,this.rendererOptions)},b.prototype.draw=function(a,b){return this.__ticks&&(this.__ticks=null),this.renderer.draw.call(this,a,b)},b.prototype.set=function(){this.renderer.set.call(this)},b.prototype.pack=function(a,b){this.show&&this.renderer.pack.call(this,a,b),null==this._min&&(this._min=this.min,this._max=this.max,this._tickInterval=this.tickInterval,this._numberTicks=this.numberTicks,this.__ticks=this._ticks)},b.prototype.reset=function(){this.renderer.reset.call(this)},b.prototype.resetScale=function(b){a.extend(!0,this,{min:null,max:null,numberTicks:null,tickInterval:null,_ticks:[],ticks:[]},b),this.resetDataBounds()},b.prototype.resetDataBounds=function(){var b=this._dataBounds;b.min=null,b.max=null;for(var c,d,e,f=this.show?!0:!1,g=0;g<this._series.length;g++)if(d=this._series[g],d.show||this.scaleToHiddenSeries){e=d._plotData,"line"===d._type&&d.renderer.bands.show&&"x"!==this.name.charAt(0)&&(e=[[0,d.renderer.bands._min],[1,d.renderer.bands._max]]);var h=1,i=1;null!=d._type&&"ohlc"==d._type&&(h=3,i=2);for(var j=0,c=e.length;c>j;j++)"xaxis"==this.name||"x2axis"==this.name?((null!=e[j][0]&&e[j][0]<b.min||null==b.min)&&(b.min=e[j][0]),(null!=e[j][0]&&e[j][0]>b.max||null==b.max)&&(b.max=e[j][0])):((null!=e[j][h]&&e[j][h]<b.min||null==b.min)&&(b.min=e[j][h]),(null!=e[j][i]&&e[j][i]>b.max||null==b.max)&&(b.max=e[j][i]));f&&d.renderer.constructor!==a.jqplot.BarRenderer?f=!1:f&&this._options.hasOwnProperty("forceTickAt0")&&0==this._options.forceTickAt0?f=!1:f&&d.renderer.constructor===a.jqplot.BarRenderer&&("vertical"==d.barDirection&&"xaxis"!=this.name&&"x2axis"!=this.name?(null!=this._options.pad||null!=this._options.padMin)&&(f=!1):"horizontal"!=d.barDirection||"xaxis"!=this.name&&"x2axis"!=this.name||(null!=this._options.pad||null!=this._options.padMin)&&(f=!1))}f&&this.renderer.constructor===a.jqplot.LinearAxisRenderer&&b.min>=0&&(this.padMin=1,this.forceTickAt0=!0)},c.prototype=new a.jqplot.ElemContainer,c.prototype.constructor=c,c.prototype.setOptions=function(b){if(a.extend(!0,this,b),"inside"==this.placement&&(this.placement="insideGrid"),this.xoffset>0){if("insideGrid"==this.placement)switch(this.location){case"nw":case"w":case"sw":null==this.marginLeft&&(this.marginLeft=this.xoffset+"px"),this.marginRight="0px";break;case"ne":case"e":case"se":default:null==this.marginRight&&(this.marginRight=this.xoffset+"px"),this.marginLeft="0px"}else if("outside"==this.placement)switch(this.location){case"nw":case"w":case"sw":null==this.marginRight&&(this.marginRight=this.xoffset+"px"),this.marginLeft="0px";break;case"ne":case"e":case"se":default:null==this.marginLeft&&(this.marginLeft=this.xoffset+"px"),this.marginRight="0px"}this.xoffset=0}if(this.yoffset>0){if("outside"==this.placement)switch(this.location){case"sw":case"s":case"se":null==this.marginTop&&(this.marginTop=this.yoffset+"px"),this.marginBottom="0px";break;case"ne":case"n":case"nw":default:null==this.marginBottom&&(this.marginBottom=this.yoffset+"px"),this.marginTop="0px"}else if("insideGrid"==this.placement)switch(this.location){case"sw":case"s":case"se":null==this.marginBottom&&(this.marginBottom=this.yoffset+"px"),this.marginTop="0px";break;case"ne":case"n":case"nw":default:null==this.marginTop&&(this.marginTop=this.yoffset+"px"),this.marginBottom="0px"}this.yoffset=0}},c.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions)},c.prototype.draw=function(b,c){for(var d=0;d<a.jqplot.preDrawLegendHooks.length;d++)a.jqplot.preDrawLegendHooks[d].call(this,b);return this.renderer.draw.call(this,b,c)},c.prototype.pack=function(a){this.renderer.pack.call(this,a)},d.prototype=new a.jqplot.ElemContainer,d.prototype.constructor=d,d.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions)},d.prototype.draw=function(a){return this.renderer.draw.call(this,a)},d.prototype.pack=function(){this.renderer.pack.call(this)},e.prototype=new a.jqplot.ElemContainer,e.prototype.constructor=e,e.prototype.init=function(b,c,d){this.index=b,this.gridBorderWidth=c;var e,f,g=this.data,h=[];for(e=0,f=g.length;f>e;e++)if(this.breakOnNull)h.push(g[e]);else{if(null==g[e]||null==g[e][0]||null==g[e][1])continue;h.push(g[e])}if(this.data=h,this.color||(this.color=d.colorGenerator.get(this.index)),this.negativeColor||(this.negativeColor=d.negativeColorGenerator.get(this.index)),this.fillColor||(this.fillColor=this.color),this.fillAlpha){var i=a.jqplot.normalize2rgb(this.fillColor),i=a.jqplot.getColorComponents(i);this.fillColor="rgba("+i[0]+","+i[1]+","+i[2]+","+this.fillAlpha+")"}a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions,d),this.markerRenderer=new this.markerRenderer,this.markerOptions.color||(this.markerOptions.color=this.color),null==this.markerOptions.show&&(this.markerOptions.show=this.showMarker),this.showMarker=this.markerOptions.show,this.markerRenderer.init(this.markerOptions)},e.prototype.draw=function(b,c,d){var e=c==F?{}:c;b=b==F?this.canvas._ctx:b;var f,g,h;for(f=0;f<a.jqplot.preDrawSeriesHooks.length;f++)a.jqplot.preDrawSeriesHooks[f].call(this,b,e);for(this.show&&(this.renderer.setGridData.call(this,d),e.preventJqPlotSeriesDrawTrigger||a(b.canvas).trigger("jqplotSeriesDraw",[this.data,this.gridData]),g=[],g=e.data?e.data:this._stack?this._plotData:this.data,h=e.gridData||this.renderer.makeGridData.call(this,g,d),"line"===this._type&&this.renderer.smooth&&this.renderer._smoothedData.length&&(h=this.renderer._smoothedData),this.renderer.draw.call(this,b,h,e,d)),f=0;f<a.jqplot.postDrawSeriesHooks.length;f++)a.jqplot.postDrawSeriesHooks[f].call(this,b,e,d);b=c=d=f=g=h=null},e.prototype.drawShadow=function(b,c,d){var e=c==F?{}:c;b=b==F?this.shadowCanvas._ctx:b;var f,g,h;for(f=0;f<a.jqplot.preDrawSeriesShadowHooks.length;f++)a.jqplot.preDrawSeriesShadowHooks[f].call(this,b,e);for(this.shadow&&(this.renderer.setGridData.call(this,d),g=[],g=e.data?e.data:this._stack?this._plotData:this.data,h=e.gridData||this.renderer.makeGridData.call(this,g,d),this.renderer.drawShadow.call(this,b,h,e,d)),f=0;f<a.jqplot.postDrawSeriesShadowHooks.length;f++)a.jqplot.postDrawSeriesShadowHooks[f].call(this,b,e);b=c=d=f=g=h=null},e.prototype.toggleDisplay=function(a,b){var c,d;c=a.data.series?a.data.series:this,a.data.speed&&(d=a.data.speed),d?c.canvas._elem.is(":hidden")||!c.show?(c.show=!0,c.canvas._elem.removeClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.fadeIn(d),c.canvas._elem.fadeIn(d,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).fadeIn(d)):(c.show=!1,c.canvas._elem.addClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.fadeOut(d),c.canvas._elem.fadeOut(d,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).fadeOut(d)):c.canvas._elem.is(":hidden")||!c.show?(c.show=!0,c.canvas._elem.removeClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.show(),c.canvas._elem.show(0,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).show()):(c.show=!1,c.canvas._elem.addClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.hide(),c.canvas._elem.hide(0,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).hide())},f.prototype=new a.jqplot.ElemContainer,f.prototype.constructor=f,f.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions)},f.prototype.createElement=function(a,b){return this._offsets=a,this.renderer.createElement.call(this,b)},f.prototype.draw=function(){this.renderer.draw.call(this)},a.jqplot.GenericCanvas=function(){a.jqplot.ElemContainer.call(this),this._ctx},a.jqplot.GenericCanvas.prototype=new a.jqplot.ElemContainer,a.jqplot.GenericCanvas.prototype.constructor=a.jqplot.GenericCanvas,a.jqplot.GenericCanvas.prototype.createElement=function(b,c,d,e){this._offsets=b;var f="jqplot";c!=F&&(f=c);var g;return g=e.canvasManager.getCanvas(),null!=d&&(this._plotDimensions=d),g.width=this._plotDimensions.width-this._offsets.left-this._offsets.right,g.height=this._plotDimensions.height-this._offsets.top-this._offsets.bottom,this._elem=a(g),this._elem.css({position:"absolute",left:this._offsets.left,top:this._offsets.top}),this._elem.addClass(f),g=e.canvasManager.initCanvas(g),g=null,this._elem},a.jqplot.GenericCanvas.prototype.setContext=function(){return this._ctx=this._elem.get(0).getContext("2d"),this._ctx;
|
6 |
-
},a.jqplot.GenericCanvas.prototype.resetCanvas=function(){this._elem&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==F&&window.G_vmlCanvasManager.uninitElement(this._elem.get(0)),this._elem.emptyForce()),this._ctx=null},a.jqplot.HooksManager=function(){this.hooks=[],this.args=[]},a.jqplot.HooksManager.prototype.addOnce=function(a,b){b=b||[];for(var c=!1,d=0,e=this.hooks.length;e>d;d++)this.hooks[d]==a&&(c=!0);c||(this.hooks.push(a),this.args.push(b))},a.jqplot.HooksManager.prototype.add=function(a,b){b=b||[],this.hooks.push(a),this.args.push(b)},a.jqplot.EventListenerManager=function(){this.hooks=[]},a.jqplot.EventListenerManager.prototype.addOnce=function(a,b){for(var c,d,e=!1,d=0,f=this.hooks.length;f>d;d++)c=this.hooks[d],c[0]==a&&c[1]==b&&(e=!0);e||this.hooks.push([a,b])},a.jqplot.EventListenerManager.prototype.add=function(a,b){this.hooks.push([a,b])};var G=["yMidAxis","xaxis","yaxis","x2axis","y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis"];a.jqplot.computeHighlightColors=function(b){var c;if(a.isArray(b)){c=[];for(var d=0;d<b.length;d++){for(var e=a.jqplot.getColorComponents(b[d]),f=[e[0],e[1],e[2]],g=f[0]+f[1]+f[2],h=0;3>h;h++)f[h]=g>660?.85*f[h]:.73*f[h]+90,f[h]=parseInt(f[h],10),f[h]>255?255:f[h];f[3]=.3+.35*e[3],c.push("rgba("+f[0]+","+f[1]+","+f[2]+","+f[3]+")")}}else{for(var e=a.jqplot.getColorComponents(b),f=[e[0],e[1],e[2]],g=f[0]+f[1]+f[2],h=0;3>h;h++)f[h]=g>660?.85*f[h]:.73*f[h]+90,f[h]=parseInt(f[h],10),f[h]>255?255:f[h];f[3]=.3+.35*e[3],c="rgba("+f[0]+","+f[1]+","+f[2]+","+f[3]+")"}return c},a.jqplot.ColorGenerator=function(b){b=b||a.jqplot.config.defaultColors;var c=0;this.next=function(){return c<b.length?b[c++]:(c=0,b[c++])},this.previous=function(){return c>0?b[c--]:(c=b.length-1,b[c])},this.get=function(a){var c=a-b.length*Math.floor(a/b.length);return b[c]},this.setColors=function(a){b=a},this.reset=function(){c=0},this.getIndex=function(){return c},this.setIndex=function(a){c=a}},a.jqplot.hex2rgb=function(a,b){a=a.replace("#",""),3==a.length&&(a=a.charAt(0)+a.charAt(0)+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2));var c;return c="rgba("+parseInt(a.slice(0,2),16)+", "+parseInt(a.slice(2,4),16)+", "+parseInt(a.slice(4,6),16),b&&(c+=", "+b),c+=")"},a.jqplot.rgb2hex=function(a){for(var b=/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *(?:, *[0-9.]*)?\)/,c=a.match(b),d="#",e=1;4>e;e++){var f;-1!=c[e].search(/%/)?(f=parseInt(255*c[e]/100,10).toString(16),1==f.length&&(f="0"+f)):(f=parseInt(c[e],10).toString(16),1==f.length&&(f="0"+f)),d+=f}return d},a.jqplot.normalize2rgb=function(b,c){if(-1!=b.search(/^ *rgba?\(/))return b;if(-1!=b.search(/^ *#?[0-9a-fA-F]?[0-9a-fA-F]/))return a.jqplot.hex2rgb(b,c);throw new Error("Invalid color spec")},a.jqplot.getColorComponents=function(b){b=a.jqplot.colorKeywordMap[b]||b;for(var c=a.jqplot.normalize2rgb(b),d=/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *,? *([0-9.]* *)?\)/,e=c.match(d),f=[],g=1;4>g;g++)-1!=e[g].search(/%/)?f[g-1]=parseInt(255*e[g]/100,10):f[g-1]=parseInt(e[g],10);return f[3]=parseFloat(e[4])?parseFloat(e[4]):1,f},a.jqplot.colorKeywordMap={aliceblue:"rgb(240, 248, 255)",antiquewhite:"rgb(250, 235, 215)",aqua:"rgb( 0, 255, 255)",aquamarine:"rgb(127, 255, 212)",azure:"rgb(240, 255, 255)",beige:"rgb(245, 245, 220)",bisque:"rgb(255, 228, 196)",black:"rgb( 0, 0, 0)",blanchedalmond:"rgb(255, 235, 205)",blue:"rgb( 0, 0, 255)",blueviolet:"rgb(138, 43, 226)",brown:"rgb(165, 42, 42)",burlywood:"rgb(222, 184, 135)",cadetblue:"rgb( 95, 158, 160)",chartreuse:"rgb(127, 255, 0)",chocolate:"rgb(210, 105, 30)",coral:"rgb(255, 127, 80)",cornflowerblue:"rgb(100, 149, 237)",cornsilk:"rgb(255, 248, 220)",crimson:"rgb(220, 20, 60)",cyan:"rgb( 0, 255, 255)",darkblue:"rgb( 0, 0, 139)",darkcyan:"rgb( 0, 139, 139)",darkgoldenrod:"rgb(184, 134, 11)",darkgray:"rgb(169, 169, 169)",darkgreen:"rgb( 0, 100, 0)",darkgrey:"rgb(169, 169, 169)",darkkhaki:"rgb(189, 183, 107)",darkmagenta:"rgb(139, 0, 139)",darkolivegreen:"rgb( 85, 107, 47)",darkorange:"rgb(255, 140, 0)",darkorchid:"rgb(153, 50, 204)",darkred:"rgb(139, 0, 0)",darksalmon:"rgb(233, 150, 122)",darkseagreen:"rgb(143, 188, 143)",darkslateblue:"rgb( 72, 61, 139)",darkslategray:"rgb( 47, 79, 79)",darkslategrey:"rgb( 47, 79, 79)",darkturquoise:"rgb( 0, 206, 209)",darkviolet:"rgb(148, 0, 211)",deeppink:"rgb(255, 20, 147)",deepskyblue:"rgb( 0, 191, 255)",dimgray:"rgb(105, 105, 105)",dimgrey:"rgb(105, 105, 105)",dodgerblue:"rgb( 30, 144, 255)",firebrick:"rgb(178, 34, 34)",floralwhite:"rgb(255, 250, 240)",forestgreen:"rgb( 34, 139, 34)",fuchsia:"rgb(255, 0, 255)",gainsboro:"rgb(220, 220, 220)",ghostwhite:"rgb(248, 248, 255)",gold:"rgb(255, 215, 0)",goldenrod:"rgb(218, 165, 32)",gray:"rgb(128, 128, 128)",grey:"rgb(128, 128, 128)",green:"rgb( 0, 128, 0)",greenyellow:"rgb(173, 255, 47)",honeydew:"rgb(240, 255, 240)",hotpink:"rgb(255, 105, 180)",indianred:"rgb(205, 92, 92)",indigo:"rgb( 75, 0, 130)",ivory:"rgb(255, 255, 240)",khaki:"rgb(240, 230, 140)",lavender:"rgb(230, 230, 250)",lavenderblush:"rgb(255, 240, 245)",lawngreen:"rgb(124, 252, 0)",lemonchiffon:"rgb(255, 250, 205)",lightblue:"rgb(173, 216, 230)",lightcoral:"rgb(240, 128, 128)",lightcyan:"rgb(224, 255, 255)",lightgoldenrodyellow:"rgb(250, 250, 210)",lightgray:"rgb(211, 211, 211)",lightgreen:"rgb(144, 238, 144)",lightgrey:"rgb(211, 211, 211)",lightpink:"rgb(255, 182, 193)",lightsalmon:"rgb(255, 160, 122)",lightseagreen:"rgb( 32, 178, 170)",lightskyblue:"rgb(135, 206, 250)",lightslategray:"rgb(119, 136, 153)",lightslategrey:"rgb(119, 136, 153)",lightsteelblue:"rgb(176, 196, 222)",lightyellow:"rgb(255, 255, 224)",lime:"rgb( 0, 255, 0)",limegreen:"rgb( 50, 205, 50)",linen:"rgb(250, 240, 230)",magenta:"rgb(255, 0, 255)",maroon:"rgb(128, 0, 0)",mediumaquamarine:"rgb(102, 205, 170)",mediumblue:"rgb( 0, 0, 205)",mediumorchid:"rgb(186, 85, 211)",mediumpurple:"rgb(147, 112, 219)",mediumseagreen:"rgb( 60, 179, 113)",mediumslateblue:"rgb(123, 104, 238)",mediumspringgreen:"rgb( 0, 250, 154)",mediumturquoise:"rgb( 72, 209, 204)",mediumvioletred:"rgb(199, 21, 133)",midnightblue:"rgb( 25, 25, 112)",mintcream:"rgb(245, 255, 250)",mistyrose:"rgb(255, 228, 225)",moccasin:"rgb(255, 228, 181)",navajowhite:"rgb(255, 222, 173)",navy:"rgb( 0, 0, 128)",oldlace:"rgb(253, 245, 230)",olive:"rgb(128, 128, 0)",olivedrab:"rgb(107, 142, 35)",orange:"rgb(255, 165, 0)",orangered:"rgb(255, 69, 0)",orchid:"rgb(218, 112, 214)",palegoldenrod:"rgb(238, 232, 170)",palegreen:"rgb(152, 251, 152)",paleturquoise:"rgb(175, 238, 238)",palevioletred:"rgb(219, 112, 147)",papayawhip:"rgb(255, 239, 213)",peachpuff:"rgb(255, 218, 185)",peru:"rgb(205, 133, 63)",pink:"rgb(255, 192, 203)",plum:"rgb(221, 160, 221)",powderblue:"rgb(176, 224, 230)",purple:"rgb(128, 0, 128)",red:"rgb(255, 0, 0)",rosybrown:"rgb(188, 143, 143)",royalblue:"rgb( 65, 105, 225)",saddlebrown:"rgb(139, 69, 19)",salmon:"rgb(250, 128, 114)",sandybrown:"rgb(244, 164, 96)",seagreen:"rgb( 46, 139, 87)",seashell:"rgb(255, 245, 238)",sienna:"rgb(160, 82, 45)",silver:"rgb(192, 192, 192)",skyblue:"rgb(135, 206, 235)",slateblue:"rgb(106, 90, 205)",slategray:"rgb(112, 128, 144)",slategrey:"rgb(112, 128, 144)",snow:"rgb(255, 250, 250)",springgreen:"rgb( 0, 255, 127)",steelblue:"rgb( 70, 130, 180)",tan:"rgb(210, 180, 140)",teal:"rgb( 0, 128, 128)",thistle:"rgb(216, 191, 216)",tomato:"rgb(255, 99, 71)",turquoise:"rgb( 64, 224, 208)",violet:"rgb(238, 130, 238)",wheat:"rgb(245, 222, 179)",white:"rgb(255, 255, 255)",whitesmoke:"rgb(245, 245, 245)",yellow:"rgb(255, 255, 0)",yellowgreen:"rgb(154, 205, 50)"},a.jqplot.AxisLabelRenderer=function(b){a.jqplot.ElemContainer.call(this),this.axis,this.show=!0,this.label="",this.fontFamily=null,this.fontSize=null,this.textColor=null,this._elem,this.escapeHTML=!1,a.extend(!0,this,b)},a.jqplot.AxisLabelRenderer.prototype=new a.jqplot.ElemContainer,a.jqplot.AxisLabelRenderer.prototype.constructor=a.jqplot.AxisLabelRenderer,a.jqplot.AxisLabelRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.AxisLabelRenderer.prototype.draw=function(b,c){return this._elem&&(this._elem.emptyForce(),this._elem=null),this._elem=a('<div style="position:absolute;" class="jqplot-'+this.axis+'-label"></div>'),Number(this.label)&&this._elem.css("white-space","nowrap"),this.escapeHTML?this._elem.text(this.label):this._elem.html(this.label),this.fontFamily&&this._elem.css("font-family",this.fontFamily),this.fontSize&&this._elem.css("font-size",this.fontSize),this.textColor&&this._elem.css("color",this.textColor),this._elem},a.jqplot.AxisLabelRenderer.prototype.pack=function(){},a.jqplot.AxisTickRenderer=function(b){a.jqplot.ElemContainer.call(this),this.mark="outside",this.axis,this.showMark=!0,this.showGridline=!0,this.isMinorTick=!1,this.size=4,this.markSize=6,this.show=!0,this.showLabel=!0,this.label=null,this.value=null,this._styles={},this.formatter=a.jqplot.DefaultTickFormatter,this.prefix="",this.suffix="",this.formatString="",this.fontFamily,this.fontSize,this.textColor,this.escapeHTML=!1,this._elem,this._breakTick=!1,a.extend(!0,this,b)},a.jqplot.AxisTickRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.AxisTickRenderer.prototype=new a.jqplot.ElemContainer,a.jqplot.AxisTickRenderer.prototype.constructor=a.jqplot.AxisTickRenderer,a.jqplot.AxisTickRenderer.prototype.setTick=function(a,b,c){return this.value=a,this.axis=b,c&&(this.isMinorTick=!0),this},a.jqplot.AxisTickRenderer.prototype.draw=function(){null===this.label&&(this.label=this.prefix+this.formatter(this.formatString,this.value)+this.suffix);var b={position:"absolute"};Number(this.label)&&(b.whitSpace="nowrap"),this._elem&&(this._elem.emptyForce(),this._elem=null),this._elem=a(document.createElement("div")),this._elem.addClass("jqplot-"+this.axis+"-tick"),this.escapeHTML?this._elem.text(this.label):this._elem.html(this.label),this._elem.css(b);for(var c in this._styles)this._elem.css(c,this._styles[c]);return this.fontFamily&&this._elem.css("font-family",this.fontFamily),this.fontSize&&this._elem.css("font-size",this.fontSize),this.textColor&&this._elem.css("color",this.textColor),this._breakTick&&this._elem.addClass("jqplot-breakTick"),this._elem},a.jqplot.DefaultTickFormatter=function(b,c){return"number"==typeof c?(b||(b=a.jqplot.config.defaultTickFormatString),a.jqplot.sprintf(b,c)):String(c)},a.jqplot.PercentTickFormatter=function(b,c){return"number"==typeof c?(c=100*c,b||(b=a.jqplot.config.defaultTickFormatString),a.jqplot.sprintf(b,c)):String(c)},a.jqplot.AxisTickRenderer.prototype.pack=function(){},a.jqplot.CanvasGridRenderer=function(){this.shadowRenderer=new a.jqplot.ShadowRenderer},a.jqplot.CanvasGridRenderer.prototype.init=function(b){this._ctx,a.extend(!0,this,b);var c={lineJoin:"miter",lineCap:"round",fill:!1,isarc:!1,angle:this.shadowAngle,offset:this.shadowOffset,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.shadowWidth,closePath:!1,strokeStyle:this.shadowColor};this.renderer.shadowRenderer.init(c)},a.jqplot.CanvasGridRenderer.prototype.createElement=function(b){var c;this._elem&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==F&&(c=this._elem.get(0),window.G_vmlCanvasManager.uninitElement(c),c=null),this._elem.emptyForce(),this._elem=null),c=b.canvasManager.getCanvas();var d=this._plotDimensions.width,e=this._plotDimensions.height;return c.width=d,c.height=e,this._elem=a(c),this._elem.addClass("jqplot-grid-canvas"),this._elem.css({position:"absolute",left:0,top:0}),c=b.canvasManager.initCanvas(c),this._top=this._offsets.top,this._bottom=e-this._offsets.bottom,this._left=this._offsets.left,this._right=d-this._offsets.right,this._width=this._right-this._left,this._height=this._bottom-this._top,c=null,this._elem},a.jqplot.CanvasGridRenderer.prototype.draw=function(){function b(b,d,e,f,g){c.save(),g=g||{},(null==g.lineWidth||0!=g.lineWidth)&&(a.extend(!0,c,g),c.beginPath(),c.moveTo(b,d),c.lineTo(e,f),c.stroke(),c.restore())}this._ctx=this._elem.get(0).getContext("2d");var c=this._ctx,d=this._axes;c.save(),c.clearRect(0,0,this._plotDimensions.width,this._plotDimensions.height),c.fillStyle=this.backgroundColor||this.background,c.fillRect(this._left,this._top,this._width,this._height),c.save(),c.lineJoin="miter",c.lineCap="butt",c.lineWidth=this.gridLineWidth,c.strokeStyle=this.gridLineColor;for(var e,f,g,h,i=["xaxis","yaxis","x2axis","y2axis"],j=4;j>0;j--){var k=i[j-1],l=d[k],m=l._ticks,n=m.length;if(l.show){if(l.drawBaseline){var o={};switch(null!==l.baselineWidth&&(o.lineWidth=l.baselineWidth),null!==l.baselineColor&&(o.strokeStyle=l.baselineColor),k){case"xaxis":b(this._left,this._bottom,this._right,this._bottom,o);break;case"yaxis":b(this._left,this._bottom,this._left,this._top,o);break;case"x2axis":b(this._left,this._bottom,this._right,this._bottom,o);break;case"y2axis":b(this._right,this._bottom,this._right,this._top,o)}}for(var p=n;p>0;p--){var q=m[p-1];if(q.show){var r=Math.round(l.u2p(q.value))+.5;switch(k){case"xaxis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(r,this._top,r,this._bottom),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._bottom,f=this._bottom+g;break;case"inside":e=this._bottom-g,f=this._bottom;break;case"cross":e=this._bottom-g,f=this._bottom+g;break;default:e=this._bottom,f=this._bottom+g}this.shadow&&this.renderer.shadowRenderer.draw(c,[[r,e],[r,f]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:.75*this.gridLineWidth,depth:2,fill:!1,closePath:!1}),b(r,e,r,f)}break;case"yaxis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(this._right,r,this._left,r),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._left-g,f=this._left;break;case"inside":e=this._left,f=this._left+g;break;case"cross":e=this._left-g,f=this._left+g;break;default:e=this._left-g,f=this._left}this.shadow&&this.renderer.shadowRenderer.draw(c,[[e,r],[f,r]],{lineCap:"butt",lineWidth:1.5*this.gridLineWidth,offset:.75*this.gridLineWidth,fill:!1,closePath:!1}),b(e,r,f,r,{strokeStyle:l.borderColor})}break;case"x2axis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(r,this._bottom,r,this._top),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._top-g,f=this._top;break;case"inside":e=this._top,f=this._top+g;break;case"cross":e=this._top-g,f=this._top+g;break;default:e=this._top-g,f=this._top}this.shadow&&this.renderer.shadowRenderer.draw(c,[[r,e],[r,f]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:.75*this.gridLineWidth,depth:2,fill:!1,closePath:!1}),b(r,e,r,f)}break;case"y2axis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(this._left,r,this._right,r),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._right,f=this._right+g;break;case"inside":e=this._right-g,f=this._right;break;case"cross":e=this._right-g,f=this._right+g;break;default:e=this._right,f=this._right+g}this.shadow&&this.renderer.shadowRenderer.draw(c,[[e,r],[f,r]],{lineCap:"butt",lineWidth:1.5*this.gridLineWidth,offset:.75*this.gridLineWidth,fill:!1,closePath:!1}),b(e,r,f,r,{strokeStyle:l.borderColor})}}}}q=null}l=null,m=null}i=["y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis","yMidAxis"];for(var j=7;j>0;j--){var l=d[i[j-1]],m=l._ticks;if(l.show){var s=m[l.numberTicks-1],t=m[0],u=l.getLeft(),v=[[u,s.getTop()+s.getHeight()/2],[u,t.getTop()+t.getHeight()/2+1]];this.shadow&&this.renderer.shadowRenderer.draw(c,v,{lineCap:"butt",fill:!1,closePath:!1}),b(v[0][0],v[0][1],v[1][0],v[1][1],{lineCap:"butt",strokeStyle:l.borderColor,lineWidth:l.borderWidth});for(var p=m.length;p>0;p--){var q=m[p-1];g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;if(q.showMark&&q.mark){switch(h){case"outside":e=u,f=u+g;break;case"inside":e=u-g,f=u;break;case"cross":e=u-g,f=u+g;break;default:e=u,f=u+g}v=[[e,r],[f,r]],this.shadow&&this.renderer.shadowRenderer.draw(c,v,{lineCap:"butt",lineWidth:1.5*this.gridLineWidth,offset:.75*this.gridLineWidth,fill:!1,closePath:!1}),b(e,r,f,r,{strokeStyle:l.borderColor})}q=null}t=null}l=null,m=null}if(c.restore(),this.shadow){var v=[[this._left,this._bottom],[this._right,this._bottom],[this._right,this._top]];this.renderer.shadowRenderer.draw(c,v)}0!=this.borderWidth&&this.drawBorder&&(b(this._left,this._top,this._right,this._top,{lineCap:"round",strokeStyle:d.x2axis.borderColor,lineWidth:d.x2axis.borderWidth}),b(this._right,this._top,this._right,this._bottom,{lineCap:"round",strokeStyle:d.y2axis.borderColor,lineWidth:d.y2axis.borderWidth}),b(this._right,this._bottom,this._left,this._bottom,{lineCap:"round",strokeStyle:d.xaxis.borderColor,lineWidth:d.xaxis.borderWidth}),b(this._left,this._bottom,this._left,this._top,{lineCap:"round",strokeStyle:d.yaxis.borderColor,lineWidth:d.yaxis.borderWidth})),c.restore(),c=null,d=null},a.jqplot.DivTitleRenderer=function(){},a.jqplot.DivTitleRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.DivTitleRenderer.prototype.draw=function(){this._elem&&(this._elem.emptyForce(),this._elem=null);var b=(this.renderer,document.createElement("div"));if(this._elem=a(b),this._elem.addClass("jqplot-title"),this.text){if(this.text){var c;this.color?c=this.color:this.textColor&&(c=this.textColor);var d={position:"absolute",top:"0px",left:"0px"};this._plotWidth&&(d.width=this._plotWidth+"px"),this.fontSize&&(d.fontSize=this.fontSize),"string"==typeof this.textAlign?d.textAlign=this.textAlign:d.textAlign="center",c&&(d.color=c),this.paddingBottom&&(d.paddingBottom=this.paddingBottom),this.fontFamily&&(d.fontFamily=this.fontFamily),this._elem.css(d),this.escapeHtml?this._elem.text(this.text):this._elem.html(this.text)}}else this.show=!1,this._elem.height(0),this._elem.width(0);return b=null,this._elem},a.jqplot.DivTitleRenderer.prototype.pack=function(){};var H=.1;a.jqplot.LinePattern=function(b,c){var d={dotted:[H,a.jqplot.config.dotGapLength],dashed:[a.jqplot.config.dashLength,a.jqplot.config.gapLength],solid:null};if("string"==typeof c)if("."===c[0]||"-"===c[0]){var e=c;c=[];for(var f=0,g=e.length;g>f;f++){if("."===e[f])c.push(H);else{if("-"!==e[f])continue;c.push(a.jqplot.config.dashLength)}c.push(a.jqplot.config.gapLength)}}else c=d[c];if(!c||!c.length)return b;var h=0,i=c[0],j=0,k=0,l=0,m=0,n=function(a,c){b.moveTo(a,c),j=a,k=c,l=a,m=c},o=function(a,d){var e=b.lineWidth,f=a-j,g=d-k,l=Math.sqrt(f*f+g*g);if(l>0&&e>0)for(f/=l,g/=l;;){var m=e*i;if(!(l>m)){j=a,k=d,0==(1&h)?b.lineTo(j,k):b.moveTo(j,k),i-=l/e;break}j+=m*f,k+=m*g,0==(1&h)?b.lineTo(j,k):b.moveTo(j,k),l-=m,h++,h>=c.length&&(h=0),i=c[h]}},p=function(){b.beginPath()},q=function(){o(l,m)};return{moveTo:n,lineTo:o,beginPath:p,closePath:q}},a.jqplot.LineRenderer=function(){this.shapeRenderer=new a.jqplot.ShapeRenderer,this.shadowRenderer=new a.jqplot.ShadowRenderer},a.jqplot.LineRenderer.prototype.init=function(b,c){b=b||{},this._type="line",this.renderer.animation={show:!1,direction:"left",speed:2500,_supported:!0},this.renderer.smooth=!1,this.renderer.tension=null,this.renderer.constrainSmoothing=!0,this.renderer._smoothedData=[],this.renderer._smoothedPlotData=[],this.renderer._hiBandGridData=[],this.renderer._lowBandGridData=[],this.renderer._hiBandSmoothedData=[],this.renderer._lowBandSmoothedData=[],this.renderer.bandData=[],this.renderer.bands={show:!1,hiData:[],lowData:[],color:this.color,showLines:!1,fill:!0,fillColor:null,_min:null,_max:null,interval:"3%"};var d={highlightMouseOver:b.highlightMouseOver,highlightMouseDown:b.highlightMouseDown,highlightColor:b.highlightColor};delete b.highlightMouseOver,delete b.highlightMouseDown,delete b.highlightColor,a.extend(!0,this.renderer,b),this.renderer.options=b,this.renderer.bandData.length>1&&(!b.bands||null==b.bands.show)?this.renderer.bands.show=!0:b.bands&&null==b.bands.show&&null!=b.bands.interval&&(this.renderer.bands.show=!0),this.fill&&(this.renderer.bands.show=!1),this.renderer.bands.show&&this.renderer.initBands.call(this,this.renderer.options,c),this._stack&&(this.renderer.smooth=!1);var e={lineJoin:this.lineJoin,lineCap:this.lineCap,fill:this.fill,isarc:!1,strokeStyle:this.color,fillStyle:this.fillColor,lineWidth:this.lineWidth,linePattern:this.linePattern,closePath:this.fill};this.renderer.shapeRenderer.init(e);var f=b.shadowOffset;null==f&&(f=this.lineWidth>2.5?1.25*(1+.6*(Math.atan(this.lineWidth/2.5)/.785398163-1)):1.25*Math.atan(this.lineWidth/2.5)/.785398163);var g={lineJoin:this.lineJoin,lineCap:this.lineCap,fill:this.fill,isarc:!1,angle:this.shadowAngle,offset:f,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.lineWidth,linePattern:this.linePattern,closePath:this.fill};if(this.renderer.shadowRenderer.init(g),this._areaPoints=[],this._boundingBox=[[],[]],!this.isTrendline&&this.fill||this.renderer.bands.show){if(this.highlightMouseOver=!0,this.highlightMouseDown=!1,this.highlightColor=null,d.highlightMouseDown&&null==d.highlightMouseOver&&(d.highlightMouseOver=!1),a.extend(!0,this,{highlightMouseOver:d.highlightMouseOver,highlightMouseDown:d.highlightMouseDown,highlightColor:d.highlightColor}),!this.highlightColor){var h=this.renderer.bands.show?this.renderer.bands.fillColor:this.fillColor;this.highlightColor=a.jqplot.computeHighlightColors(h)}this.highlighter&&(this.highlighter.show=!1)}!this.isTrendline&&c&&(c.plugins.lineRenderer={},c.postInitHooks.addOnce(l),c.postDrawHooks.addOnce(m),c.eventListenerHooks.addOnce("jqplotMouseMove",p),c.eventListenerHooks.addOnce("jqplotMouseDown",q),c.eventListenerHooks.addOnce("jqplotMouseUp",r),c.eventListenerHooks.addOnce("jqplotClick",s),c.eventListenerHooks.addOnce("jqplotRightClick",t))},a.jqplot.LineRenderer.prototype.initBands=function(b,c){var d=b.bandData||[],e=this.renderer.bands;e.hiData=[],e.lowData=[];var f=this.data;if(e._max=null,e._min=null,2==d.length)if(a.isArray(d[0][0])){for(var g,h=0,i=0,j=0,k=d[0].length;k>j;j++)g=d[0][j],(null!=g[1]&&g[1]>e._max||null==e._max)&&(e._max=g[1]),(null!=g[1]&&g[1]<e._min||null==e._min)&&(e._min=g[1]);for(var j=0,k=d[1].length;k>j;j++)g=d[1][j],(null!=g[1]&&g[1]>e._max||null==e._max)&&(e._max=g[1],i=1),(null!=g[1]&&g[1]<e._min||null==e._min)&&(e._min=g[1],h=1);i===h&&(e.show=!1),e.hiData=d[i],e.lowData=d[h]}else if(d[0].length===f.length&&d[1].length===f.length)for(var l=d[0][0]>d[1][0]?0:1,m=l?0:1,j=0,k=f.length;k>j;j++)e.hiData.push([f[j][0],d[l][j]]),e.lowData.push([f[j][0],d[m][j]]);else e.show=!1;else if(d.length>2&&!a.isArray(d[0][0]))for(var l=d[0][0]>d[0][1]?0:1,m=l?0:1,j=0,k=d.length;k>j;j++)e.hiData.push([f[j][0],d[j][l]]),e.lowData.push([f[j][0],d[j][m]]);else{var n=e.interval,o=null,p=null,q=null,r=null;if(a.isArray(n)?(o=n[0],p=n[1]):o=n,isNaN(o)?"%"===o.charAt(o.length-1)&&(q="multiply",o=parseFloat(o)/100+1):(o=parseFloat(o),q="add"),null!==p&&isNaN(p)?"%"===p.charAt(p.length-1)&&(r="multiply",p=parseFloat(p)/100+1):null!==p&&(p=parseFloat(p),r="add"),null!==o){if(null===p&&(p=-o,r=q,"multiply"===r&&(p+=2)),p>o){var s=o;o=p,p=s,s=q,q=r,r=s}for(var j=0,k=f.length;k>j;j++){switch(q){case"add":e.hiData.push([f[j][0],f[j][1]+o]);break;case"multiply":e.hiData.push([f[j][0],f[j][1]*o])}switch(r){case"add":e.lowData.push([f[j][0],f[j][1]+p]);break;case"multiply":e.lowData.push([f[j][0],f[j][1]*p])}}}else e.show=!1}for(var t=e.hiData,u=e.lowData,j=0,k=t.length;k>j;j++)(null!=t[j][1]&&t[j][1]>e._max||null==e._max)&&(e._max=t[j][1]);for(var j=0,k=u.length;k>j;j++)(null!=u[j][1]&&u[j][1]<e._min||null==e._min)&&(e._min=u[j][1]);if(null===e.fillColor){var v=a.jqplot.getColorComponents(e.color);v[3]=.5*v[3],e.fillColor="rgba("+v[0]+", "+v[1]+", "+v[2]+", "+v[3]+")"}},a.jqplot.LineRenderer.prototype.setGridData=function(a){var b=this._xaxis.series_u2p,c=this._yaxis.series_u2p,d=this._plotData,e=this._prevPlotData;this.gridData=[],this._prevGridData=[],this.renderer._smoothedData=[],this.renderer._smoothedPlotData=[],this.renderer._hiBandGridData=[],this.renderer._lowBandGridData=[],this.renderer._hiBandSmoothedData=[],this.renderer._lowBandSmoothedData=[];for(var f=this.renderer.bands,g=!1,h=0,i=d.length;i>h;h++)null!=d[h][0]&&null!=d[h][1]?this.gridData.push([b.call(this._xaxis,d[h][0]),c.call(this._yaxis,d[h][1])]):null==d[h][0]?(g=!0,this.gridData.push([null,c.call(this._yaxis,d[h][1])])):null==d[h][1]&&(g=!0,this.gridData.push([b.call(this._xaxis,d[h][0]),null])),null!=e[h]&&null!=e[h][0]&&null!=e[h][1]?this._prevGridData.push([b.call(this._xaxis,e[h][0]),c.call(this._yaxis,e[h][1])]):null!=e[h]&&null==e[h][0]?this._prevGridData.push([null,c.call(this._yaxis,e[h][1])]):null!=e[h]&&null!=e[h][0]&&null==e[h][1]&&this._prevGridData.push([b.call(this._xaxis,e[h][0]),null]);if(g&&(this.renderer.smooth=!1,"line"===this._type&&(f.show=!1)),"line"===this._type&&f.show){for(var h=0,i=f.hiData.length;i>h;h++)this.renderer._hiBandGridData.push([b.call(this._xaxis,f.hiData[h][0]),c.call(this._yaxis,f.hiData[h][1])]);for(var h=0,i=f.lowData.length;i>h;h++)this.renderer._lowBandGridData.push([b.call(this._xaxis,f.lowData[h][0]),c.call(this._yaxis,f.lowData[h][1])])}if("line"===this._type&&this.renderer.smooth&&this.gridData.length>2){var l;this.renderer.constrainSmoothing?(l=j.call(this,this.gridData),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=j.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=j.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null):(l=k.call(this,this.gridData),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=k.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=k.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null)}},a.jqplot.LineRenderer.prototype.makeGridData=function(a,b){var c=this._xaxis.series_u2p,d=this._yaxis.series_u2p,e=[];this.renderer._smoothedData=[],this.renderer._smoothedPlotData=[],this.renderer._hiBandGridData=[],this.renderer._lowBandGridData=[],this.renderer._hiBandSmoothedData=[],this.renderer._lowBandSmoothedData=[];for(var f=this.renderer.bands,g=!1,h=0;h<a.length;h++)null!=a[h][0]&&null!=a[h][1]?(this.step&&h>0&&e.push([c.call(this._xaxis,a[h][0]),d.call(this._yaxis,a[h-1][1])]),e.push([c.call(this._xaxis,a[h][0]),d.call(this._yaxis,a[h][1])])):null==a[h][0]?(g=!0,e.push([null,d.call(this._yaxis,a[h][1])])):null==a[h][1]&&(g=!0,e.push([c.call(this._xaxis,a[h][0]),null]));if(g&&(this.renderer.smooth=!1,"line"===this._type&&(f.show=!1)),"line"===this._type&&f.show){for(var h=0,i=f.hiData.length;i>h;h++)this.renderer._hiBandGridData.push([c.call(this._xaxis,f.hiData[h][0]),d.call(this._yaxis,f.hiData[h][1])]);for(var h=0,i=f.lowData.length;i>h;h++)this.renderer._lowBandGridData.push([c.call(this._xaxis,f.lowData[h][0]),d.call(this._yaxis,f.lowData[h][1])])}if("line"===this._type&&this.renderer.smooth&&e.length>2){var l;this.renderer.constrainSmoothing?(l=j.call(this,e),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=j.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=j.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null):(l=k.call(this,e),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=k.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=k.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null)}return e},a.jqplot.LineRenderer.prototype.draw=function(b,c,d,e){var f,g,h,i,j,k=a.extend(!0,{},d),l=k.shadow!=F?k.shadow:this.shadow,m=k.showLine!=F?k.showLine:this.showLine,n=k.fill!=F?k.fill:this.fill,o=k.fillAndStroke!=F?k.fillAndStroke:this.fillAndStroke;if(b.save(),c.length){if(m)if(n){if(this.fillToZero){var p=this.negativeColor;this.useNegativeColors||(p=k.fillStyle);var q=!1,r=k.fillStyle;if(o)var s=c.slice(0);if(0!=this.index&&this._stack){for(var t=this._prevGridData,f=t.length;f>0;f--)c.push(t[f-1]);l&&this.renderer.shadowRenderer.draw(b,c,k),this._areaPoints=c,this.renderer.shapeRenderer.draw(b,c,k)}else{var u=[],v=this.renderer.smooth?this.renderer._smoothedPlotData:this._plotData;this._areaPoints=[];var w=this._yaxis.series_u2p(this.fillToValue);this._xaxis.series_u2p(this.fillToValue);if(k.closePath=!0,"y"==this.fillAxis){u.push([c[0][0],w]),this._areaPoints.push([c[0][0],w]);for(var f=0;f<c.length-1;f++)if(u.push(c[f]),this._areaPoints.push(c[f]),v[f][1]*v[f+1][1]<=0){v[f][1]<0?(q=!0,k.fillStyle=p):(q=!1,k.fillStyle=r);var x=c[f][0]+(c[f+1][0]-c[f][0])*(w-c[f][1])/(c[f+1][1]-c[f][1]);u.push([x,w]),this._areaPoints.push([x,w]),l&&this.renderer.shadowRenderer.draw(b,u,k),this.renderer.shapeRenderer.draw(b,u,k),u=[[x,w]]}v[c.length-1][1]<0?(q=!0,k.fillStyle=p):(q=!1,k.fillStyle=r),u.push(c[c.length-1]),this._areaPoints.push(c[c.length-1]),u.push([c[c.length-1][0],w]),this._areaPoints.push([c[c.length-1][0],w])}l&&this.renderer.shadowRenderer.draw(b,u,k),this.renderer.shapeRenderer.draw(b,u,k)}}else{if(o)var s=c.slice(0);if(0!=this.index&&this._stack)for(var t=this._prevGridData,f=t.length;f>0;f--)c.push(t[f-1]);else{var y=b.canvas.height;c.unshift([c[0][0],y]);var z=c.length;c.push([c[z-1][0],y])}this._areaPoints=c,l&&this.renderer.shadowRenderer.draw(b,c,k),this.renderer.shapeRenderer.draw(b,c,k)}if(o){var A=a.extend(!0,{},k,{fill:!1,closePath:!1});if(this.renderer.shapeRenderer.draw(b,s,A),this.markerRenderer.show)for(this.renderer.smooth&&(s=this.gridData),f=0;f<s.length;f++)this.markerRenderer.draw(s[f][0],s[f][1],b,k.markerOptions)}}else{if(this.renderer.bands.show){var B,C=a.extend(!0,{},k);this.renderer.bands.showLines&&(B=this.renderer.smooth?this.renderer._hiBandSmoothedData:this.renderer._hiBandGridData,this.renderer.shapeRenderer.draw(b,B,k),B=this.renderer.smooth?this.renderer._lowBandSmoothedData:this.renderer._lowBandGridData,this.renderer.shapeRenderer.draw(b,B,C)),this.renderer.bands.fill&&(B=this.renderer.smooth?this.renderer._hiBandSmoothedData.concat(this.renderer._lowBandSmoothedData.reverse()):this.renderer._hiBandGridData.concat(this.renderer._lowBandGridData.reverse()),this._areaPoints=B,C.closePath=!0,C.fill=!0,C.fillStyle=this.renderer.bands.fillColor,this.renderer.shapeRenderer.draw(b,B,C))}l&&this.renderer.shadowRenderer.draw(b,c,k),this.renderer.shapeRenderer.draw(b,c,k)}var g=i=h=j=null;for(f=0;f<this._areaPoints.length;f++){var D=this._areaPoints[f];(g>D[0]||null==g)&&(g=D[0]),(j<D[1]||null==j)&&(j=D[1]),(i<D[0]||null==i)&&(i=D[0]),(h>D[1]||null==h)&&(h=D[1])}if("line"===this.type&&this.renderer.bands.show&&(j=this._yaxis.series_u2p(this.renderer.bands._min),h=this._yaxis.series_u2p(this.renderer.bands._max)),this._boundingBox=[[g,j],[i,h]],this.markerRenderer.show&&!n)for(this.renderer.smooth&&(c=this.gridData),f=0;f<c.length;f++)null!=c[f][0]&&null!=c[f][1]&&this.markerRenderer.draw(c[f][0],c[f][1],b,k.markerOptions)}b.restore()},a.jqplot.LineRenderer.prototype.drawShadow=function(a,b,c){},a.jqplot.LinearAxisRenderer=function(){},a.jqplot.LinearAxisRenderer.prototype.init=function(b){this.breakPoints=null,this.breakTickLabel="≈",this.drawBaseline=!0,this.baselineWidth=null,this.baselineColor=null,this.forceTickAt0=!1,this.forceTickAt100=!1,this.tickInset=0,this.minorTicks=0,this.alignTicks=!1,this._autoFormatString="",this._overrideFormatString=!1,this._scalefact=1,a.extend(!0,this,b),this.breakPoints&&(a.isArray(this.breakPoints)?(this.breakPoints.length<2||this.breakPoints[1]<=this.breakPoints[0])&&(this.breakPoints=null):this.breakPoints=null),
|
7 |
-
null!=this.numberTicks&&this.numberTicks<2&&(this.numberTicks=2),this.resetDataBounds()},a.jqplot.LinearAxisRenderer.prototype.draw=function(b,c){if(this.show){this.renderer.createTicks.call(this,c);if(this._elem&&(this._elem.emptyForce(),this._elem=null),this._elem=a(document.createElement("div")),this._elem.addClass("jqplot-axis jqplot-"+this.name),this._elem.css("position","absolute"),"xaxis"==this.name||"x2axis"==this.name?this._elem.width(this._plotDimensions.width):this._elem.height(this._plotDimensions.height),this.labelOptions.axis=this.name,this._label=new this.labelRenderer(this.labelOptions),this._label.show){var d=this._label.draw(b,c);d.appendTo(this._elem),d=null}for(var e,f=this._ticks,g=0;g<f.length;g++)e=f[g],e.show&&e.showLabel&&(!e.isMinorTick||this.showMinorTicks)&&this._elem.append(e.draw(b,c));e=null,f=null}return this._elem},a.jqplot.LinearAxisRenderer.prototype.reset=function(){this.min=this._options.min,this.max=this._options.max,this.tickInterval=this._options.tickInterval,this.numberTicks=this._options.numberTicks,this._autoFormatString="",this._overrideFormatString&&this.tickOptions&&this.tickOptions.formatString&&(this.tickOptions.formatString="")},a.jqplot.LinearAxisRenderer.prototype.set=function(){var b,c=0,d=0,e=0,f=null==this._label?!1:this._label.show;if(this.show){for(var g,h=this._ticks,i=0;i<h.length;i++)g=h[i],g._breakTick||!g.show||!g.showLabel||g.isMinorTick&&!this.showMinorTicks||(b="xaxis"==this.name||"x2axis"==this.name?g._elem.outerHeight(!0):g._elem.outerWidth(!0),b>c&&(c=b));g=null,h=null,f&&(d=this._label._elem.outerWidth(!0),e=this._label._elem.outerHeight(!0)),"xaxis"==this.name?(c+=e,this._elem.css({height:c+"px",left:"0px",bottom:"0px"})):"x2axis"==this.name?(c+=e,this._elem.css({height:c+"px",left:"0px",top:"0px"})):"yaxis"==this.name?(c+=d,this._elem.css({width:c+"px",left:"0px",top:"0px"}),f&&this._label.constructor==a.jqplot.AxisLabelRenderer&&this._label._elem.css("width",d+"px")):(c+=d,this._elem.css({width:c+"px",right:"0px",top:"0px"}),f&&this._label.constructor==a.jqplot.AxisLabelRenderer&&this._label._elem.css("width",d+"px"))}},a.jqplot.LinearAxisRenderer.prototype.createTicks=function(b){var c,d,e,f,g=this._ticks,h=this.ticks,i=this.name,j=this._dataBounds,k="x"===this.name.charAt(0)?this._plotDimensions.width:this._plotDimensions.height,l=this.min,m=this.max,n=this.numberTicks,o=this.tickInterval,p=30;if(this._scalefact=(Math.max(k,p+1)-p)/300,h.length){for(f=0;f<h.length;f++){var q=h[f],r=new this.tickRenderer(this.tickOptions);a.isArray(q)?(r.value=q[0],this.breakPoints?q[0]==this.breakPoints[0]?(r.label=this.breakTickLabel,r._breakTick=!0,r.showGridline=!1,r.showMark=!1):q[0]>this.breakPoints[0]&&q[0]<=this.breakPoints[1]?(r.show=!1,r.showGridline=!1,r.label=q[1]):r.label=q[1]:r.label=q[1],r.setTick(q[0],this.name),this._ticks.push(r)):a.isPlainObject(q)?(a.extend(!0,r,q),r.axis=this.name,this._ticks.push(r)):(r.value=q,this.breakPoints&&(q==this.breakPoints[0]?(r.label=this.breakTickLabel,r._breakTick=!0,r.showGridline=!1,r.showMark=!1):q>this.breakPoints[0]&&q<=this.breakPoints[1]&&(r.show=!1,r.showGridline=!1)),r.setTick(q,this.name),this._ticks.push(r))}this.numberTicks=h.length,this.min=this._ticks[0].value,this.max=this._ticks[this.numberTicks-1].value,this.tickInterval=(this.max-this.min)/(this.numberTicks-1)}else{k="xaxis"==i||"x2axis"==i?this._plotDimensions.width:this._plotDimensions.height;var s=this.numberTicks;this.alignTicks&&("x2axis"===this.name&&b.axes.xaxis.show?s=b.axes.xaxis.numberTicks:"y"===this.name.charAt(0)&&"yaxis"!==this.name&&"yMidAxis"!==this.name&&b.axes.yaxis.show&&(s=b.axes.yaxis.numberTicks)),c=null!=this.min?this.min:j.min,d=null!=this.max?this.max:j.max;var t,u,v,w=d-c;if(null!=this.tickOptions&&this.tickOptions.formatString||(this._overrideFormatString=!0),null==this.min||null==this.max&&null==this.tickInterval&&!this.autoscale){this.forceTickAt0&&(c>0&&(c=0),0>d&&(d=0)),this.forceTickAt100&&(c>100&&(c=100),100>d&&(d=100));var x=!1,y=!1;null!=this.min?x=!0:null!=this.max&&(y=!0);var z=a.jqplot.LinearTickGenerator(c,d,this._scalefact,s,x,y),A=null!=this.min?c:c+w*(this.padMin-1),B=null!=this.max?d:d-w*(this.padMax-1);(A>c||d>B)&&(A=null!=this.min?c:c-w*(this.padMin-1),B=null!=this.max?d:d+w*(this.padMax-1),z=a.jqplot.LinearTickGenerator(A,B,this._scalefact,s,x,y)),this.min=z[0],this.max=z[1],this.numberTicks=z[2],this._autoFormatString=z[3],this.tickInterval=z[4]}else{if(c==d){var C=.05;c>0&&(C=Math.max(Math.log(c)/Math.LN10,.05)),c-=C,d+=C}if(this.autoscale&&null==this.min&&null==this.max){for(var D,E,F,G=!1,H=!1,f=0;f<this._series.length;f++){var I=this._series[f],J="x"==I.fillAxis?I._xaxis.name:I._yaxis.name;if(this.name==J){for(var K=I._plotValues[I.fillAxis],L=K[0],M=K[0],N=1;N<K.length;N++)K[N]<L?L=K[N]:K[N]>M&&(M=K[N]);var O=(M-L)/M;I.renderer.constructor==a.jqplot.BarRenderer?L>=0&&(I.fillToZero||O>.1)?G=!0:(G=!1,H=I.fill&&I.fillToZero&&0>L&&M>0?!0:!1):I.fill?L>=0&&(I.fillToZero||O>.1)?G=!0:0>L&&M>0&&I.fillToZero?(G=!1,H=!0):(G=!1,H=!1):0>L&&(G=!1)}}if(G)this.numberTicks=2+Math.ceil((k-(this.tickSpacing-1))/this.tickSpacing),this.min=0,l=0,E=d/(this.numberTicks-1),v=Math.pow(10,Math.abs(Math.floor(Math.log(E)/Math.LN10))),E/v==parseInt(E/v,10)&&(E+=v),this.tickInterval=Math.ceil(E/v)*v,this.max=this.tickInterval*(this.numberTicks-1);else if(H){this.numberTicks=2+Math.ceil((k-(this.tickSpacing-1))/this.tickSpacing);var P=Math.ceil(Math.abs(c)/w*(this.numberTicks-1)),Q=this.numberTicks-1-P;E=Math.max(Math.abs(c/P),Math.abs(d/Q)),v=Math.pow(10,Math.abs(Math.floor(Math.log(E)/Math.LN10))),this.tickInterval=Math.ceil(E/v)*v,this.max=this.tickInterval*Q,this.min=-this.tickInterval*P}else null==this.numberTicks&&(this.tickInterval?this.numberTicks=3+Math.ceil(w/this.tickInterval):this.numberTicks=2+Math.ceil((k-(this.tickSpacing-1))/this.tickSpacing)),null==this.tickInterval?(E=w/(this.numberTicks-1),v=1>E?Math.pow(10,Math.abs(Math.floor(Math.log(E)/Math.LN10))):1,this.tickInterval=Math.ceil(E*v*this.pad)/v):v=1/this.tickInterval,D=this.tickInterval*(this.numberTicks-1),F=(D-w)/2,null==this.min&&(this.min=Math.floor(v*(c-F))/v),null==this.max&&(this.max=this.min+D);var R,S=a.jqplot.getSignificantFigures(this.tickInterval);if(S.digitsLeft>=S.significantDigits)R="%d";else{var v=Math.max(0,5-S.digitsLeft);v=Math.min(v,S.digitsRight),R="%."+v+"f"}this._autoFormatString=R}else{t=null!=this.min?this.min:c-w*(this.padMin-1),u=null!=this.max?this.max:d+w*(this.padMax-1),w=u-t,null==this.numberTicks&&(null!=this.tickInterval?this.numberTicks=Math.ceil((u-t)/this.tickInterval)+1:k>100?this.numberTicks=parseInt(3+(k-100)/75,10):this.numberTicks=2),null==this.tickInterval&&(this.tickInterval=w/(this.numberTicks-1)),null==this.max&&(u=t+this.tickInterval*(this.numberTicks-1)),null==this.min&&(t=u-this.tickInterval*(this.numberTicks-1));var R,S=a.jqplot.getSignificantFigures(this.tickInterval);if(S.digitsLeft>=S.significantDigits)R="%d";else{var v=Math.max(0,5-S.digitsLeft);v=Math.min(v,S.digitsRight),R="%."+v+"f"}this._autoFormatString=R,this.min=t,this.max=u}if(this.renderer.constructor==a.jqplot.LinearAxisRenderer&&""==this._autoFormatString){w=this.max-this.min;var T=new this.tickRenderer(this.tickOptions),U=T.formatString||a.jqplot.config.defaultTickFormatString,U=U.match(a.jqplot.sprintf.regex)[0],V=0;if(U){if(U.search(/[fFeEgGpP]/)>-1){var W=U.match(/\%\.(\d{0,})?[eEfFgGpP]/);V=W?parseInt(W[1],10):6}else U.search(/[di]/)>-1&&(V=0);var X=Math.pow(10,-V);if(this.tickInterval<X&&null==n&&null==o)if(this.tickInterval=X,null==m&&null==l){this.min=Math.floor(this._dataBounds.min/X)*X,this.min==this._dataBounds.min&&(this.min=this._dataBounds.min-this.tickInterval),this.max=Math.ceil(this._dataBounds.max/X)*X,this.max==this._dataBounds.max&&(this.max=this._dataBounds.max+this.tickInterval);var Y=(this.max-this.min)/this.tickInterval;Y=Y.toFixed(11),Y=Math.ceil(Y),this.numberTicks=Y+1}else if(null==m){var Y=(this._dataBounds.max-this.min)/this.tickInterval;Y=Y.toFixed(11),this.numberTicks=Math.ceil(Y)+2,this.max=this.min+this.tickInterval*(this.numberTicks-1)}else if(null==l){var Y=(this.max-this._dataBounds.min)/this.tickInterval;Y=Y.toFixed(11),this.numberTicks=Math.ceil(Y)+2,this.min=this.max-this.tickInterval*(this.numberTicks-1)}else this.numberTicks=Math.ceil((m-l)/this.tickInterval)+1,this.min=Math.floor(l*Math.pow(10,V))/Math.pow(10,V),this.max=Math.ceil(m*Math.pow(10,V))/Math.pow(10,V),this.numberTicks=Math.ceil((this.max-this.min)/this.tickInterval)+1}}}this._overrideFormatString&&""!=this._autoFormatString&&(this.tickOptions=this.tickOptions||{},this.tickOptions.formatString=this._autoFormatString);for(var r,Z,f=0;f<this.numberTicks;f++){if(e=this.min+f*this.tickInterval,r=new this.tickRenderer(this.tickOptions),r.setTick(e,this.name),this._ticks.push(r),f<this.numberTicks-1)for(var N=0;N<this.minorTicks;N++)e+=this.tickInterval/(this.minorTicks+1),Z=a.extend(!0,{},this.tickOptions,{name:this.name,value:e,label:"",isMinorTick:!0}),r=new this.tickRenderer(Z),this._ticks.push(r);r=null}}this.tickInset&&(this.min=this.min-this.tickInset*this.tickInterval,this.max=this.max+this.tickInset*this.tickInterval),g=null},a.jqplot.LinearAxisRenderer.prototype.resetTickValues=function(b){if(a.isArray(b)&&b.length==this._ticks.length){for(var c,d=0;d<b.length;d++)c=this._ticks[d],c.value=b[d],c.label=c.formatter(c.formatString,b[d]),c.label=c.prefix+c.label,c._elem.html(c.label);c=null,this.min=a.jqplot.arrayMin(b),this.max=a.jqplot.arrayMax(b),this.pack()}},a.jqplot.LinearAxisRenderer.prototype.pack=function(b,c){b=b||{},c=c||this._offsets;var d=this._ticks,e=this.max,f=this.min,g=c.max,h=c.min,i=null==this._label?!1:this._label.show;for(var j in b)this._elem.css(j,b[j]);this._offsets=c;var k=g-h,l=e-f;if(this.breakPoints?(l=l-this.breakPoints[1]+this.breakPoints[0],this.p2u=function(a){return(a-h)*l/k+f},this.u2p=function(a){return a>this.breakPoints[0]&&a<this.breakPoints[1]&&(a=this.breakPoints[0]),a<=this.breakPoints[0]?(a-f)*k/l+h:(a-this.breakPoints[1]+this.breakPoints[0]-f)*k/l+h},"x"==this.name.charAt(0)?(this.series_u2p=function(a){return a>this.breakPoints[0]&&a<this.breakPoints[1]&&(a=this.breakPoints[0]),a<=this.breakPoints[0]?(a-f)*k/l:(a-this.breakPoints[1]+this.breakPoints[0]-f)*k/l},this.series_p2u=function(a){return a*l/k+f}):(this.series_u2p=function(a){return a>this.breakPoints[0]&&a<this.breakPoints[1]&&(a=this.breakPoints[0]),a>=this.breakPoints[1]?(a-e)*k/l:(a+this.breakPoints[1]-this.breakPoints[0]-e)*k/l},this.series_p2u=function(a){return a*l/k+e})):(this.p2u=function(a){return(a-h)*l/k+f},this.u2p=function(a){return(a-f)*k/l+h},"xaxis"==this.name||"x2axis"==this.name?(this.series_u2p=function(a){return(a-f)*k/l},this.series_p2u=function(a){return a*l/k+f}):(this.series_u2p=function(a){return(a-e)*k/l},this.series_p2u=function(a){return a*l/k+e})),this.show)if("xaxis"==this.name||"x2axis"==this.name){for(var m=0;m<d.length;m++){var n=d[m];if(n.show&&n.showLabel){var o;if(n.constructor==a.jqplot.CanvasAxisTickRenderer&&n.angle){var p="xaxis"==this.name?1:-1;switch(n.labelPosition){case"auto":o=p*n.angle<0?-n.getWidth()+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2:-n._textRenderer.height*Math.sin(n._textRenderer.angle)/2;break;case"end":o=-n.getWidth()+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2;break;case"start":o=-n._textRenderer.height*Math.sin(n._textRenderer.angle)/2;break;case"middle":o=-n.getWidth()/2+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2;break;default:o=-n.getWidth()/2+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2}}else o=-n.getWidth()/2;var q=this.u2p(n.value)+o+"px";n._elem.css("left",q),n.pack()}}if(i){var r=this._label._elem.outerWidth(!0);this._label._elem.css("left",h+k/2-r/2+"px"),"xaxis"==this.name?this._label._elem.css("bottom","0px"):this._label._elem.css("top","0px"),this._label.pack()}}else{for(var m=0;m<d.length;m++){var n=d[m];if(n.show&&n.showLabel){var o;if(n.constructor==a.jqplot.CanvasAxisTickRenderer&&n.angle){var p="yaxis"==this.name?1:-1;switch(n.labelPosition){case"auto":case"end":o=p*n.angle<0?-n._textRenderer.height*Math.cos(-n._textRenderer.angle)/2:-n.getHeight()+n._textRenderer.height*Math.cos(n._textRenderer.angle)/2;break;case"start":o=n.angle>0?-n._textRenderer.height*Math.cos(-n._textRenderer.angle)/2:-n.getHeight()+n._textRenderer.height*Math.cos(n._textRenderer.angle)/2;break;case"middle":o=-n.getHeight()/2;break;default:o=-n.getHeight()/2}}else o=-n.getHeight()/2;var q=this.u2p(n.value)+o+"px";n._elem.css("top",q),n.pack()}}if(i){var s=this._label._elem.outerHeight(!0);this._label._elem.css("top",g-k/2-s/2+"px"),"yaxis"==this.name?this._label._elem.css("left","0px"):this._label._elem.css("right","0px"),this._label.pack()}}d=null};a.jqplot.LinearTickGenerator=function(b,c,d,e,f,g){if(f=null===f?!1:f,g=null===g||f?!1:g,b===c&&(c=c?0:1),d=d||1,b>c){var h=c;c=b,b=h}var i=[],j=x(c-b,d),k=a.jqplot.getSignificantFigures;if(null==e)if(f||g){if(f){i[0]=b,i[2]=Math.ceil((c-b)/j+1),i[1]=b+(i[2]-1)*j;var l=k(b).digitsRight,m=k(j).digitsRight;m>l?i[3]=u(j):i[3]="%."+l+"f",i[4]=j}else if(g){i[1]=c,i[2]=Math.ceil((c-b)/j+1),i[0]=c-(i[2]-1)*j;var n=k(c).digitsRight,m=k(j).digitsRight;m>n?i[3]=u(j):i[3]="%."+n+"f",i[4]=j}}else i[0]=Math.floor(b/j)*j,i[1]=Math.ceil(c/j)*j,i[2]=Math.round((i[1]-i[0])/j+1),i[3]=u(j),i[4]=j;else{var o=[];if(o[0]=Math.floor(b/j)*j,o[1]=Math.ceil(c/j)*j,o[2]=Math.round((o[1]-o[0])/j+1),o[3]=u(j),o[4]=j,o[2]===e)i=o;else{var p=w(o[1]-o[0],e);i[0]=o[0],i[2]=e,i[4]=p,i[3]=u(p),i[1]=i[0]+(i[2]-1)*i[4]}}return i},a.jqplot.LinearTickGenerator.bestLinearInterval=x,a.jqplot.LinearTickGenerator.bestInterval=w,a.jqplot.LinearTickGenerator.bestLinearComponents=y,a.jqplot.LinearTickGenerator.bestConstrainedInterval=v,a.jqplot.MarkerRenderer=function(b){this.show=!0,this.style="filledCircle",this.lineWidth=2,this.size=9,this.color="#666666",this.shadow=!0,this.shadowAngle=45,this.shadowOffset=1,this.shadowDepth=3,this.shadowAlpha="0.07",this.shadowRenderer=new a.jqplot.ShadowRenderer,this.shapeRenderer=new a.jqplot.ShapeRenderer,a.extend(!0,this,b)},a.jqplot.MarkerRenderer.prototype.init=function(b){a.extend(!0,this,b);var c={angle:this.shadowAngle,offset:this.shadowOffset,alpha:this.shadowAlpha,lineWidth:this.lineWidth,depth:this.shadowDepth,closePath:!0};-1!=this.style.indexOf("filled")&&(c.fill=!0),-1!=this.style.indexOf("ircle")&&(c.isarc=!0,c.closePath=!1),this.shadowRenderer.init(c);var d={fill:!1,isarc:!1,strokeStyle:this.color,fillStyle:this.color,lineWidth:this.lineWidth,closePath:!0};-1!=this.style.indexOf("filled")&&(d.fill=!0),-1!=this.style.indexOf("ircle")&&(d.isarc=!0,d.closePath=!1),this.shapeRenderer.init(d)},a.jqplot.MarkerRenderer.prototype.drawDiamond=function(a,b,c,d,e){var f=1.2,g=this.size/2/f,h=this.size/2*f,i=[[a-g,b],[a,b+h],[a+g,b],[a,b-h]];this.shadow&&this.shadowRenderer.draw(c,i),this.shapeRenderer.draw(c,i,e)},a.jqplot.MarkerRenderer.prototype.drawPlus=function(b,c,d,e,f){var g=1,h=this.size/2*g,i=this.size/2*g,j=[[b,c-i],[b,c+i]],k=[[b+h,c],[b-h,c]],l=a.extend(!0,{},this.options,{closePath:!1});this.shadow&&(this.shadowRenderer.draw(d,j,{closePath:!1}),this.shadowRenderer.draw(d,k,{closePath:!1})),this.shapeRenderer.draw(d,j,l),this.shapeRenderer.draw(d,k,l)},a.jqplot.MarkerRenderer.prototype.drawX=function(b,c,d,e,f){var g=1,h=this.size/2*g,i=this.size/2*g,j=a.extend(!0,{},this.options,{closePath:!1}),k=[[b-h,c-i],[b+h,c+i]],l=[[b-h,c+i],[b+h,c-i]];this.shadow&&(this.shadowRenderer.draw(d,k,{closePath:!1}),this.shadowRenderer.draw(d,l,{closePath:!1})),this.shapeRenderer.draw(d,k,j),this.shapeRenderer.draw(d,l,j)},a.jqplot.MarkerRenderer.prototype.drawDash=function(a,b,c,d,e){var f=1,g=this.size/2*f,h=(this.size/2*f,[[a-g,b],[a+g,b]]);this.shadow&&this.shadowRenderer.draw(c,h),this.shapeRenderer.draw(c,h,e)},a.jqplot.MarkerRenderer.prototype.drawLine=function(a,b,c,d,e){var f=[a,b];this.shadow&&this.shadowRenderer.draw(c,f),this.shapeRenderer.draw(c,f,e)},a.jqplot.MarkerRenderer.prototype.drawSquare=function(a,b,c,d,e){var f=1,g=this.size/2/f,h=this.size/2*f,i=[[a-g,b-h],[a-g,b+h],[a+g,b+h],[a+g,b-h]];this.shadow&&this.shadowRenderer.draw(c,i),this.shapeRenderer.draw(c,i,e)},a.jqplot.MarkerRenderer.prototype.drawCircle=function(a,b,c,d,e){var f=this.size/2,g=2*Math.PI,h=[a,b,f,0,g,!0];this.shadow&&this.shadowRenderer.draw(c,h),this.shapeRenderer.draw(c,h,e)},a.jqplot.MarkerRenderer.prototype.draw=function(a,b,c,d){if(d=d||{},null==d.show||0!=d.show)switch(d.color&&!d.fillStyle&&(d.fillStyle=d.color),d.color&&!d.strokeStyle&&(d.strokeStyle=d.color),this.style){case"diamond":this.drawDiamond(a,b,c,!1,d);break;case"filledDiamond":this.drawDiamond(a,b,c,!0,d);break;case"circle":this.drawCircle(a,b,c,!1,d);break;case"filledCircle":this.drawCircle(a,b,c,!0,d);break;case"square":this.drawSquare(a,b,c,!1,d);break;case"filledSquare":this.drawSquare(a,b,c,!0,d);break;case"x":this.drawX(a,b,c,!0,d);break;case"plus":this.drawPlus(a,b,c,!0,d);break;case"dash":this.drawDash(a,b,c,!0,d);break;case"line":this.drawLine(a,b,c,!1,d);break;default:this.drawDiamond(a,b,c,!1,d)}},a.jqplot.ShadowRenderer=function(b){this.angle=45,this.offset=1,this.alpha=.07,this.lineWidth=1.5,this.lineJoin="miter",this.lineCap="round",this.closePath=!1,this.fill=!1,this.depth=3,this.strokeStyle="rgba(0,0,0,0.1)",this.isarc=!1,a.extend(!0,this,b)},a.jqplot.ShadowRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.ShadowRenderer.prototype.draw=function(b,c,d){b.save();var e=null!=d?d:{},f=null!=e.fill?e.fill:this.fill,g=null!=e.fillRect?e.fillRect:this.fillRect,h=null!=e.closePath?e.closePath:this.closePath,i=null!=e.offset?e.offset:this.offset,j=null!=e.alpha?e.alpha:this.alpha,k=null!=e.depth?e.depth:this.depth,l=null!=e.isarc?e.isarc:this.isarc,m=null!=e.linePattern?e.linePattern:this.linePattern;b.lineWidth=null!=e.lineWidth?e.lineWidth:this.lineWidth,b.lineJoin=null!=e.lineJoin?e.lineJoin:this.lineJoin,b.lineCap=null!=e.lineCap?e.lineCap:this.lineCap,b.strokeStyle=e.strokeStyle||this.strokeStyle||"rgba(0,0,0,"+j+")",b.fillStyle=e.fillStyle||this.fillStyle||"rgba(0,0,0,"+j+")";for(var n=0;k>n;n++){var o=a.jqplot.LinePattern(b,m);if(b.translate(Math.cos(this.angle*Math.PI/180)*i,Math.sin(this.angle*Math.PI/180)*i),o.beginPath(),l)b.arc(c[0],c[1],c[2],c[3],c[4],!0);else if(g)g&&b.fillRect(c[0],c[1],c[2],c[3]);else if(c&&c.length)for(var p=!0,q=0;q<c.length;q++)null!=c[q][0]&&null!=c[q][1]?p?(o.moveTo(c[q][0],c[q][1]),p=!1):o.lineTo(c[q][0],c[q][1]):p=!0;h&&o.closePath(),f?b.fill():b.stroke()}b.restore()},a.jqplot.ShapeRenderer=function(b){this.lineWidth=1.5,this.linePattern="solid",this.lineJoin="miter",this.lineCap="round",this.closePath=!1,this.fill=!1,this.isarc=!1,this.fillRect=!1,this.strokeRect=!1,this.clearRect=!1,this.strokeStyle="#999999",this.fillStyle="#999999",a.extend(!0,this,b)},a.jqplot.ShapeRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.ShapeRenderer.prototype.draw=function(b,c,d){b.save();var e=null!=d?d:{},f=null!=e.fill?e.fill:this.fill,g=null!=e.closePath?e.closePath:this.closePath,h=null!=e.fillRect?e.fillRect:this.fillRect,i=null!=e.strokeRect?e.strokeRect:this.strokeRect,j=null!=e.clearRect?e.clearRect:this.clearRect,k=null!=e.isarc?e.isarc:this.isarc,l=null!=e.linePattern?e.linePattern:this.linePattern,m=a.jqplot.LinePattern(b,l);if(b.lineWidth=e.lineWidth||this.lineWidth,b.lineJoin=e.lineJoin||this.lineJoin,b.lineCap=e.lineCap||this.lineCap,b.strokeStyle=e.strokeStyle||e.color||this.strokeStyle,b.fillStyle=e.fillStyle||this.fillStyle,b.beginPath(),k)return b.arc(c[0],c[1],c[2],c[3],c[4],!0),g&&b.closePath(),f?b.fill():b.stroke(),void b.restore();if(j)return b.clearRect(c[0],c[1],c[2],c[3]),void b.restore();if(h||i){if(h&&b.fillRect(c[0],c[1],c[2],c[3]),i)return b.strokeRect(c[0],c[1],c[2],c[3]),void b.restore()}else if(c&&c.length){for(var n=!0,o=0;o<c.length;o++)null!=c[o][0]&&null!=c[o][1]?n?(m.moveTo(c[o][0],c[o][1]),n=!1):m.lineTo(c[o][0],c[o][1]):n=!0;g&&m.closePath(),f?b.fill():b.stroke()}b.restore()},a.jqplot.TableLegendRenderer=function(){},a.jqplot.TableLegendRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.TableLegendRenderer.prototype.addrow=function(b,c,d,e){var f,g,h,i,j,k=d?this.rowSpacing+"px":"0px";h=document.createElement("tr"),f=a(h),f.addClass("jqplot-table-legend"),h=null,e?f.prependTo(this._elem):f.appendTo(this._elem),this.showSwatches&&(g=a(document.createElement("td")),g.addClass("jqplot-table-legend jqplot-table-legend-swatch"),g.css({textAlign:"center",paddingTop:k}),i=a(document.createElement("div")),i.addClass("jqplot-table-legend-swatch-outline"),j=a(document.createElement("div")),j.addClass("jqplot-table-legend-swatch"),j.css({backgroundColor:c,borderColor:c}),f.append(g.append(i.append(j)))),this.showLabels&&(g=a(document.createElement("td")),g.addClass("jqplot-table-legend jqplot-table-legend-label"),g.css("paddingTop",k),f.append(g),this.escapeHtml?g.text(b):g.html(b)),g=null,i=null,j=null,f=null,h=null},a.jqplot.TableLegendRenderer.prototype.draw=function(){if(this._elem&&(this._elem.emptyForce(),this._elem=null),this.show){var b=this._series,c=document.createElement("table");this._elem=a(c),this._elem.addClass("jqplot-table-legend");var d={position:"absolute"};this.background&&(d.background=this.background),this.border&&(d.border=this.border),this.fontSize&&(d.fontSize=this.fontSize),this.fontFamily&&(d.fontFamily=this.fontFamily),this.textColor&&(d.textColor=this.textColor),null!=this.marginTop&&(d.marginTop=this.marginTop),null!=this.marginBottom&&(d.marginBottom=this.marginBottom),null!=this.marginLeft&&(d.marginLeft=this.marginLeft),null!=this.marginRight&&(d.marginRight=this.marginRight);for(var e,f=!1,g=!1,h=0;h<b.length;h++)if(e=b[h],(e._stack||e.renderer.constructor==a.jqplot.BezierCurveRenderer)&&(g=!0),e.show&&e.showLabel){var i=this.labels[h]||e.label.toString();if(i){var j=e.color;g&&h<b.length-1?f=!0:g&&h==b.length-1&&(f=!1),this.renderer.addrow.call(this,i,j,f,g),f=!0}for(var k=0;k<a.jqplot.addLegendRowHooks.length;k++){var l=a.jqplot.addLegendRowHooks[k].call(this,e);l&&(this.renderer.addrow.call(this,l.label,l.color,f),f=!0)}i=null}}return this._elem},a.jqplot.TableLegendRenderer.prototype.pack=function(a){if(this.show)if("insideGrid"==this.placement)switch(this.location){case"nw":var b=a.left,c=a.top;this._elem.css("left",b),this._elem.css("top",c);break;case"n":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=a.top;this._elem.css("left",b),this._elem.css("top",c);break;case"ne":var b=a.right,c=a.top;this._elem.css({right:b,top:c});break;case"e":var b=a.right,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({right:b,top:c});break;case"se":var b=a.right,c=a.bottom;this._elem.css({right:b,bottom:c});break;case"s":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=a.bottom;this._elem.css({left:b,bottom:c});break;case"sw":var b=a.left,c=a.bottom;this._elem.css({left:b,bottom:c});break;case"w":var b=a.left,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({left:b,top:c});break;default:var b=a.right,c=a.bottom;this._elem.css({right:b,bottom:c})}else if("outside"==this.placement)switch(this.location){case"nw":var b=this._plotDimensions.width-a.left,c=a.top;this._elem.css("right",b),this._elem.css("top",c);break;case"n":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=this._plotDimensions.height-a.top;this._elem.css("left",b),this._elem.css("bottom",c);break;case"ne":var b=this._plotDimensions.width-a.right,c=a.top;this._elem.css({left:b,top:c});break;case"e":var b=this._plotDimensions.width-a.right,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({left:b,top:c});break;case"se":var b=this._plotDimensions.width-a.right,c=a.bottom;this._elem.css({left:b,bottom:c});break;case"s":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=this._plotDimensions.height-a.bottom;this._elem.css({left:b,top:c});break;case"sw":var b=this._plotDimensions.width-a.left,c=a.bottom;this._elem.css({right:b,bottom:c});break;case"w":var b=this._plotDimensions.width-a.left,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({right:b,top:c});break;default:var b=a.right,c=a.bottom;this._elem.css({right:b,bottom:c})}else switch(this.location){case"nw":this._elem.css({left:0,top:a.top});break;case"n":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2;this._elem.css({left:b,top:a.top});break;case"ne":this._elem.css({right:0,top:a.top});break;case"e":var c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({right:a.right,top:c});break;case"se":this._elem.css({right:a.right,bottom:a.bottom});break;case"s":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2;this._elem.css({left:b,bottom:a.bottom});break;case"sw":this._elem.css({left:a.left,bottom:a.bottom});break;case"w":var c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({left:a.left,top:c});break;default:this._elem.css({right:a.right,bottom:a.bottom})}},a.jqplot.ThemeEngine=function(){this.themes={},this.activeTheme=null},a.jqplot.ThemeEngine.prototype.init=function(){var b,c,d,e=new a.jqplot.Theme({_name:"Default"});for(b in e.target)"textColor"==b?e.target[b]=this.target.css("color"):e.target[b]=this.target.css(b);if(this.title.show&&this.title._elem)for(b in e.title)"textColor"==b?e.title[b]=this.title._elem.css("color"):e.title[b]=this.title._elem.css(b);for(b in e.grid)e.grid[b]=this.grid[b];if(null==e.grid.backgroundColor&&null!=this.grid.background&&(e.grid.backgroundColor=this.grid.background),this.legend.show&&this.legend._elem)for(b in e.legend)"textColor"==b?e.legend[b]=this.legend._elem.css("color"):e.legend[b]=this.legend._elem.css(b);var f;for(c=0;c<this.series.length;c++){f=this.series[c],f.renderer.constructor==a.jqplot.LineRenderer?e.series.push(new L):f.renderer.constructor==a.jqplot.BarRenderer?e.series.push(new N):f.renderer.constructor==a.jqplot.PieRenderer?e.series.push(new O):f.renderer.constructor==a.jqplot.DonutRenderer?e.series.push(new P):f.renderer.constructor==a.jqplot.FunnelRenderer?e.series.push(new Q):f.renderer.constructor==a.jqplot.MeterGaugeRenderer?e.series.push(new R):e.series.push({});for(b in e.series[c])e.series[c][b]=f[b]}var g,h;for(b in this.axes){if(h=this.axes[b],g=e.axes[b]=new I,g.borderColor=h.borderColor,g.borderWidth=h.borderWidth,h._ticks&&h._ticks[0])for(d in g.ticks)h._ticks[0].hasOwnProperty(d)?g.ticks[d]=h._ticks[0][d]:h._ticks[0]._elem&&(g.ticks[d]=h._ticks[0]._elem.css(d));if(h._label&&h._label.show)for(d in g.label)h._label[d]?g.label[d]=h._label[d]:h._label._elem&&("textColor"==d?g.label[d]=h._label._elem.css("color"):g.label[d]=h._label._elem.css(d))}this.themeEngine._add(e),this.themeEngine.activeTheme=this.themeEngine.themes[e._name]},a.jqplot.ThemeEngine.prototype.get=function(a){return a?this.themes[a]:this.activeTheme},a.jqplot.ThemeEngine.prototype.getThemeNames=function(){var a=[];for(var b in this.themes)a.push(b);return a.sort(z)},a.jqplot.ThemeEngine.prototype.getThemes=function(){var a=[],b=[];for(var c in this.themes)a.push(c);a.sort(z);for(var d=0;d<a.length;d++)b.push(this.themes[a[d]]);return b},a.jqplot.ThemeEngine.prototype.activate=function(b,c){var d=!1;if(!c&&this.activeTheme&&this.activeTheme._name&&(c=this.activeTheme._name),!this.themes.hasOwnProperty(c))throw new Error("No theme of that name");var e=this.themes[c];this.activeTheme=e;var f,g=["xaxis","x2axis","yaxis","y2axis"];for(p=0;p<g.length;p++){var h=g[p];null!=e.axesStyles.borderColor&&(b.axes[h].borderColor=e.axesStyles.borderColor),null!=e.axesStyles.borderWidth&&(b.axes[h].borderWidth=e.axesStyles.borderWidth)}for(var i in b.axes){var j=b.axes[i];if(j.show){var k=e.axes[i]||{},l=e.axesStyles,m=a.jqplot.extend(!0,{},k,l);if(f=null!=e.axesStyles.borderColor?e.axesStyles.borderColor:m.borderColor,null!=m.borderColor&&(j.borderColor=m.borderColor,d=!0),f=null!=e.axesStyles.borderWidth?e.axesStyles.borderWidth:m.borderWidth,null!=m.borderWidth&&(j.borderWidth=m.borderWidth,d=!0),j._ticks&&j._ticks[0])for(var n in m.ticks)f=m.ticks[n],null!=f&&(j.tickOptions[n]=f,j._ticks=[],d=!0);if(j._label&&j._label.show)for(var n in m.label)f=m.label[n],null!=f&&(j.labelOptions[n]=f,d=!0)}}for(var o in e.grid)null!=e.grid[o]&&(b.grid[o]=e.grid[o]);if(d||b.grid.draw(),b.legend.show)for(o in e.legend)null!=e.legend[o]&&(b.legend[o]=e.legend[o]);if(b.title.show)for(o in e.title)null!=e.title[o]&&(b.title[o]=e.title[o]);var p;for(p=0;p<e.series.length;p++){var q={};for(o in e.series[p])f=null!=e.seriesStyles[o]?e.seriesStyles[o]:e.series[p][o],null!=f&&(q[o]=f,"color"==o?(b.series[p].renderer.shapeRenderer.fillStyle=f,b.series[p].renderer.shapeRenderer.strokeStyle=f,b.series[p][o]=f):"lineWidth"==o||"linePattern"==o?(b.series[p].renderer.shapeRenderer[o]=f,b.series[p][o]=f):"markerOptions"==o?(B(b.series[p].markerOptions,f),B(b.series[p].markerRenderer,f)):b.series[p][o]=f,d=!0)}d&&(b.target.empty(),b.draw());for(o in e.target)null!=e.target[o]&&b.target.css(o,e.target[o])},a.jqplot.ThemeEngine.prototype._add=function(a,b){if(b&&(a._name=b),a._name||(a._name=Date.parse(new Date)),this.themes.hasOwnProperty(a._name))throw new Error("jqplot.ThemeEngine Error: Theme already in use");this.themes[a._name]=a},a.jqplot.ThemeEngine.prototype.remove=function(a){return"Default"==a?!1:delete this.themes[a]},a.jqplot.ThemeEngine.prototype.newTheme=function(b,c){"object"==typeof b&&(c=c||b,b=null),b=c&&c._name?c._name:b||Date.parse(new Date);var d=this.copy(this.themes.Default._name,b);return a.jqplot.extend(d,c),d},a.jqplot.clone=A,a.jqplot.merge=B,a.jqplot.extend=function(){var b,c=arguments[0]||{},d=1,e=arguments.length,f=!1;for("boolean"==typeof c&&(f=c,c=arguments[1]||{},d=2),"object"!=typeof c&&"[object Function]"===!toString.call(c)&&(c={});e>d;d++)if(null!=(b=arguments[d]))for(var g in b){var h=c[g],i=b[g];c!==i&&(f&&i&&"object"==typeof i&&!i.nodeType?c[g]=a.jqplot.extend(f,h||(null!=i.length?[]:{}),i):i!==F&&(c[g]=i))}return c},a.jqplot.ThemeEngine.prototype.rename=function(a,b){if("Default"==a||"Default"==b)throw new Error("jqplot.ThemeEngine Error: Cannot rename from/to Default");if(this.themes.hasOwnProperty(b))throw new Error("jqplot.ThemeEngine Error: New name already in use.");if(this.themes.hasOwnProperty(a)){var c=this.copy(a,b);return this.remove(a),c}throw new Error("jqplot.ThemeEngine Error: Old name or new name invalid")},a.jqplot.ThemeEngine.prototype.copy=function(b,c,d){if("Default"==c)throw new Error("jqplot.ThemeEngine Error: Cannot copy over Default theme");if(!this.themes.hasOwnProperty(b)){var e="jqplot.ThemeEngine Error: Source name invalid";throw new Error(e)}if(this.themes.hasOwnProperty(c)){var e="jqplot.ThemeEngine Error: Target name invalid";throw new Error(e)}var f=A(this.themes[b]);return f._name=c,a.jqplot.extend(!0,f,d),this._add(f),f},a.jqplot.Theme=function(b,c){"object"==typeof b&&(c=c||b,b=null),b=b||Date.parse(new Date),this._name=b,this.target={backgroundColor:null},this.legend={textColor:null,fontFamily:null,fontSize:null,border:null,background:null},this.title={textColor:null,fontFamily:null,fontSize:null,textAlign:null},this.seriesStyles={},this.series=[],this.grid={drawGridlines:null,gridLineColor:null,gridLineWidth:null,backgroundColor:null,borderColor:null,borderWidth:null,shadow:null},this.axesStyles={label:{},ticks:{}},this.axes={},"string"==typeof c?this._name=c:"object"==typeof c&&a.jqplot.extend(!0,this,c)};var I=function(){this.borderColor=null,this.borderWidth=null,this.ticks=new J,this.label=new K},J=function(){this.show=null,this.showGridline=null,this.showLabel=null,this.showMark=null,this.size=null,this.textColor=null,this.whiteSpace=null,this.fontSize=null,this.fontFamily=null},K=function(){this.textColor=null,this.whiteSpace=null,this.fontSize=null,
|
8 |
-
this.fontFamily=null,this.fontWeight=null},L=function(){this.color=null,this.lineWidth=null,this.linePattern=null,this.shadow=null,this.fillColor=null,this.showMarker=null,this.markerOptions=new M},M=function(){this.show=null,this.style=null,this.lineWidth=null,this.size=null,this.color=null,this.shadow=null},N=function(){this.color=null,this.seriesColors=null,this.lineWidth=null,this.shadow=null,this.barPadding=null,this.barMargin=null,this.barWidth=null,this.highlightColors=null},O=function(){this.seriesColors=null,this.padding=null,this.sliceMargin=null,this.fill=null,this.shadow=null,this.startAngle=null,this.lineWidth=null,this.highlightColors=null},P=function(){this.seriesColors=null,this.padding=null,this.sliceMargin=null,this.fill=null,this.shadow=null,this.startAngle=null,this.lineWidth=null,this.innerDiameter=null,this.thickness=null,this.ringMargin=null,this.highlightColors=null},Q=function(){this.color=null,this.lineWidth=null,this.shadow=null,this.padding=null,this.sectionMargin=null,this.seriesColors=null,this.highlightColors=null},R=function(){this.padding=null,this.backgroundColor=null,this.ringColor=null,this.tickColor=null,this.ringWidth=null,this.intervalColors=null,this.intervalInnerRadius=null,this.intervalOuterRadius=null,this.hubRadius=null,this.needleThickness=null,this.needlePad=null};a.fn.jqplotChildText=function(){return a(this).contents().filter(function(){return 3==this.nodeType}).text()},a.fn.jqplotGetComputedFontStyle=function(){for(var a=window.getComputedStyle?window.getComputedStyle(this[0],""):this[0].currentStyle,b=a["font-style"]?["font-style","font-weight","font-size","font-family"]:["fontStyle","fontWeight","fontSize","fontFamily"],c=[],d=0;d<b.length;++d){var e=String(a[b[d]]);e&&"normal"!=e&&c.push(e)}return c.join(" ")},a.fn.jqplotToImageCanvas=function(b){function c(b){var c=parseInt(a(b).css("line-height"),10);return isNaN(c)&&(c=1.2*parseInt(a(b).css("font-size"),10)),c}function d(b,d,e,f,g,h){for(var i=c(b),j=a(b).innerWidth(),k=(a(b).innerHeight(),e.split(/\s+/)),l=k.length,m="",n=[],o=g,p=f,q=0;l>q;q++)m+=k[q],d.measureText(m).width>j&&m.length>k[q].length&&(n.push(q),m="",q--);if(0===n.length)"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(e,p,g);else{m=k.slice(0,n[0]).join(" "),"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(m,p,o),o+=i;for(var q=1,r=n.length;r>q;q++)m=k.slice(n[q-1],n[q]).join(" "),"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(m,p,o),o+=i;m=k.slice(n[q-1],k.length).join(" "),"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(m,p,o)}}function e(b,c,f){var g=b.tagName.toLowerCase(),h=a(b).position(),i=window.getComputedStyle?window.getComputedStyle(b,""):b.currentStyle,j=c+h.left+parseInt(i.marginLeft,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.paddingLeft,10),k=f+h.top+parseInt(i.marginTop,10)+parseInt(i.borderTopWidth,10)+parseInt(i.paddingTop,10),l=m.width;if("div"!=g&&"span"!=g||a(b).hasClass("jqplot-highlighter-tooltip"))if("table"===g&&a(b).hasClass("jqplot-table-legend")){w.strokeStyle=a(b).css("border-top-color"),w.fillStyle=a(b).css("background-color"),w.fillRect(j,k,a(b).innerWidth(),a(b).innerHeight()),parseInt(a(b).css("border-top-width"),10)>0&&w.strokeRect(j,k,a(b).innerWidth(),a(b).innerHeight()),a(b).find("div.jqplot-table-legend-swatch-outline").each(function(){var b=a(this);w.strokeStyle=b.css("border-top-color");var c=j+b.position().left,d=k+b.position().top;w.strokeRect(c,d,b.innerWidth(),b.innerHeight()),c+=parseInt(b.css("padding-left"),10),d+=parseInt(b.css("padding-top"),10);var e=b.innerHeight()-2*parseInt(b.css("padding-top"),10),f=b.innerWidth()-2*parseInt(b.css("padding-left"),10),g=b.children("div.jqplot-table-legend-swatch");w.fillStyle=g.css("background-color"),w.fillRect(c,d,f,e)}),a(b).find("td.jqplot-table-legend-label").each(function(){var b=a(this),c=j+b.position().left,e=k+b.position().top+parseInt(b.css("padding-top"),10);w.font=b.jqplotGetComputedFontStyle(),w.fillStyle=b.css("color"),d(b,w,b.text(),c,e,l)})}else"canvas"==g&&w.drawImage(b,j,k);else{a(b).children().each(function(){e(this,j,k)});var n=a(b).jqplotChildText();n&&(w.font=a(b).jqplotGetComputedFontStyle(),w.fillStyle=a(b).css("color"),d(b,w,n,j,k,l))}}b=b||{};var f=null==b.x_offset?0:b.x_offset,g=null==b.y_offset?0:b.y_offset,h=null==b.backgroundColor?"rgb(255,255,255)":b.backgroundColor;if(0==a(this).width()||0==a(this).height())return null;if(a.jqplot.use_excanvas)return null;for(var i,j,k,l,m=document.createElement("canvas"),n=a(this).outerHeight(!0),o=a(this).outerWidth(!0),p=a(this).offset(),q=p.left,r=p.top,s=0,t=0,u=["jqplot-table-legend","jqplot-xaxis-tick","jqplot-x2axis-tick","jqplot-yaxis-tick","jqplot-y2axis-tick","jqplot-y3axis-tick","jqplot-y4axis-tick","jqplot-y5axis-tick","jqplot-y6axis-tick","jqplot-y7axis-tick","jqplot-y8axis-tick","jqplot-y9axis-tick","jqplot-xaxis-label","jqplot-x2axis-label","jqplot-yaxis-label","jqplot-y2axis-label","jqplot-y3axis-label","jqplot-y4axis-label","jqplot-y5axis-label","jqplot-y6axis-label","jqplot-y7axis-label","jqplot-y8axis-label","jqplot-y9axis-label"],v=0;v<u.length;v++)a(this).find("."+u[v]).each(function(){i=a(this).offset().top-r,j=a(this).offset().left-q,l=j+a(this).outerWidth(!0)+s,k=i+a(this).outerHeight(!0)+t,-s>j&&(o=o-s-j,s=-j),-t>i&&(n=n-t-i,t=-i),l>o&&(o=l),k>n&&(n=k)});m.width=o+Number(f),m.height=n+Number(g);var w=m.getContext("2d");return w.save(),w.fillStyle=h,w.fillRect(0,0,m.width,m.height),w.restore(),w.translate(s,t),w.textAlign="left",w.textBaseline="top",a(this).children().each(function(){e(this,f,g)}),m},a.fn.jqplotToImageStr=function(b){var c=a(this).jqplotToImageCanvas(b);return c?c.toDataURL("image/png"):null},a.fn.jqplotToImageElem=function(b){var c=document.createElement("img"),d=a(this).jqplotToImageStr(b);return c.src=d,c},a.fn.jqplotToImageElemStr=function(b){var c="<img src="+a(this).jqplotToImageStr(b)+" />";return c},a.fn.jqplotSaveImage=function(){var b=a(this).jqplotToImageStr({});b&&(window.location.href=b.replace("image/png","image/octet-stream"))},a.fn.jqplotViewImage=function(){var b=a(this).jqplotToImageElemStr({});a(this).jqplotToImageStr({});if(b){var c=window.open("");c.document.open("image/png"),c.document.write(b),c.document.close(),c=null}};var S=function(){switch(this.syntax=S.config.syntax,this._type="jsDate",this.proxy=new Date,this.options={},this.locale=S.regional.getLocale(),this.formatString="",this.defaultCentury=S.config.defaultCentury,arguments.length){case 0:break;case 1:if("[object Object]"==D(arguments[0])&&"jsDate"!=arguments[0]._type){var a=this.options=arguments[0];this.syntax=a.syntax||this.syntax,this.defaultCentury=a.defaultCentury||this.defaultCentury,this.proxy=S.createDate(a.date)}else this.proxy=S.createDate(arguments[0]);break;default:for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);this.proxy=new Date,this.proxy.setFullYear.apply(this.proxy,b.slice(0,3)),b.slice(3).length&&this.proxy.setHours.apply(this.proxy,b.slice(3))}};S.config={defaultLocale:"en",syntax:"perl",defaultCentury:1900},S.prototype.add=function(a,b){var c=V[b]||V.day;return"number"==typeof c?this.proxy.setTime(this.proxy.getTime()+c*a):c.add(this,a),this},S.prototype.clone=function(){return new S(this.proxy.getTime())},S.prototype.getUtcOffset=function(){return 6e4*this.proxy.getTimezoneOffset()},S.prototype.diff=function(a,b,c){if(a=new S(a),null===a)return null;var d=V[b]||V.day;if("number"==typeof d)var e=(this.proxy.getTime()-a.proxy.getTime())/d;else var e=d.diff(this.proxy,a.proxy);return c?e:Math[e>0?"floor":"ceil"](e)},S.prototype.getAbbrDayName=function(){return S.regional[this.locale].dayNamesShort[this.proxy.getDay()]},S.prototype.getAbbrMonthName=function(){return S.regional[this.locale].monthNamesShort[this.proxy.getMonth()]},S.prototype.getAMPM=function(){return this.proxy.getHours()>=12?"PM":"AM"},S.prototype.getAmPm=function(){return this.proxy.getHours()>=12?"pm":"am"},S.prototype.getCentury=function(){return parseInt(this.proxy.getFullYear()/100,10)},S.prototype.getDate=function(){return this.proxy.getDate()},S.prototype.getDay=function(){return this.proxy.getDay()},S.prototype.getDayOfWeek=function(){var a=this.proxy.getDay();return 0===a?7:a},S.prototype.getDayOfYear=function(){var a=this.proxy,b=a-new Date(""+a.getFullYear()+"/1/1 GMT");return b+=6e4*a.getTimezoneOffset(),a=null,parseInt(b/6e4/60/24,10)+1},S.prototype.getDayName=function(){return S.regional[this.locale].dayNames[this.proxy.getDay()]},S.prototype.getFullWeekOfYear=function(){var a=this.proxy,b=this.getDayOfYear(),c=6-a.getDay(),d=parseInt((b+c)/7,10);return d},S.prototype.getFullYear=function(){return this.proxy.getFullYear()},S.prototype.getGmtOffset=function(){var a=this.proxy.getTimezoneOffset()/60,b=0>a?"+":"-";return a=Math.abs(a),b+U(Math.floor(a),2)+":"+U(a%1*60,2)},S.prototype.getHours=function(){return this.proxy.getHours()},S.prototype.getHours12=function(){var a=this.proxy.getHours();return a>12?a-12:0==a?12:a},S.prototype.getIsoWeek=function(){var a=this.proxy,b=this.getWeekOfYear(),c=new Date(""+a.getFullYear()+"/1/1").getDay(),d=b+(c>4||1>=c?0:1);return 53==d&&new Date(""+a.getFullYear()+"/12/31").getDay()<4?d=1:0===d&&(a=new S(new Date(""+(a.getFullYear()-1)+"/12/31")),d=a.getIsoWeek()),a=null,d},S.prototype.getMilliseconds=function(){return this.proxy.getMilliseconds()},S.prototype.getMinutes=function(){return this.proxy.getMinutes()},S.prototype.getMonth=function(){return this.proxy.getMonth()},S.prototype.getMonthName=function(){return S.regional[this.locale].monthNames[this.proxy.getMonth()]},S.prototype.getMonthNumber=function(){return this.proxy.getMonth()+1},S.prototype.getSeconds=function(){return this.proxy.getSeconds()},S.prototype.getShortYear=function(){return this.proxy.getYear()%100},S.prototype.getTime=function(){return this.proxy.getTime()},S.prototype.getTimezoneAbbr=function(){return this.proxy.toString().replace(/^.*\(([^)]+)\)$/,"$1")},S.prototype.getTimezoneName=function(){var a=/(?:\((.+)\)$| ([A-Z]{3}) )/.exec(this.toString());return a[1]||a[2]||"GMT"+this.getGmtOffset()},S.prototype.getTimezoneOffset=function(){return this.proxy.getTimezoneOffset()},S.prototype.getWeekOfYear=function(){var a=this.getDayOfYear(),b=7-this.getDayOfWeek(),c=parseInt((a+b)/7,10);return c},S.prototype.getUnix=function(){return Math.round(this.proxy.getTime()/1e3,0)},S.prototype.getYear=function(){return this.proxy.getYear()},S.prototype.next=function(a){return a=a||"day",this.clone().add(1,a)},S.prototype.set=function(){switch(arguments.length){case 0:this.proxy=new Date;break;case 1:if("[object Object]"==D(arguments[0])&&"jsDate"!=arguments[0]._type){var a=this.options=arguments[0];this.syntax=a.syntax||this.syntax,this.defaultCentury=a.defaultCentury||this.defaultCentury,this.proxy=S.createDate(a.date)}else this.proxy=S.createDate(arguments[0]);break;default:for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);this.proxy=new Date,this.proxy.setFullYear.apply(this.proxy,b.slice(0,3)),b.slice(3).length&&this.proxy.setHours.apply(this.proxy,b.slice(3))}return this},S.prototype.setDate=function(a){return this.proxy.setDate(a),this},S.prototype.setFullYear=function(){return this.proxy.setFullYear.apply(this.proxy,arguments),this},S.prototype.setHours=function(){return this.proxy.setHours.apply(this.proxy,arguments),this},S.prototype.setMilliseconds=function(a){return this.proxy.setMilliseconds(a),this},S.prototype.setMinutes=function(){return this.proxy.setMinutes.apply(this.proxy,arguments),this},S.prototype.setMonth=function(){return this.proxy.setMonth.apply(this.proxy,arguments),this},S.prototype.setSeconds=function(){return this.proxy.setSeconds.apply(this.proxy,arguments),this},S.prototype.setTime=function(a){return this.proxy.setTime(a),this},S.prototype.setYear=function(){return this.proxy.setYear.apply(this.proxy,arguments),this},S.prototype.strftime=function(a){return a=a||this.formatString||S.regional[this.locale].formatString,S.strftime(this,a,this.syntax)},S.prototype.toString=function(){return this.proxy.toString()},S.prototype.toYmdInt=function(){return 1e4*this.proxy.getFullYear()+100*this.getMonthNumber()+this.proxy.getDate()},S.regional={en:{monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],formatString:"%Y-%m-%d %H:%M:%S"},fr:{monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Jan","Fév","Mar","Avr","Mai","Jun","Jul","Aoû","Sep","Oct","Nov","Déc"],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],formatString:"%Y-%m-%d %H:%M:%S"},de:{monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],formatString:"%Y-%m-%d %H:%M:%S"},es:{monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],formatString:"%Y-%m-%d %H:%M:%S"},ru:{monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],formatString:"%Y-%m-%d %H:%M:%S"},ar:{monthNames:["كانون الثاني","شباط","آذار","نيسان","آذار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["السبت","الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة"],dayNamesShort:["سبت","أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة"],formatString:"%Y-%m-%d %H:%M:%S"},pt:{monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],formatString:"%Y-%m-%d %H:%M:%S"},"pt-BR":{monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],formatString:"%Y-%m-%d %H:%M:%S"},pl:{monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Paź","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Ni","Pn","Wt","Śr","Cz","Pt","Sb"],formatString:"%Y-%m-%d %H:%M:%S"},nl:{monthNames:["Januari","Februari","Maart","April","Mei","Juni","July","Augustus","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:",".Zaterdag,dayNamesShort:["Zo","Ma","Di","Wo","Do","Vr","Za"],formatString:"%Y-%m-%d %H:%M:%S"},sv:{monthNames:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],monthNamesShort:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],dayNames:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],dayNamesShort:["sön","mån","tis","ons","tor","fre","lör"],formatString:"%Y-%m-%d %H:%M:%S"},it:{monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedi","Martedi","Mercoledi","Giovedi","Venerdi","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],formatString:"%d-%m-%Y %H:%M:%S"}},S.regional["en-US"]=S.regional["en-GB"]=S.regional.en,S.regional.getLocale=function(){var a=S.config.defaultLocale;return document&&document.getElementsByTagName("html")&&document.getElementsByTagName("html")[0].lang&&(a=document.getElementsByTagName("html")[0].lang,S.regional.hasOwnProperty(a)||(a=S.config.defaultLocale)),a};var T=864e5,U=function(a,b){a=String(a);var c=b-a.length,d=String(Math.pow(10,c)).slice(1);return d.concat(a)},V={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:T,week:7*T,month:{add:function(a,b){V.year.add(a,Math[b>0?"floor":"ceil"](b/12));var c=a.getMonth()+b%12;12==c?(c=0,a.setYear(a.getFullYear()+1)):-1==c&&(c=11,a.setYear(a.getFullYear()-1)),a.setMonth(c)},diff:function(a,b){var c=a.getFullYear()-b.getFullYear(),d=a.getMonth()-b.getMonth()+12*c,e=a.getDate()-b.getDate();return d+e/30}},year:{add:function(a,b){a.setYear(a.getFullYear()+Math[b>0?"floor":"ceil"](b))},diff:function(a,b){return V.month.diff(a,b)/12}}};for(var W in V)"s"!=W.substring(W.length-1)&&(V[W+"s"]=V[W]);var X=function(a,b,c){if(S.formats[c].shortcuts[b])return S.strftime(a,S.formats[c].shortcuts[b],c);var d=(S.formats[c].codes[b]||"").split("."),e=a["get"+d[0]]?a["get"+d[0]]():"";return d[1]&&(e=U(e,d[1])),e};S.strftime=function(a,b,c,d){var e="perl",f=S.regional.getLocale();c&&S.formats.hasOwnProperty(c)?e=c:c&&S.regional.hasOwnProperty(c)&&(f=c),d&&S.formats.hasOwnProperty(d)?e=d:d&&S.regional.hasOwnProperty(d)&&(f=d),("[object Object]"!=D(a)||"jsDate"!=a._type)&&(a=new S(a),a.locale=f),b||(b=a.formatString||S.regional[f].formatString);for(var g,h=b||"%Y-%m-%d",i="";h.length>0;)(g=h.match(S.formats[e].codes.matcher))?(i+=h.slice(0,g.index),i+=(g[1]||"")+X(a,g[2],e),h=h.slice(g.index+g[0].length)):(i+=h,h="");return i},S.formats={ISO:"%Y-%m-%dT%H:%M:%S.%N%G",SQL:"%Y-%m-%d %H:%M:%S"},S.formats.perl={codes:{matcher:/()%(#?(%|[a-z]))/i,Y:"FullYear",y:"ShortYear.2",m:"MonthNumber.2","#m":"MonthNumber",B:"MonthName",b:"AbbrMonthName",d:"Date.2","#d":"Date",e:"Date",A:"DayName",a:"AbbrDayName",w:"Day",H:"Hours.2","#H":"Hours",I:"Hours12.2","#I":"Hours12",p:"AMPM",M:"Minutes.2","#M":"Minutes",S:"Seconds.2","#S":"Seconds",s:"Unix",N:"Milliseconds.3","#N":"Milliseconds",O:"TimezoneOffset",Z:"TimezoneName",G:"GmtOffset"},shortcuts:{F:"%Y-%m-%d",T:"%H:%M:%S",X:"%H:%M:%S",x:"%m/%d/%y",D:"%m/%d/%y","#c":"%a %b %e %H:%M:%S %Y",v:"%e-%b-%Y",R:"%H:%M",r:"%I:%M:%S %p",t:" ",n:"\n","%":"%"}},S.formats.php={codes:{matcher:/()%((%|[a-z]))/i,a:"AbbrDayName",A:"DayName",d:"Date.2",e:"Date",j:"DayOfYear.3",u:"DayOfWeek",w:"Day",U:"FullWeekOfYear.2",V:"IsoWeek.2",W:"WeekOfYear.2",b:"AbbrMonthName",B:"MonthName",m:"MonthNumber.2",h:"AbbrMonthName",C:"Century.2",y:"ShortYear.2",Y:"FullYear",H:"Hours.2",I:"Hours12.2",l:"Hours12",p:"AMPM",P:"AmPm",M:"Minutes.2",S:"Seconds.2",s:"Unix",O:"TimezoneOffset",z:"GmtOffset",Z:"TimezoneAbbr"},shortcuts:{D:"%m/%d/%y",F:"%Y-%m-%d",T:"%H:%M:%S",X:"%H:%M:%S",x:"%m/%d/%y",R:"%H:%M",r:"%I:%M:%S %p",t:" ",n:"\n","%":"%"}},S.createDate=function(a){function b(a,b){var c,d,e,f,g=parseFloat(b[1]),h=parseFloat(b[2]),i=parseFloat(b[3]),j=S.config.defaultCentury;return g>31?(d=i,e=h,c=j+g):(d=h,e=g,c=j+i),f=e+"/"+d+"/"+c,a.replace(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})/,f)}if(null==a)return new Date;if(a instanceof Date)return a;if("number"==typeof a)return new Date(a);var c=String(a).replace(/^\s*(.+)\s*$/g,"$1");c=c.replace(/^([0-9]{1,4})-([0-9]{1,2})-([0-9]{1,4})/,"$1/$2/$3"),c=c.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{4})/i,"$1 $2 $3");var d=c.match(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i);if(d&&d.length>3){var e=parseFloat(d[3]),f=S.config.defaultCentury+e;f=String(f),c=c.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i,d[1]+" "+d[2]+" "+f)}d=c.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})[^0-9]/),d&&d.length>3&&(c=b(c,d));var d=c.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})$/);d&&d.length>3&&(c=b(c,d));for(var g,h,i,j=0,k=S.matchers.length,l=c;k>j;){if(h=Date.parse(l),!isNaN(h))return new Date(h);if(g=S.matchers[j],"function"==typeof g){if(i=g.call(S,l),i instanceof Date)return i}else l=c.replace(g[0],g[1]);j++}return NaN},S.daysInMonth=function(a,b){return 2==b?29==new Date(a,1,29).getDate()?29:28:[F,31,F,31,30,31,30,31,31,30,31,30,31][b]},S.matchers=[[/(3[01]|[0-2]\d)\s*\.\s*(1[0-2]|0\d)\s*\.\s*([1-9]\d{3})/,"$2/$1/$3"],[/([1-9]\d{3})\s*-\s*(1[0-2]|0\d)\s*-\s*(3[01]|[0-2]\d)/,"$2/$3/$1"],function(a){var b=a.match(/^(?:(.+)\s+)?([012]?\d)(?:\s*\:\s*(\d\d))?(?:\s*\:\s*(\d\d(\.\d*)?))?\s*(am|pm)?\s*$/i);if(b){if(b[1]){var c=this.createDate(b[1]);if(isNaN(c))return}else{var c=new Date;c.setMilliseconds(0)}var d=parseFloat(b[2]);return b[6]&&(d="am"==b[6].toLowerCase()?12==d?0:d:12==d?12:d+12),c.setHours(d,parseInt(b[3]||0,10),parseInt(b[4]||0,10),1e3*(parseFloat(b[5]||0)||0)),c}return a},function(a){var b=a.match(/^(?:(.+))[T|\s+]([012]\d)(?:\:(\d\d))(?:\:(\d\d))(?:\.\d+)([\+\-]\d\d\:\d\d)$/i);if(b){if(b[1]){var c=this.createDate(b[1]);if(isNaN(c))return}else{var c=new Date;c.setMilliseconds(0)}var d=parseFloat(b[2]);return c.setHours(d,parseInt(b[3],10),parseInt(b[4],10),1e3*parseFloat(b[5])),c}return a},function(a){var b=a.match(/^([0-3]?\d)\s*[-\/.\s]{1}\s*([a-zA-Z]{3,9})\s*[-\/.\s]{1}\s*([0-3]?\d)$/);if(b){var c,d,e,f=new Date,g=S.config.defaultCentury,h=parseFloat(b[1]),i=parseFloat(b[3]);h>31?(d=i,c=g+h):(d=h,c=g+i);var e=C(b[2],S.regional[S.regional.getLocale()].monthNamesShort);return-1==e&&(e=C(b[2],S.regional[S.regional.getLocale()].monthNames)),f.setFullYear(c,e,d),f.setHours(0,0,0,0),f}return a}],a.jsDate=S,a.jqplot.sprintf=function(){function b(a,b,c,d){var e=a.length>=b?"":Array(1+b-a.length>>>0).join(c);return d?a+e:e+a}function c(b){for(var c=new String(b),d=10;d>0&&c!=(c=c.replace(/^(\d+)(\d{3})/,"$1"+a.jqplot.sprintf.thousandsSeparator+"$2"));d--);return c}function d(a,c,d,e,f,g){var h=e-a.length;if(h>0){var i=" ";g&&(i=" "),a=d||!f?b(a,e,i,d):a.slice(0,c.length)+b("",h,"0",!0)+a.slice(c.length)}return a}function e(a,c,e,f,g,h,i,j){var k=a>>>0;return e=e&&k&&{2:"0b",8:"0",16:"0x"}[c]||"",a=e+b(k.toString(c),h||0,"0",!1),d(a,e,f,g,i,j)}function f(a,b,c,e,f,g){return null!=e&&(a=a.slice(0,e)),d(a,"",b,c,f,g)}var g=arguments,h=0,i=g[h++];return i.replace(a.jqplot.sprintf.regex,function(i,j,k,l,m,n,o){if("%%"==i)return"%";for(var p=!1,q="",r=!1,s=!1,t=!1,u=!1,v=0;k&&v<k.length;v++)switch(k.charAt(v)){case" ":q=" ";break;case"+":q="+";break;case"-":p=!0;break;case"0":r=!0;break;case"#":s=!0;break;case"&":t=!0;break;case"'":u=!0}if(l=l?"*"==l?+g[h++]:"*"==l.charAt(0)?+g[l.slice(1,-1)]:+l:0,0>l&&(l=-l,p=!0),!isFinite(l))throw new Error("$.jqplot.sprintf: (minimum-)width must be finite");n=n?"*"==n?+g[h++]:"*"==n.charAt(0)?+g[n.slice(1,-1)]:+n:"fFeE".indexOf(o)>-1?6:"d"==o?0:void 0;var w=j?g[j.slice(0,-1)]:g[h++];switch(o){case"s":return null==w?"":f(String(w),p,l,n,r,t);case"c":return f(String.fromCharCode(+w),p,l,n,r,t);case"b":return e(w,2,s,p,l,n,r,t);case"o":return e(w,8,s,p,l,n,r,t);case"x":return e(w,16,s,p,l,n,r,t);case"X":return e(w,16,s,p,l,n,r,t).toUpperCase();case"u":return e(w,10,s,p,l,n,r,t);case"i":var x=parseInt(+w,10);if(isNaN(x))return"";var y=0>x?"-":q,z=u?c(String(Math.abs(x))):String(Math.abs(x));return w=y+b(z,n,"0",!1),d(w,y,p,l,r,t);case"d":var x=Math.round(+w);if(isNaN(x))return"";var y=0>x?"-":q,z=u?c(String(Math.abs(x))):String(Math.abs(x));return w=y+b(z,n,"0",!1),d(w,y,p,l,r,t);case"e":case"E":case"f":case"F":case"g":case"G":var x=+w;if(isNaN(x))return"";var y=0>x?"-":q,A=["toExponential","toFixed","toPrecision"]["efg".indexOf(o.toLowerCase())],B=["toString","toUpperCase"]["eEfFgG".indexOf(o)%2],z=Math.abs(x)[A](n),C=z.toString().split(".");C[0]=u?c(C[0]):C[0],z=C.join(a.jqplot.sprintf.decimalMark),w=y+z;var D=d(w,y,p,l,r,t)[B]();return D;case"p":case"P":var x=+w;if(isNaN(x))return"";var y=0>x?"-":q,C=String(Number(Math.abs(x)).toExponential()).split(/e|E/),E=-1!=C[0].indexOf(".")?C[0].length-1:String(x).length,F=C[1]<0?-C[1]-1:0;if(Math.abs(x)<1)w=n>=E+F?y+Math.abs(x).toPrecision(E):n-1>=E?y+Math.abs(x).toExponential(E-1):y+Math.abs(x).toExponential(n-1);else{var G=n>=E?E:n;w=y+Math.abs(x).toPrecision(G)}var B=["toString","toUpperCase"]["pP".indexOf(o)%2];return d(w,y,p,l,r,t)[B]();case"n":return"";default:return i}})},a.jqplot.sprintf.thousandsSeparator=",",a.jqplot.sprintf.decimalMark=".",a.jqplot.sprintf.regex=/%%|%(\d+\$)?([-+#0&\' ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([nAscboxXuidfegpEGP])/g,a.jqplot.getSignificantFigures=function(a){var b=String(Number(Math.abs(a)).toExponential()).split(/e|E/),c=-1!=b[0].indexOf(".")?b[0].length-1:b[0].length,d=b[1]<0?-b[1]-1:0,e=parseInt(b[1],10),f=e+1>0?e+1:0,g=f>=c?0:c-e-1;return{significantDigits:c,digitsLeft:f,digitsRight:g,zeros:d,exponent:e}},a.jqplot.getPrecision=function(b){return a.jqplot.getSignificantFigures(b).digitsRight};var Y=a.uiBackCompat!==!1;a.jqplot.effects={effect:{}};var Z="jqplot.storage.";a.extend(a.jqplot.effects,{version:"1.9pre",save:function(a,b){for(var c=0;c<b.length;c++)null!==b[c]&&a.data(Z+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c=0;c<b.length;c++)null!==b[c]&&a.css(b[c],a.data(Z+b[c]))},setMode:function(a,b){return"toggle"===b&&(b=a.is(":hidden")?"show":"hide"),b},createWrapper:function(b){if(b.parent().is(".ui-effects-wrapper"))return b.parent();var c={width:b.outerWidth(!0),height:b.outerHeight(!0),"float":b.css("float")},d=a("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:b.width(),height:b.height()},f=document.activeElement;return b.wrap(d),(b[0]===f||a.contains(b[0],f))&&a(f).focus(),d=b.parent(),"static"===b.css("position")?(d.css({position:"relative"}),b.css({position:"relative"})):(a.extend(c,{position:b.css("position"),zIndex:b.css("z-index")}),a.each(["top","left","bottom","right"],function(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&&(c[d]="auto")}),b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),b.css(e),d.css(c).show()},removeWrapper:function(b){var c=document.activeElement;return b.parent().is(".ui-effects-wrapper")&&(b.parent().replaceWith(b),(b[0]===c||a.contains(b[0],c))&&a(c).focus()),b}}),a.fn.extend({jqplotEffect:function(b,c,d,e){function f(b){function c(){a.isFunction(e)&&e.call(d[0]),a.isFunction(b)&&b()}var d=a(this),e=g.complete,f=g.mode;(d.is(":hidden")?"hide"===f:"show"===f)?c():j.call(d[0],g,c)}var g=E.apply(this,arguments),h=g.mode,i=g.queue,j=a.jqplot.effects.effect[g.effect],k=!j&&Y&&a.jqplot.effects[g.effect];return a.fx.off||!j&&!k?h?this[h](g.duration,g.complete):this.each(function(){g.complete&&g.complete.call(this)}):j?i===!1?this.each(f):this.queue(i||"fx",f):k.call(this,{options:g,duration:g.duration,callback:g.complete,mode:g.mode})}});var $=/up|down|vertical/,_=/up|left|vertical|horizontal/;a.jqplot.effects.effect.blind=function(b,c){var d,e,f,g=a(this),h=["position","top","bottom","left","right","height","width"],i=a.jqplot.effects.setMode(g,b.mode||"hide"),j=b.direction||"up",k=$.test(j),l=k?"height":"width",m=k?"top":"left",n=_.test(j),o={},p="show"===i;g.parent().is(".ui-effects-wrapper")?a.jqplot.effects.save(g.parent(),h):a.jqplot.effects.save(g,h),g.show(),f=parseInt(g.css("top"),10),d=a.jqplot.effects.createWrapper(g).css({overflow:"hidden"}),e=k?d[l]()+f:d[l](),o[l]=p?String(e):"0",n||(g.css(k?"bottom":"right",0).css(k?"top":"left","").css({position:"absolute"}),o[m]=p?"0":String(e)),p&&(d.css(l,0),n||d.css(m,e)),d.animate(o,{duration:b.duration,easing:b.easing,queue:!1,complete:function(){"hide"===i&&g.hide(),a.jqplot.effects.restore(g,h),a.jqplot.effects.removeWrapper(g),c()}})}}(jQuery);
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
*/
|
4 |
+
!function(a){function b(b){a.jqplot.ElemContainer.call(this),this.name=b,this._series=[],this.show=!1,this.tickRenderer=a.jqplot.AxisTickRenderer,this.tickOptions={},this.labelRenderer=a.jqplot.AxisLabelRenderer,this.labelOptions={},this.label=null,this.showLabel=!0,this.min=null,this.max=null,this.autoscale=!1,this.pad=1.2,this.padMax=null,this.padMin=null,this.ticks=[],this.numberTicks,this.tickInterval,this.renderer=a.jqplot.LinearAxisRenderer,this.rendererOptions={},this.showTicks=!0,this.showTickMarks=!0,this.showMinorTicks=!0,this.drawMajorGridlines=!0,this.drawMinorGridlines=!1,this.drawMajorTickMarks=!0,this.drawMinorTickMarks=!0,this.useSeriesColor=!1,this.borderWidth=null,this.borderColor=null,this.scaleToHiddenSeries=!1,this._dataBounds={min:null,max:null},this._intervalStats=[],this._offsets={min:null,max:null},this._ticks=[],this._label=null,this.syncTicks=null,this.tickSpacing=75,this._min=null,this._max=null,this._tickInterval=null,this._numberTicks=null,this.__ticks=null,this._options={}}function c(b){a.jqplot.ElemContainer.call(this),this.show=!1,this.location="ne",this.labels=[],this.showLabels=!0,this.showSwatches=!0,this.placement="insideGrid",this.xoffset=0,this.yoffset=0,this.border,this.background,this.textColor,this.fontFamily,this.fontSize,this.rowSpacing="0.5em",this.renderer=a.jqplot.TableLegendRenderer,this.rendererOptions={},this.preDraw=!1,this.marginTop=null,this.marginRight=null,this.marginBottom=null,this.marginLeft=null,this.escapeHtml=!1,this._series=[],a.extend(!0,this,b)}function d(b){a.jqplot.ElemContainer.call(this),this.text=b,this.show=!0,this.fontFamily,this.fontSize,this.textAlign,this.textColor,this.renderer=a.jqplot.DivTitleRenderer,this.rendererOptions={},this.escapeHtml=!1}function e(b){b=b||{},a.jqplot.ElemContainer.call(this),this.show=!0,this.xaxis="xaxis",this._xaxis,this.yaxis="yaxis",this._yaxis,this.gridBorderWidth=2,this.renderer=a.jqplot.LineRenderer,this.rendererOptions={},this.data=[],this.gridData=[],this.label="",this.showLabel=!0,this.color,this.negativeColor,this.lineWidth=2.5,this.lineJoin="round",this.lineCap="round",this.linePattern="solid",this.shadow=!0,this.shadowAngle=45,this.shadowOffset=1.25,this.shadowDepth=3,this.shadowAlpha="0.1",this.breakOnNull=!1,this.markerRenderer=a.jqplot.MarkerRenderer,this.markerOptions={},this.showLine=!0,this.showMarker=!0,this.index,this.fill=!1,this.fillColor,this.fillAlpha,this.fillAndStroke=!1,this.disableStack=!1,this._stack=!1,this.neighborThreshold=4,this.fillToZero=!1,this.fillToValue=0,this.fillAxis="y",this.useNegativeColors=!0,this._stackData=[],this._plotData=[],this._plotValues={x:[],y:[]},this._intervals={x:{},y:{}},this._prevPlotData=[],this._prevGridData=[],this._stackAxis="y",this._primaryAxis="_xaxis",this.canvas=new a.jqplot.GenericCanvas,this.shadowCanvas=new a.jqplot.GenericCanvas,this.plugins={},this._sumy=0,this._sumx=0,this._type="",this.step=!1}function f(){a.jqplot.ElemContainer.call(this),this.drawGridlines=!0,this.gridLineColor="#cccccc",this.gridLineWidth=1,this.background="#fffdf6",this.borderColor="#999999",this.borderWidth=2,this.drawBorder=!0,this.shadow=!0,this.shadowAngle=45,this.shadowOffset=1.5,this.shadowWidth=3,this.shadowDepth=3,this.shadowColor=null,this.shadowAlpha="0.07",this._left,this._top,this._right,this._bottom,this._width,this._height,this._axes=[],this.renderer=a.jqplot.CanvasGridRenderer,this.rendererOptions={},this._offsets={top:null,bottom:null,left:null,right:null}}function g(){function h(a){for(var b,c=0;c<a.length;c++)for(var d,e=[a[c].data,a[c]._stackData,a[c]._plotData,a[c]._prevPlotData],f=0;f<4;f++)if(d=!0,b=e[f],"x"==a[c]._stackAxis){for(var g=0;g<b.length;g++)if("number"!=typeof b[g][1]){d=!1;break}d&&b.sort(function(a,b){return a[1]-b[1]})}else{for(var g=0;g<b.length;g++)if("number"!=typeof b[g][0]){d=!1;break}d&&b.sort(function(a,b){return a[0]-b[0]})}}function i(a){var b,c,d=a.data.plot,e=d.eventCanvas._elem.offset(),f={x:a.pageX-e.left,y:a.pageY-e.top},g={xaxis:null,yaxis:null,x2axis:null,y2axis:null,y3axis:null,y4axis:null,y5axis:null,y6axis:null,y7axis:null,y8axis:null,y9axis:null,yMidAxis:null},h=["xaxis","yaxis","x2axis","y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis","yMidAxis"],i=d.axes;for(b=11;b>0;b--)c=h[b-1],i[c].show&&(g[c]=i[c].series_p2u(f[c.charAt(0)]));return{offsets:e,gridPos:f,dataPos:g}}function j(b,c){function d(a,b,c){var d=(b[1]-c[1])/(b[0]-c[0]),e=b[1]-d*b[0],f=a+b[1];return[(f-e)/d,f]}var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x=c.series;for(g=c.seriesStack.length-1;g>=0;g--)switch(e=c.seriesStack[g],h=x[e],u=h._highlightThreshold,h.renderer.constructor){case a.jqplot.BarRenderer:for(j=b.x,k=b.y,f=0;f<h._barPoints.length;f++)if(t=h._barPoints[f],s=h.gridData[f],j>t[0][0]&&j<t[2][0]&&(k>t[2][1]&&k<t[0][1]||k<t[2][1]&&k>t[0][1]))return{seriesIndex:h.index,pointIndex:f,gridData:s,data:h.data[f],points:h._barPoints[f]};break;case a.jqplot.PyramidRenderer:for(j=b.x,k=b.y,f=0;f<h._barPoints.length;f++)if(t=h._barPoints[f],s=h.gridData[f],j>t[0][0]+u[0][0]&&j<t[2][0]+u[2][0]&&k>t[2][1]&&k<t[0][1])return{seriesIndex:h.index,pointIndex:f,gridData:s,data:h.data[f],points:h._barPoints[f]};break;case a.jqplot.DonutRenderer:if(n=h.startAngle/180*Math.PI,j=b.x-h._center[0],k=b.y-h._center[1],i=Math.sqrt(Math.pow(j,2)+Math.pow(k,2)),j>0&&-k>=0?l=2*Math.PI-Math.atan(-k/j):j>0&&-k<0?l=-Math.atan(-k/j):j<0?l=Math.PI-Math.atan(-k/j):0==j&&-k>0?l=3*Math.PI/2:0==j&&-k<0?l=Math.PI/2:0==j&&0==k&&(l=0),n&&(l-=n,l<0?l+=2*Math.PI:l>2*Math.PI&&(l-=2*Math.PI)),m=h.sliceMargin/180*Math.PI,i<h._radius&&i>h._innerRadius)for(f=0;f<h.gridData.length;f++)if(o=f>0?h.gridData[f-1][1]+m:m,p=h.gridData[f][1],l>o&&l<p)return{seriesIndex:h.index,pointIndex:f,gridData:[b.x,b.y],data:h.data[f]};break;case a.jqplot.PieRenderer:if(n=h.startAngle/180*Math.PI,j=b.x-h._center[0],k=b.y-h._center[1],i=Math.sqrt(Math.pow(j,2)+Math.pow(k,2)),j>0&&-k>=0?l=2*Math.PI-Math.atan(-k/j):j>0&&-k<0?l=-Math.atan(-k/j):j<0?l=Math.PI-Math.atan(-k/j):0==j&&-k>0?l=3*Math.PI/2:0==j&&-k<0?l=Math.PI/2:0==j&&0==k&&(l=0),n&&(l-=n,l<0?l+=2*Math.PI:l>2*Math.PI&&(l-=2*Math.PI)),m=h.sliceMargin/180*Math.PI,i<h._radius)for(f=0;f<h.gridData.length;f++)if(o=f>0?h.gridData[f-1][1]+m:m,p=h.gridData[f][1],l>o&&l<p)return{seriesIndex:h.index,pointIndex:f,gridData:[b.x,b.y],data:h.data[f]};break;case a.jqplot.BubbleRenderer:j=b.x,k=b.y;var y=null;if(h.show){for(var f=0;f<h.gridData.length;f++)s=h.gridData[f],r=Math.sqrt((j-s[0])*(j-s[0])+(k-s[1])*(k-s[1])),r<=s[2]&&(r<=q||null==q)&&(q=r,y={seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]});if(null!=y)return y}break;case a.jqplot.FunnelRenderer:j=b.x,k=b.y;var z,A,B,C=h._vertices,D=C[0],E=C[C.length-1];for(z=d(k,D[0],E[3]),A=d(k,D[1],E[2]),f=0;f<C.length;f++)if(B=C[f],k>=B[0][1]&&k<=B[3][1]&&j>=z[0]&&j<=A[0])return{seriesIndex:h.index,pointIndex:f,gridData:null,data:h.data[f]};break;case a.jqplot.LineRenderer:if(j=b.x,k=b.y,i=h.renderer,h.show){if(!(!(h.fill||h.renderer.bands.show&&h.renderer.bands.fill)||c.plugins.highlighter&&c.plugins.highlighter.show)){var F=!1;if(j>h._boundingBox[0][0]&&j<h._boundingBox[1][0]&&k>h._boundingBox[1][1]&&k<h._boundingBox[0][1])for(var G,H=h._areaPoints.length,f=H-1,G=0;G<H;G++){var I=[h._areaPoints[G][0],h._areaPoints[G][1]],J=[h._areaPoints[f][0],h._areaPoints[f][1]];(I[1]<k&&J[1]>=k||J[1]<k&&I[1]>=k)&&I[0]+(k-I[1])/(J[1]-I[1])*(J[0]-I[0])<j&&(F=!F),f=G}if(F)return{seriesIndex:e,pointIndex:null,gridData:h.gridData,data:h.data,points:h._areaPoints};break}w=h.markerRenderer.size/2+h.neighborThreshold,v=w>0?w:0;for(var f=0;f<h.gridData.length;f++)if(s=h.gridData[f],i.constructor==a.jqplot.OHLCRenderer)if(i.candleStick){var K=h._yaxis.series_u2p;if(j>=s[0]-i._bodyWidth/2&&j<=s[0]+i._bodyWidth/2&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(i.hlc){var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][1])&&k<=K(h.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else{var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(null!=s[0]&&null!=s[1]&&(r=Math.sqrt((j-s[0])*(j-s[0])+(k-s[1])*(k-s[1])),r<=v&&(r<=q||null==q)))return q=r,{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}break;default:if(j=b.x,k=b.y,i=h.renderer,h.show){w=h.markerRenderer.size/2+h.neighborThreshold,v=w>0?w:0;for(var f=0;f<h.gridData.length;f++)if(s=h.gridData[f],i.constructor==a.jqplot.OHLCRenderer)if(i.candleStick){var K=h._yaxis.series_u2p;if(j>=s[0]-i._bodyWidth/2&&j<=s[0]+i._bodyWidth/2&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(i.hlc){var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][1])&&k<=K(h.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else{var K=h._yaxis.series_u2p;if(j>=s[0]-i._tickLength&&j<=s[0]+i._tickLength&&k>=K(h.data[f][2])&&k<=K(h.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}else if(r=Math.sqrt((j-s[0])*(j-s[0])+(k-s[1])*(k-s[1])),r<=v&&(r<=q||null==q))return q=r,{seriesIndex:e,pointIndex:f,gridData:s,data:h.data[f]}}}return null}this.animate=!1,this.animateReplot=!1,this.axes={xaxis:new b("xaxis"),yaxis:new b("yaxis"),x2axis:new b("x2axis"),y2axis:new b("y2axis"),y3axis:new b("y3axis"),y4axis:new b("y4axis"),y5axis:new b("y5axis"),y6axis:new b("y6axis"),y7axis:new b("y7axis"),y8axis:new b("y8axis"),y9axis:new b("y9axis"),yMidAxis:new b("yMidAxis")},this.baseCanvas=new a.jqplot.GenericCanvas,this.captureRightClick=!1,this.data=[],this.dataRenderer,this.dataRendererOptions,this.defaults={axesDefaults:{},axes:{xaxis:{},yaxis:{},x2axis:{},y2axis:{},y3axis:{},y4axis:{},y5axis:{},y6axis:{},y7axis:{},y8axis:{},y9axis:{},yMidAxis:{}},seriesDefaults:{},series:[]},this.defaultAxisStart=1,this.drawIfHidden=!1,this.eventCanvas=new a.jqplot.GenericCanvas,this.fillBetween={series1:null,series2:null,color:null,baseSeries:0,fill:!0},this.fontFamily,this.fontSize,this.grid=new f,this.legend=new c,this.noDataIndicator={show:!1,indicator:"Loading Data...",axes:{xaxis:{min:0,max:10,tickInterval:2,show:!0},yaxis:{min:0,max:12,tickInterval:3,show:!0}}},this.negativeSeriesColors=a.jqplot.config.defaultNegativeColors,this.options={},this.previousSeriesStack=[],this.plugins={},this.series=[],this.seriesStack=[],this.seriesColors=a.jqplot.config.defaultColors,this.sortData=!0,this.stackSeries=!1,this.syncXTicks=!0,this.syncYTicks=!0,this.target=null,this.targetId=null,this.textColor,this.title=new d,this._drawCount=0,this._sumy=0,this._sumx=0,this._stackData=[],this._plotData=[],this._width=null,this._height=null,this._plotDimensions={height:null,width:null},this._gridPadding={top:null,right:null,bottom:null,left:null},this._defaultGridPadding={top:10,right:10,bottom:23,left:10},this._addDomReference=a.jqplot.config.addDomReference,this.preInitHooks=new a.jqplot.HooksManager,this.postInitHooks=new a.jqplot.HooksManager,this.preParseOptionsHooks=new a.jqplot.HooksManager,this.postParseOptionsHooks=new a.jqplot.HooksManager,this.preDrawHooks=new a.jqplot.HooksManager,this.postDrawHooks=new a.jqplot.HooksManager,this.preDrawSeriesHooks=new a.jqplot.HooksManager,this.postDrawSeriesHooks=new a.jqplot.HooksManager,this.preDrawLegendHooks=new a.jqplot.HooksManager,this.addLegendRowHooks=new a.jqplot.HooksManager,this.preSeriesInitHooks=new a.jqplot.HooksManager,this.postSeriesInitHooks=new a.jqplot.HooksManager,this.preParseSeriesOptionsHooks=new a.jqplot.HooksManager,this.postParseSeriesOptionsHooks=new a.jqplot.HooksManager,this.eventListenerHooks=new a.jqplot.EventListenerManager,this.preDrawSeriesShadowHooks=new a.jqplot.HooksManager,this.postDrawSeriesShadowHooks=new a.jqplot.HooksManager,this.colorGenerator=new a.jqplot.ColorGenerator,this.negativeColorGenerator=new a.jqplot.ColorGenerator,this.canvasManager=new a.jqplot.CanvasManager,this.themeEngine=new a.jqplot.ThemeEngine;this.init=function(c,d,e){e=e||{};for(var f=0;f<a.jqplot.preInitHooks.length;f++)a.jqplot.preInitHooks[f].call(this,c,d,e);for(var f=0;f<this.preInitHooks.hooks.length;f++)this.preInitHooks.hooks[f].call(this,c,d,e);if(this.targetId="#"+c,this.target=a("#"+c),this._addDomReference&&this.target.data("jqplot",this),this.target.removeClass("jqplot-error"),!this.target.get(0))throw new Error("No plot target specified");if("static"==this.target.css("position")&&this.target.css("position","relative"),this.target.hasClass("jqplot-target")||this.target.addClass("jqplot-target"),this.target.height())this._height=g=this.target.height();else{var g;g=e&&e.height?parseInt(e.height,10):this.target.attr("data-height")?parseInt(this.target.attr("data-height"),10):parseInt(a.jqplot.config.defaultHeight,10),this._height=g,this.target.css("height",g+"px")}if(this.target.width())this._width=i=this.target.width();else{var i;i=e&&e.width?parseInt(e.width,10):this.target.attr("data-width")?parseInt(this.target.attr("data-width"),10):parseInt(a.jqplot.config.defaultWidth,10),this._width=i,this.target.css("width",i+"px")}for(var f=0,j=I.length;f<j;f++)this.axes[I[f]]=new b(I[f]);if(this._plotDimensions.height=this._height,this._plotDimensions.width=this._width,this.grid._plotDimensions=this._plotDimensions,this.title._plotDimensions=this._plotDimensions,this.baseCanvas._plotDimensions=this._plotDimensions,this.eventCanvas._plotDimensions=this._plotDimensions,this.legend._plotDimensions=this._plotDimensions,this._height<=0||this._width<=0||!this._height||!this._width)throw new Error("Canvas dimension not set");if(e.dataRenderer&&a.isFunction(e.dataRenderer)&&(e.dataRendererOptions&&(this.dataRendererOptions=e.dataRendererOptions),this.dataRenderer=e.dataRenderer,d=this.dataRenderer(d,this,this.dataRendererOptions)),e.noDataIndicator&&a.isPlainObject(e.noDataIndicator)&&a.extend(!0,this.noDataIndicator,e.noDataIndicator),null==d||0==a.isArray(d)||0==d.length||0==a.isArray(d[0])||0==d[0].length){if(0==this.noDataIndicator.show)throw new Error("No data specified");for(var k in this.noDataIndicator.axes)for(var l in this.noDataIndicator.axes[k])this.axes[k][l]=this.noDataIndicator.axes[k][l];this.postDrawHooks.add(function(){var b=this.eventCanvas.getHeight(),c=this.eventCanvas.getWidth(),d=a('<div class="jqplot-noData-container" style="position:absolute;"></div>');this.target.append(d),d.height(b),d.width(c),d.css("top",this.eventCanvas._offsets.top),d.css("left",this.eventCanvas._offsets.left);var e=a('<div class="jqplot-noData-contents" style="text-align:center; position:relative; margin-left:auto; margin-right:auto;"></div>');d.append(e),e.html(this.noDataIndicator.indicator);var f=e.height(),g=e.width();e.height(f),e.width(g),e.css("top",(b-f)/2+"px")})}this.data=a.extend(!0,[],d),this.parseOptions(e),this.textColor&&this.target.css("color",this.textColor),this.fontFamily&&this.target.css("font-family",this.fontFamily),this.fontSize&&this.target.css("font-size",this.fontSize),this.title.init(),this.legend.init(),this._sumy=0,this._sumx=0,this.computePlotData();for(var f=0;f<this.series.length;f++){this.seriesStack.push(f),this.previousSeriesStack.push(f),this.series[f].shadowCanvas._plotDimensions=this._plotDimensions,this.series[f].canvas._plotDimensions=this._plotDimensions;for(var m=0;m<a.jqplot.preSeriesInitHooks.length;m++)a.jqplot.preSeriesInitHooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);for(var m=0;m<this.preSeriesInitHooks.hooks.length;m++)this.preSeriesInitHooks.hooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);this.series[f]._plotDimensions=this._plotDimensions,this.series[f].init(f,this.grid.borderWidth,this);for(var m=0;m<a.jqplot.postSeriesInitHooks.length;m++)a.jqplot.postSeriesInitHooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);for(var m=0;m<this.postSeriesInitHooks.hooks.length;m++)this.postSeriesInitHooks.hooks[m].call(this.series[f],c,this.data,this.options.seriesDefaults,this.options.series[f],this);this._sumy+=this.series[f]._sumy,this._sumx+=this.series[f]._sumx}for(var n,o,f=0,j=I.length;f<j;f++)n=I[f],o=this.axes[n],o._plotDimensions=this._plotDimensions,o.init(),null==this.axes[n].borderColor&&("x"!==n.charAt(0)&&o.useSeriesColor===!0&&o.show?o.borderColor=o._series[0].color:o.borderColor=this.grid.borderColor);this.sortData&&h(this.series),this.grid.init(),this.grid._axes=this.axes,this.legend._series=this.series;for(var f=0;f<a.jqplot.postInitHooks.length;f++)a.jqplot.postInitHooks[f].call(this,c,this.data,e);for(var f=0;f<this.postInitHooks.hooks.length;f++)this.postInitHooks.hooks[f].call(this,c,this.data,e)},this.resetAxesScale=function(b,c){var d=c||{},e=b||this.axes;if(e===!0&&(e=this.axes),a.isArray(e))for(var f=0;f<e.length;f++)this.axes[e[f]].resetScale(d[e[f]]);else if("object"==typeof e)for(var g in e)this.axes[g].resetScale(d[g])},this.reInitialize=function(c,d){for(var e=a.extend(!0,{},this.options,d),f=this.targetId.substr(1),g=null==c?this.data:c,i=0;i<a.jqplot.preInitHooks.length;i++)a.jqplot.preInitHooks[i].call(this,f,g,e);for(var i=0;i<this.preInitHooks.hooks.length;i++)this.preInitHooks.hooks[i].call(this,f,g,e);if(this._height=this.target.height(),this._width=this.target.width(),this._height<=0||this._width<=0||!this._height||!this._width)throw new Error("Target dimension not set");this._plotDimensions.height=this._height,this._plotDimensions.width=this._width,this.grid._plotDimensions=this._plotDimensions,this.title._plotDimensions=this._plotDimensions,this.baseCanvas._plotDimensions=this._plotDimensions,this.eventCanvas._plotDimensions=this._plotDimensions,this.legend._plotDimensions=this._plotDimensions;for(var j,k,l,m,i=0,n=I.length;i<n;i++){j=I[i],m=this.axes[j],k=m._ticks;for(var l=0,o=k.length;l<o;l++){var p=k[l]._elem;p&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==H&&window.G_vmlCanvasManager.uninitElement(p.get(0)),p.emptyForce(),p=null,k._elem=null)}k=null,delete m.ticks,delete m._ticks,this.axes[j]=new b(j),this.axes[j]._plotWidth=this._width,this.axes[j]._plotHeight=this._height}c&&(e.dataRenderer&&a.isFunction(e.dataRenderer)&&(e.dataRendererOptions&&(this.dataRendererOptions=e.dataRendererOptions),this.dataRenderer=e.dataRenderer,c=this.dataRenderer(c,this,this.dataRendererOptions)),this.data=a.extend(!0,[],c)),d&&this.parseOptions(e),this.title._plotWidth=this._width,this.textColor&&this.target.css("color",this.textColor),this.fontFamily&&this.target.css("font-family",this.fontFamily),this.fontSize&&this.target.css("font-size",this.fontSize),this.title.init(),this.legend.init(),this._sumy=0,this._sumx=0,this.seriesStack=[],this.previousSeriesStack=[],this.computePlotData();for(var i=0,n=this.series.length;i<n;i++){this.seriesStack.push(i),this.previousSeriesStack.push(i),this.series[i].shadowCanvas._plotDimensions=this._plotDimensions,this.series[i].canvas._plotDimensions=this._plotDimensions;for(var l=0;l<a.jqplot.preSeriesInitHooks.length;l++)a.jqplot.preSeriesInitHooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);for(var l=0;l<this.preSeriesInitHooks.hooks.length;l++)this.preSeriesInitHooks.hooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);this.series[i]._plotDimensions=this._plotDimensions,this.series[i].init(i,this.grid.borderWidth,this);for(var l=0;l<a.jqplot.postSeriesInitHooks.length;l++)a.jqplot.postSeriesInitHooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);for(var l=0;l<this.postSeriesInitHooks.hooks.length;l++)this.postSeriesInitHooks.hooks[l].call(this.series[i],f,this.data,this.options.seriesDefaults,this.options.series[i],this);this._sumy+=this.series[i]._sumy,this._sumx+=this.series[i]._sumx}for(var i=0,n=I.length;i<n;i++)j=I[i],m=this.axes[j],m._plotDimensions=this._plotDimensions,m.init(),null==m.borderColor&&("x"!==j.charAt(0)&&m.useSeriesColor===!0&&m.show?m.borderColor=m._series[0].color:m.borderColor=this.grid.borderColor);this.sortData&&h(this.series),this.grid.init(),this.grid._axes=this.axes,this.legend._series=this.series;for(var i=0,n=a.jqplot.postInitHooks.length;i<n;i++)a.jqplot.postInitHooks[i].call(this,f,this.data,e);for(var i=0,n=this.postInitHooks.hooks.length;i<n;i++)this.postInitHooks.hooks[i].call(this,f,this.data,e)},this.quickInit=function(){if(this._height=this.target.height(),this._width=this.target.width(),this._height<=0||this._width<=0||!this._height||!this._width)throw new Error("Target dimension not set");this._plotDimensions.height=this._height,this._plotDimensions.width=this._width,this.grid._plotDimensions=this._plotDimensions,this.title._plotDimensions=this._plotDimensions,this.baseCanvas._plotDimensions=this._plotDimensions,this.eventCanvas._plotDimensions=this._plotDimensions,this.legend._plotDimensions=this._plotDimensions;for(var b in this.axes)this.axes[b]._plotWidth=this._width,this.axes[b]._plotHeight=this._height;this.title._plotWidth=this._width,this.textColor&&this.target.css("color",this.textColor),this.fontFamily&&this.target.css("font-family",this.fontFamily),this.fontSize&&this.target.css("font-size",this.fontSize),this._sumy=0,this._sumx=0,this.computePlotData();for(var c=0;c<this.series.length;c++)"line"===this.series[c]._type&&this.series[c].renderer.bands.show&&this.series[c].renderer.initBands.call(this.series[c],this.series[c].renderer.options,this),this.series[c]._plotDimensions=this._plotDimensions,this.series[c].canvas._plotDimensions=this._plotDimensions,this._sumy+=this.series[c]._sumy,this._sumx+=this.series[c]._sumx;for(var d,e=0;e<12;e++){d=I[e];for(var f=this.axes[d]._ticks,c=0;c<f.length;c++){var g=f[c]._elem;g&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==H&&window.G_vmlCanvasManager.uninitElement(g.get(0)),g.emptyForce(),g=null,f._elem=null)}f=null,this.axes[d]._plotDimensions=this._plotDimensions,this.axes[d]._ticks=[]}this.sortData&&h(this.series),this.grid._axes=this.axes,this.legend._series=this.series},this.computePlotData=function(){this._plotData=[],this._stackData=[];var b,c,d;for(c=0,d=this.series.length;c<d;c++){b=this.series[c],this._plotData.push([]),this._stackData.push([]);var e=b.data;this._plotData[c]=a.extend(!0,[],e),this._stackData[c]=a.extend(!0,[],e),b._plotData=this._plotData[c],b._stackData=this._stackData[c];var f={x:[],y:[]};if(this.stackSeries&&!b.disableStack){b._stack=!0;for(var g="x"===b._stackAxis?0:1,h=0,i=e.length;h<i;h++){var j=e[h][g];if(null==j&&(j=0),this._plotData[c][h][g]=j,this._stackData[c][h][g]=j,c>0)for(var k=c;k--;){var l=this._plotData[k][h][g];if(j*l>=0){this._plotData[c][h][g]+=l,this._stackData[c][h][g]+=l;break}}}}else{for(var m=0;m<b.data.length;m++)f.x.push(b.data[m][0]),f.y.push(b.data[m][1]);this._stackData.push(b.data),this.series[c]._stackData=b.data,this._plotData.push(b.data),b._plotData=b.data,b._plotValues=f}for(c>0&&(b._prevPlotData=this.series[c-1]._plotData),b._sumy=0,b._sumx=0,m=b.data.length-1;m>-1;m--)b._sumy+=b.data[m][1],b._sumx+=b.data[m][0]}},this.populatePlotData=function(b,c){this._plotData=[],this._stackData=[],b._stackData=[],b._plotData=[];var d={x:[],y:[]};if(this.stackSeries&&!b.disableStack){b._stack=!0;for(var e,f,g,h,i="x"===b._stackAxis?0:1,j=a.extend(!0,[],b.data),k=a.extend(!0,[],b.data),l=0;l<c;l++)for(var m=this.series[l].data,n=0;n<m.length;n++)g=m[n],e=null!=g[0]?g[0]:0,f=null!=g[1]?g[1]:0,j[n][0]+=e,j[n][1]+=f,h=i?f:e,b.data[n][i]*h>=0&&(k[n][i]+=h);for(var o=0;o<k.length;o++)d.x.push(k[o][0]),d.y.push(k[o][1]);this._plotData.push(k),this._stackData.push(j),b._stackData=j,b._plotData=k,b._plotValues=d}else{for(var o=0;o<b.data.length;o++)d.x.push(b.data[o][0]),d.y.push(b.data[o][1]);this._stackData.push(b.data),this.series[c]._stackData=b.data,this._plotData.push(b.data),b._plotData=b.data,b._plotValues=d}for(c>0&&(b._prevPlotData=this.series[c-1]._plotData),b._sumy=0,b._sumx=0,o=b.data.length-1;o>-1;o--)b._sumy+=b.data[o][1],b._sumx+=b.data[o][0]},this.getNextSeriesColor=function(a){var b=0,c=a.seriesColors;return function(){return b<c.length?c[b++]:(b=0,c[b++])}}(this),this.parseOptions=function(b){for(var c=0;c<this.preParseOptionsHooks.hooks.length;c++)this.preParseOptionsHooks.hooks[c].call(this,b);for(var c=0;c<a.jqplot.preParseOptionsHooks.length;c++)a.jqplot.preParseOptionsHooks[c].call(this,b);this.options=a.extend(!0,{},this.defaults,b);var d=this.options;if(this.animate=d.animate,this.animateReplot=d.animateReplot,this.stackSeries=d.stackSeries,a.isPlainObject(d.fillBetween))for(var f,g=["series1","series2","color","baseSeries","fill"],c=0,h=g.length;c<h;c++)f=g[c],null!=d.fillBetween[f]&&(this.fillBetween[f]=d.fillBetween[f]);d.seriesColors&&(this.seriesColors=d.seriesColors),d.negativeSeriesColors&&(this.negativeSeriesColors=d.negativeSeriesColors),d.captureRightClick&&(this.captureRightClick=d.captureRightClick),this.defaultAxisStart=b&&null!=b.defaultAxisStart?b.defaultAxisStart:this.defaultAxisStart,this.colorGenerator.setColors(this.seriesColors),this.negativeColorGenerator.setColors(this.negativeSeriesColors),a.extend(!0,this._gridPadding,d.gridPadding),this.sortData=null!=d.sortData?d.sortData:this.sortData;for(var c=0;c<12;c++){var i=I[c],j=this.axes[i];j._options=a.extend(!0,{},d.axesDefaults,d.axes[i]),a.extend(!0,j,d.axesDefaults,d.axes[i]),j._plotWidth=this._width,j._plotHeight=this._height}var k=function(b,c,d){var e,f,g=[];if(c=c||"vertical",a.isArray(b[0]))a.extend(!0,g,b);else for(e=0,f=b.length;e<f;e++)"vertical"==c?g.push([d+e,b[e]]):g.push([b[e],d+e]);return g};this.series=[];for(var c=0;c<this.data.length;c++){for(var l=a.extend(!0,{index:c},{seriesColors:this.seriesColors,negativeSeriesColors:this.negativeSeriesColors},this.options.seriesDefaults,this.options.series[c],{rendererOptions:{animation:{show:this.animate}}}),g=new e(l),m=0;m<a.jqplot.preParseSeriesOptionsHooks.length;m++)a.jqplot.preParseSeriesOptionsHooks[m].call(g,this.options.seriesDefaults,this.options.series[c]);for(var m=0;m<this.preParseSeriesOptionsHooks.hooks.length;m++)this.preParseSeriesOptionsHooks.hooks[m].call(g,this.options.seriesDefaults,this.options.series[c]);a.extend(!0,g,l);var n="vertical";switch(g.renderer===a.jqplot.BarRenderer&&g.rendererOptions&&"horizontal"==g.rendererOptions.barDirection&&(n="horizontal",g._stackAxis="x",g._primaryAxis="_yaxis"),g.data=k(this.data[c],n,this.defaultAxisStart),g.xaxis){case"xaxis":g._xaxis=this.axes.xaxis;break;case"x2axis":g._xaxis=this.axes.x2axis}g._yaxis=this.axes[g.yaxis],g._xaxis._series.push(g),g._yaxis._series.push(g),g.show?(g._xaxis.show=!0,g._yaxis.show=!0):(g._xaxis.scaleToHiddenSeries&&(g._xaxis.show=!0),g._yaxis.scaleToHiddenSeries&&(g._yaxis.show=!0)),g.label||(g.label="Series "+(c+1).toString()),this.series.push(g);for(var m=0;m<a.jqplot.postParseSeriesOptionsHooks.length;m++)a.jqplot.postParseSeriesOptionsHooks[m].call(this.series[c],this.options.seriesDefaults,this.options.series[c]);for(var m=0;m<this.postParseSeriesOptionsHooks.hooks.length;m++)this.postParseSeriesOptionsHooks.hooks[m].call(this.series[c],this.options.seriesDefaults,this.options.series[c])}a.extend(!0,this.grid,this.options.grid);for(var c=0,h=I.length;c<h;c++){var i=I[c],j=this.axes[i];null==j.borderWidth&&(j.borderWidth=this.grid.borderWidth)}"string"==typeof this.options.title?this.title.text=this.options.title:"object"==typeof this.options.title&&a.extend(!0,this.title,this.options.title),this.title._plotWidth=this._width,this.legend.setOptions(this.options.legend);for(var c=0;c<a.jqplot.postParseOptionsHooks.length;c++)a.jqplot.postParseOptionsHooks[c].call(this,b);for(var c=0;c<this.postParseOptionsHooks.hooks.length;c++)this.postParseOptionsHooks.hooks[c].call(this,b)},this.destroy=function(){this.canvasManager.freeAllCanvases(),this.eventCanvas&&this.eventCanvas._elem&&this.eventCanvas._elem.unbind(),this.target.empty(),this.target[0].innerHTML=""},this.replot=function(b){var c=b||{},d=c.data||null,e=c.clear!==!1,f=c.resetAxes||!1;delete c.data,delete c.clear,delete c.resetAxes,this.target.trigger("jqplotPreReplot"),e&&this.destroy(),d||!a.isEmptyObject(c)?this.reInitialize(d,c):this.quickInit(),f&&this.resetAxesScale(f,c.axes),this.draw(),this.target.trigger("jqplotPostReplot")},this.redraw=function(a){a=null==a||a,this.target.trigger("jqplotPreRedraw"),a&&(this.canvasManager.freeAllCanvases(),this.eventCanvas._elem.unbind(),this.target.empty());for(var b in this.axes)this.axes[b]._ticks=[];this.computePlotData(),this._sumy=0,this._sumx=0;for(var c=0,d=this.series.length;c<d;c++)this._sumy+=this.series[c]._sumy,this._sumx+=this.series[c]._sumx;this.draw(),this.target.trigger("jqplotPostRedraw")},this.draw=function(){if(this.drawIfHidden||this.target.is(":visible")){this.target.trigger("jqplotPreDraw");var b,c,d;for(b=0,d=a.jqplot.preDrawHooks.length;b<d;b++)a.jqplot.preDrawHooks[b].call(this);for(b=0,d=this.preDrawHooks.hooks.length;b<d;b++)this.preDrawHooks.hooks[b].apply(this,this.preDrawSeriesHooks.args[b]);this.target.append(this.baseCanvas.createElement({left:0,right:0,top:0,bottom:0},"jqplot-base-canvas",null,this)),this.baseCanvas.setContext(),this.target.append(this.title.draw()),this.title.pack({top:0,left:0});var e=this.legend.draw({},this),f={top:0,left:0,bottom:0,right:0};if("outsideGrid"==this.legend.placement){switch(this.target.append(e),this.legend.location){case"n":f.top+=this.legend.getHeight();break;case"s":f.bottom+=this.legend.getHeight();break;case"ne":case"e":case"se":f.right+=this.legend.getWidth();break;case"nw":case"w":case"sw":f.left+=this.legend.getWidth();break;default:f.right+=this.legend.getWidth()}e=e.detach()}var g,h=this.axes;for(b=0;b<12;b++)g=I[b],this.target.append(h[g].draw(this.baseCanvas._ctx,this)),h[g].set();h.yaxis.show&&(f.left+=h.yaxis.getWidth());var i,j=["y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis"],k=[0,0,0,0,0,0,0,0],l=0;for(i=0;i<8;i++)h[j[i]].show&&(l+=h[j[i]].getWidth(),k[i]=l);if(f.right+=l,h.x2axis.show&&(f.top+=h.x2axis.getHeight()),this.title.show&&(f.top+=this.title.getHeight()),h.xaxis.show&&(f.bottom+=h.xaxis.getHeight()),this.options.gridDimensions&&a.isPlainObject(this.options.gridDimensions)){var m=parseInt(this.options.gridDimensions.width,10)||0,n=parseInt(this.options.gridDimensions.height,10)||0,o=(this._width-f.left-f.right-m)/2,p=(this._height-f.top-f.bottom-n)/2;p>=0&&o>=0&&(f.top+=p,f.bottom+=p,f.left+=o,f.right+=o)}var q=["top","bottom","left","right"];for(var i in q)null==this._gridPadding[q[i]]&&f[q[i]]>0?this._gridPadding[q[i]]=f[q[i]]:null==this._gridPadding[q[i]]&&(this._gridPadding[q[i]]=this._defaultGridPadding[q[i]]);var r=this._gridPadding;for("outsideGrid"===this.legend.placement&&(r={top:this.title.getHeight(),left:0,right:0,bottom:0}),h.xaxis.pack({position:"absolute",bottom:this._gridPadding.bottom-h.xaxis.getHeight(),left:0,width:this._width},{min:this._gridPadding.left,max:this._width-this._gridPadding.right}),h.yaxis.pack({position:"absolute",top:0,left:this._gridPadding.left-h.yaxis.getWidth(),height:this._height},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top}),h.x2axis.pack({position:"absolute",top:this._gridPadding.top-h.x2axis.getHeight(),left:0,width:this._width},{min:this._gridPadding.left,max:this._width-this._gridPadding.right}),b=8;b>0;b--)h[j[b-1]].pack({position:"absolute",top:0,right:this._gridPadding.right-k[b-1]},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top});var s=(this._width-this._gridPadding.left-this._gridPadding.right)/2+this._gridPadding.left-h.yMidAxis.getWidth()/2;h.yMidAxis.pack({position:"absolute",top:0,left:s,zIndex:9,textAlign:"center"},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top}),this.target.append(this.grid.createElement(this._gridPadding,this)),
|
5 |
+
this.grid.draw();var t=this.series,u=t.length;for(b=0,d=u;b<d;b++)c=this.seriesStack[b],this.target.append(t[c].shadowCanvas.createElement(this._gridPadding,"jqplot-series-shadowCanvas",null,this)),t[c].shadowCanvas.setContext(),t[c].shadowCanvas._elem.data("seriesIndex",c);for(b=0,d=u;b<d;b++)c=this.seriesStack[b],this.target.append(t[c].canvas.createElement(this._gridPadding,"jqplot-series-canvas",null,this)),t[c].canvas.setContext(),t[c].canvas._elem.data("seriesIndex",c);this.target.append(this.eventCanvas.createElement(this._gridPadding,"jqplot-event-canvas",null,this)),this.eventCanvas.setContext(),this.eventCanvas._ctx.fillStyle="rgba(0,0,0,0)",this.eventCanvas._ctx.fillRect(0,0,this.eventCanvas._ctx.canvas.width,this.eventCanvas._ctx.canvas.height),this.bindCustomEvents(),this.legend.preDraw?(this.eventCanvas._elem.before(e),this.legend.pack(r),this.legend._elem?this.drawSeries({legendInfo:{location:this.legend.location,placement:this.legend.placement,width:this.legend.getWidth(),height:this.legend.getHeight(),xoffset:this.legend.xoffset,yoffset:this.legend.yoffset}}):this.drawSeries()):(this.drawSeries(),u&&a(t[u-1].canvas._elem).after(e),this.legend.pack(r));for(var b=0,d=a.jqplot.eventListenerHooks.length;b<d;b++)this.eventCanvas._elem.bind(a.jqplot.eventListenerHooks[b][0],{plot:this},a.jqplot.eventListenerHooks[b][1]);for(var b=0,d=this.eventListenerHooks.hooks.length;b<d;b++)this.eventCanvas._elem.bind(this.eventListenerHooks.hooks[b][0],{plot:this},this.eventListenerHooks.hooks[b][1]);var v=this.fillBetween;if("number"==typeof v.series1)v.fill&&v.series1!==v.series2&&v.series1<u&&v.series2<u&&"line"===t[v.series1]._type&&"line"===t[v.series2]._type&&this.doFillBetweenLines();else if(null!=v.series1&&null!=v.series2){var w=!1;if(v.series1.length===v.series2.length)for(var x=0,y=0,z=0;z<v.series1.length;z++){if(x=v.series1[z],y=v.series2[z],!(x!==y&&x<u&&y<u&&"line"===t[x]._type&&"line"===t[y]._type)){w=!1;break}w=!0}v.fill&&w&&this.doFillBetweenLines()}for(var b=0,d=a.jqplot.postDrawHooks.length;b<d;b++)a.jqplot.postDrawHooks[b].call(this);for(var b=0,d=this.postDrawHooks.hooks.length;b<d;b++)this.postDrawHooks.hooks[b].apply(this,this.postDrawHooks.args[b]);this.target.is(":visible")&&(this._drawCount+=1);var A,B,C,D;for(b=0,d=u;b<d;b++)A=t[b],B=A.renderer,C=".jqplot-point-label.jqplot-series-"+b,B.animation&&B.animation._supported&&B.animation.show&&(this._drawCount<2||this.animateReplot)&&(D=this.target.find(C),D.stop(!0,!0).hide(),A.canvas._elem.stop(!0,!0).hide(),A.shadowCanvas._elem.stop(!0,!0).hide(),A.canvas._elem.jqplotEffect("blind",{mode:"show",direction:B.animation.direction},B.animation.speed),A.shadowCanvas._elem.jqplotEffect("blind",{mode:"show",direction:B.animation.direction},B.animation.speed),D.fadeIn(.8*B.animation.speed));D=null,this.target.trigger("jqplotPostDraw",[this])}},g.prototype.doFillBetweenLines=function(){function a(a,d){var e=c[a],f=c[d];if(f.renderer.smooth)var g=f.renderer._smoothedData.slice(0).reverse();else var g=f.gridData.slice(0).reverse();if(e.renderer.smooth)var h=e.renderer._smoothedData.concat(g);else var h=e.gridData.concat(g);var i=null!==b.color?b.color:c[a].fillColor,j=null!==b.baseSeries?b.baseSeries:a,k=c[j].renderer.shapeRenderer,l={fillStyle:i,fill:!0,closePath:!0};k.draw(e.shadowCanvas._ctx,h,l)}var b=this.fillBetween,c=this.series,d=b.series1,e=b.series2,f=0,g=0;if("number"==typeof d&&"number"==typeof e)f=d<e?d:e,g=e>d?e:d,a(f,g);else for(var h=0;h<d.length;h++)f=d[h]<e[h]?d[h]:e[h],g=e[h]>d[h]?e[h]:d[h],a(f,g)},this.bindCustomEvents=function(){this.eventCanvas._elem.bind("click",{plot:this},this.onClick),this.eventCanvas._elem.bind("dblclick",{plot:this},this.onDblClick),this.eventCanvas._elem.bind("mousedown",{plot:this},this.onMouseDown),this.eventCanvas._elem.bind("mousemove",{plot:this},this.onMouseMove),this.eventCanvas._elem.bind("mouseenter",{plot:this},this.onMouseEnter),this.eventCanvas._elem.bind("mouseleave",{plot:this},this.onMouseLeave),this.captureRightClick?(this.eventCanvas._elem.bind("mouseup",{plot:this},this.onRightClick),this.eventCanvas._elem.get(0).oncontextmenu=function(){return!1}):this.eventCanvas._elem.bind("mouseup",{plot:this},this.onMouseUp)},this.onClick=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotClick");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onDblClick=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotDblClick");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onMouseDown=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotMouseDown");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onMouseUp=function(b){var c=i(b),d=a.Event("jqplotMouseUp");d.pageX=b.pageX,d.pageY=b.pageY,a(this).trigger(d,[c.gridPos,c.dataPos,null,b.data.plot])},this.onRightClick=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d);if(d.captureRightClick)if(3==b.which){var f=a.Event("jqplotRightClick");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])}else{var f=a.Event("jqplotMouseUp");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])}},this.onMouseMove=function(b){var c=i(b),d=b.data.plot,e=j(c.gridPos,d),f=a.Event("jqplotMouseMove");f.pageX=b.pageX,f.pageY=b.pageY,a(this).trigger(f,[c.gridPos,c.dataPos,e,d])},this.onMouseEnter=function(b){var c=i(b),d=b.data.plot,e=a.Event("jqplotMouseEnter");e.pageX=b.pageX,e.pageY=b.pageY,e.relatedTarget=b.relatedTarget,a(this).trigger(e,[c.gridPos,c.dataPos,null,d])},this.onMouseLeave=function(b){var c=i(b),d=b.data.plot,e=a.Event("jqplotMouseLeave");e.pageX=b.pageX,e.pageY=b.pageY,e.relatedTarget=b.relatedTarget,a(this).trigger(e,[c.gridPos,c.dataPos,null,d])},this.drawSeries=function(b,c){var d,e,f;if(c="number"==typeof b&&null==c?b:c,b="object"==typeof b?b:{},c!=H)e=this.series[c],f=e.shadowCanvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.drawShadow(f,b,this),f=e.canvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.draw(f,b,this),e.renderer.constructor==a.jqplot.BezierCurveRenderer&&c<this.series.length-1&&this.drawSeries(c+1);else for(d=0;d<this.series.length;d++)e=this.series[d],f=e.shadowCanvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.drawShadow(f,b,this),f=e.canvas._ctx,f.clearRect(0,0,f.canvas.width,f.canvas.height),e.draw(f,b,this);b=c=d=e=f=null},this.moveSeriesToFront=function(b){b=parseInt(b,10);var c=a.inArray(b,this.seriesStack);if(c!=-1){if(c==this.seriesStack.length-1)return void(this.previousSeriesStack=this.seriesStack.slice(0));var d=this.seriesStack[this.seriesStack.length-1],e=this.series[b].canvas._elem.detach(),f=this.series[b].shadowCanvas._elem.detach();this.series[d].shadowCanvas._elem.after(f),this.series[d].canvas._elem.after(e),this.previousSeriesStack=this.seriesStack.slice(0),this.seriesStack.splice(c,1),this.seriesStack.push(b)}},this.moveSeriesToBack=function(b){b=parseInt(b,10);var c=a.inArray(b,this.seriesStack);if(0!=c&&c!=-1){var d=this.seriesStack[0],e=this.series[b].canvas._elem.detach(),f=this.series[b].shadowCanvas._elem.detach();this.series[d].shadowCanvas._elem.before(f),this.series[d].canvas._elem.before(e),this.previousSeriesStack=this.seriesStack.slice(0),this.seriesStack.splice(c,1),this.seriesStack.unshift(b)}},this.restorePreviousSeriesOrder=function(){var a,b,c,d,e,f;if(this.seriesStack!=this.previousSeriesStack){for(a=1;a<this.previousSeriesStack.length;a++)e=this.previousSeriesStack[a],f=this.previousSeriesStack[a-1],b=this.series[e].canvas._elem.detach(),c=this.series[e].shadowCanvas._elem.detach(),this.series[f].shadowCanvas._elem.after(c),this.series[f].canvas._elem.after(b);d=this.seriesStack.slice(0),this.seriesStack=this.previousSeriesStack.slice(0),this.previousSeriesStack=d}},this.restoreOriginalSeriesOrder=function(){var a,b,c,d=[];for(a=0;a<this.series.length;a++)d.push(a);if(this.seriesStack!=d)for(this.previousSeriesStack=this.seriesStack.slice(0),this.seriesStack=d,a=1;a<this.seriesStack.length;a++)b=this.series[a].canvas._elem.detach(),c=this.series[a].shadowCanvas._elem.detach(),this.series[a-1].shadowCanvas._elem.after(c),this.series[a-1].canvas._elem.after(b)},this.activateTheme=function(a){this.themeEngine.activate(this,a)}}function h(a,b){return(3.4182054+b)*Math.pow(a,-.3534992)}function i(a){var b=(Math.exp(2*a)-1)/(Math.exp(2*a)+1);return b}function j(a){function b(a,b){return a-b==0?Math.pow(10,10):a-b}var c=this.renderer.smooth,d=this.canvas.getWidth(),e=this._xaxis.series_p2u,f=this._yaxis.series_p2u,g=null,i=a.length/d,j=[],k=[];g=isNaN(parseFloat(c))?h(i,.5):parseFloat(c);for(var l=[],m=[],n=0,o=a.length;n<o;n++)l.push(a[n][1]),m.push(a[n][0]);for(var p,q,r,s,t=a.length-1,u=1,v=a.length;u<v;u++){for(var w=[],x=[],y=0;y<2;y++){var n=u-1+y;0==n||n==t?w[y]=Math.pow(10,10):l[n+1]-l[n]==0||l[n]-l[n-1]==0?w[y]=0:(m[n+1]-m[n])/(l[n+1]-l[n])+(m[n]-m[n-1])/(l[n]-l[n-1])==0?w[y]=0:(l[n+1]-l[n])*(l[n]-l[n-1])<0?w[y]=0:w[y]=2/(b(m[n+1],m[n])/(l[n+1]-l[n])+b(m[n],m[n-1])/(l[n]-l[n-1]))}1==u?w[0]=1.5*(l[1]-l[0])/b(m[1],m[0])-w[1]/2:u==t&&(w[1]=1.5*(l[t]-l[t-1])/b(m[t],m[t-1])-w[0]/2),x[0]=-2*(w[1]+2*w[0])/b(m[u],m[u-1])+6*(l[u]-l[u-1])/Math.pow(b(m[u],m[u-1]),2),x[1]=2*(2*w[1]+w[0])/b(m[u],m[u-1])-6*(l[u]-l[u-1])/Math.pow(b(m[u],m[u-1]),2),s=1/6*(x[1]-x[0])/b(m[u],m[u-1]),r=.5*(m[u]*x[0]-m[u-1]*x[1])/b(m[u],m[u-1]),q=(l[u]-l[u-1]-r*(Math.pow(m[u],2)-Math.pow(m[u-1],2))-s*(Math.pow(m[u],3)-Math.pow(m[u-1],3)))/b(m[u],m[u-1]),p=l[u-1]-q*m[u-1]-r*Math.pow(m[u-1],2)-s*Math.pow(m[u-1],3);for(var z,A,B=(m[u]-m[u-1])/g,y=0,o=g;y<o;y++)z=[],A=m[u-1]+y*B,z.push(A),z.push(p+q*A+r*Math.pow(A,2)+s*Math.pow(A,3)),j.push(z),k.push([e(z[0]),f(z[1])])}return j.push(a[n]),k.push([e(a[n][0]),f(a[n][1])]),[j,k]}function k(a){var b,c,d,e,f,g,j,k,l,m,n,o,p,q,r,s,t,u,v=this.renderer.smooth,w=this.renderer.tension,x=this.canvas.getWidth(),y=this._xaxis.series_p2u,z=this._yaxis.series_p2u,A=null,B=null,C=null,D=null,E=null,F=null,G=null,H=a.length/x,I=[],J=[];A=isNaN(parseFloat(v))?h(H,.5):parseFloat(v),isNaN(parseFloat(w))||(w=parseFloat(w));for(var K=0,L=a.length-1;K<L;K++)for(null===w?(E=Math.abs((a[K+1][1]-a[K][1])/(a[K+1][0]-a[K][0])),q=.3,r=.6,s=(r-q)/2,t=2.5,u=-1.4,G=E/t+u,C=s*i(G)-s*i(u)+q,K>0&&(F=Math.abs((a[K][1]-a[K-1][1])/(a[K][0]-a[K-1][0]))),G=F/t+u,D=s*i(G)-s*i(u)+q,B=(C+D)/2):B=w,b=0;b<A;b++)c=b/A,d=(1+2*c)*Math.pow(1-c,2),e=c*Math.pow(1-c,2),f=Math.pow(c,2)*(3-2*c),g=Math.pow(c,2)*(c-1),a[K-1]?(j=B*(a[K+1][0]-a[K-1][0]),k=B*(a[K+1][1]-a[K-1][1])):(j=B*(a[K+1][0]-a[K][0]),k=B*(a[K+1][1]-a[K][1])),a[K+2]?(l=B*(a[K+2][0]-a[K][0]),m=B*(a[K+2][1]-a[K][1])):(l=B*(a[K+1][0]-a[K][0]),m=B*(a[K+1][1]-a[K][1])),n=d*a[K][0]+f*a[K+1][0]+e*j+g*l,o=d*a[K][1]+f*a[K+1][1]+e*k+g*m,p=[n,o],I.push(p),J.push([y(n),z(o)]);return I.push(a[L]),J.push([y(a[L][0]),z(a[L][1])]),[I,J]}function l(b,c,d){for(var e=0;e<this.series.length;e++)this.series[e].renderer.constructor==a.jqplot.LineRenderer&&this.series[e].highlightMouseOver&&(this.series[e].highlightMouseDown=!1)}function m(){this.plugins.lineRenderer&&this.plugins.lineRenderer.highlightCanvas&&(this.plugins.lineRenderer.highlightCanvas.resetCanvas(),this.plugins.lineRenderer.highlightCanvas=null),this.plugins.lineRenderer.highlightedSeriesIndex=null,this.plugins.lineRenderer.highlightCanvas=new a.jqplot.GenericCanvas,this.eventCanvas._elem.before(this.plugins.lineRenderer.highlightCanvas.createElement(this._gridPadding,"jqplot-lineRenderer-highlight-canvas",this._plotDimensions,this)),this.plugins.lineRenderer.highlightCanvas.setContext(),this.eventCanvas._elem.bind("mouseleave",{plot:this},function(a){o(a.data.plot)})}function n(a,b,c,d){var e=a.series[b],f=a.plugins.lineRenderer.highlightCanvas;f._ctx.clearRect(0,0,f._ctx.canvas.width,f._ctx.canvas.height),e._highlightedPoint=c,a.plugins.lineRenderer.highlightedSeriesIndex=b;var g={fillStyle:e.highlightColor};"line"===e.type&&e.renderer.bands.show&&(g.fill=!0,g.closePath=!0),e.renderer.shapeRenderer.draw(f._ctx,d,g),f=null}function o(a){var b=a.plugins.lineRenderer.highlightCanvas;b._ctx.clearRect(0,0,b._ctx.canvas.width,b._ctx.canvas.height);for(var c=0;c<a.series.length;c++)a.series[c]._highlightedPoint=null;a.plugins.lineRenderer.highlightedSeriesIndex=null,a.target.trigger("jqplotDataUnhighlight"),b=null}function p(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=jQuery.Event("jqplotDataMouseOver");if(g.pageX=a.pageX,g.pageY=a.pageY,e.target.trigger(g,f),e.series[f[0]].highlightMouseOver&&f[0]!=e.plugins.lineRenderer.highlightedSeriesIndex){var h=jQuery.Event("jqplotDataHighlight");h.which=a.which,h.pageX=a.pageX,h.pageY=a.pageY,e.target.trigger(h,f),n(e,d.seriesIndex,d.pointIndex,d.points)}}else null==d&&o(e)}function q(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data];if(e.series[f[0]].highlightMouseDown&&f[0]!=e.plugins.lineRenderer.highlightedSeriesIndex){var g=jQuery.Event("jqplotDataHighlight");g.which=a.which,g.pageX=a.pageX,g.pageY=a.pageY,e.target.trigger(g,f),n(e,d.seriesIndex,d.pointIndex,d.points)}}else null==d&&o(e)}function r(a,b,c,d,e){var f=e.plugins.lineRenderer.highlightedSeriesIndex;null!=f&&e.series[f].highlightMouseDown&&o(e)}function s(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=jQuery.Event("jqplotDataClick");g.which=a.which,g.pageX=a.pageX,g.pageY=a.pageY,e.target.trigger(g,f)}}function t(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=e.plugins.lineRenderer.highlightedSeriesIndex;null!=g&&e.series[g].highlightMouseDown&&o(e);var h=jQuery.Event("jqplotDataRightClick");h.which=a.which,h.pageX=a.pageX,h.pageY=a.pageY,e.target.trigger(h,f)}}function u(a){var b;if(a=Math.abs(a),a>=10)b="%d";else if(a>1)b=a===parseInt(a,10)?"%d":"%.1f";else{var c=-Math.floor(Math.log(a)/Math.LN10);b="%."+c+"f"}return b}function v(b,c,d){for(var e,f,g,h,i,j,k,l=Math.floor(d/2),m=Math.ceil(1.5*d),n=Number.MAX_VALUE,o=c-b,p=a.jqplot.getSignificantFigures,q=0,r=m-l+1;q<r;q++)j=l+q,e=o/(j-1),f=p(e),e=Math.abs(d-j)+f.digitsRight,e<n?(n=e,g=j,k=f.digitsRight):e===n&&f.digitsRight<k&&(g=j,k=f.digitsRight);return h=Math.max(k,Math.max(p(b).digitsRight,p(c).digitsRight)),i=0===h?"%d":"%."+h+"f",e=o/(g-1),[b,c,g,i,e]}function w(a,b){b=b||7;var c,d=a/(b-1),e=Math.pow(10,Math.floor(Math.log(d)/Math.LN10)),f=d/e;return c=e<1?f>5?10*e:f>2?5*e:f>1?2*e:e:f>5?10*e:f>4?5*e:f>3?4*e:f>2?3*e:f>1?2*e:e}function x(a,b){b=b||1;var c,d=Math.floor(Math.log(a)/Math.LN10),e=Math.pow(10,d),f=a/e;return f/=b,c=f<=.38?.1:f<=1.6?.2:f<=4?.5:f<=8?1:f<=16?2:5,c*e}function y(a,b){var c,d,e=Math.floor(Math.log(a)/Math.LN10),f=Math.pow(10,e),g=a/f;return g/=b,d=g<=.38?.1:g<=1.6?.2:g<=4?.5:g<=8?1:g<=16?2:5,c=d*f,[c,d,f]}function z(b){var c={angle:b.shadowAngle,offset:b.shadowOffset,alpha:b.shadowAlpha,lineWidth:b.lineWidth,depth:b.shadowDepth,closePath:!0};return b.style.indexOf("filled")!=-1&&(c.fill=!0),b.style.indexOf("ircle")!=-1&&(c.isarc=!0,c.closePath=!1),a.extend(!0,{},c)}function A(b){var c={fill:!1,isarc:!1,strokeStyle:b.color,fillStyle:b.color,lineWidth:b.lineWidth,closePath:!0};return b.style.indexOf("filled")!=-1&&(c.fill=!0),b.style.indexOf("ircle")!=-1&&(c.isarc=!0,c.closePath=!1),a.extend(!0,{},c)}function B(a,b){return a-b}function C(a){if(null==a||"object"!=typeof a)return a;var b=new a.constructor;for(var c in a)b[c]=C(a[c]);return b}function D(a,b){if(null!=b&&"object"==typeof b)for(var c in b)"highlightColors"==c&&(a[c]=C(b[c])),null!=b[c]&&"object"==typeof b[c]?(a.hasOwnProperty(c)||(a[c]={}),D(a[c],b[c])):a[c]=b[c]}function E(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1}function F(a){return null===a?"[object Null]":Object.prototype.toString.call(a)}function G(b,c,d,e){return a.isPlainObject(b)?b:(b={effect:b},c===H&&(c={}),a.isFunction(c)&&(e=c,d=null,c={}),("number"===a.type(c)||a.fx.speeds[c])&&(e=d,d=c,c={}),a.isFunction(d)&&(e=d,d=null),c&&a.extend(b,c),d=d||c.duration,b.duration=a.fx.off?0:"number"==typeof d?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,b.complete=e||c.complete,b)}var H;a.fn.emptyForce=function(){for(var b,c=0;null!=(b=a(this)[c]);c++){if(1===b.nodeType&&a.cleanData(b.getElementsByTagName("*")),a.jqplot.use_excanvas)b.outerHTML="";else for(;b.firstChild;)b.removeChild(b.firstChild);b=null}return a(this)},a.fn.removeChildForce=function(a){for(;a.firstChild;)this.removeChildForce(a.firstChild),a.removeChild(a.firstChild)},a.fn.jqplot=function(){for(var b=[],c=[],d=0,e=arguments.length;d<e;d++)a.isArray(arguments[d])?b.push(arguments[d]):a.isPlainObject(arguments[d])&&c.push(arguments[d]);return this.each(function(d){var e,f,g,h,i=a(this),j=b.length,k=c.length;g=d<j?b[d]:j?b[j-1]:null,h=d<k?c[d]:k?c[k-1]:null,e=i.attr("id"),e===H&&(e="jqplot_target_"+a.jqplot.targetCounter++,i.attr("id",e)),f=a.jqplot(e,g,h),i.data("jqplot",f)})},a.jqplot=function(b,c,d){var e=null,f=null;3===arguments.length?(e=c,f=d):2===arguments.length&&(a.isArray(c)?e=c:a.isPlainObject(c)&&(f=c)),null===e&&null!==f&&f.data&&(e=f.data);var h=new g;if(a("#"+b).removeClass("jqplot-error"),!a.jqplot.config.catchErrors)return h.init(b,e,f),h.draw(),h.themeEngine.init.call(h),h;try{return h.init(b,e,f),h.draw(),h.themeEngine.init.call(h),h}catch(c){var i=a.jqplot.config.errorMessage||c.message;a("#"+b).append('<div class="jqplot-error-message">'+i+"</div>"),a("#"+b).addClass("jqplot-error"),document.getElementById(b).style.background=a.jqplot.config.errorBackground,document.getElementById(b).style.border=a.jqplot.config.errorBorder,document.getElementById(b).style.fontFamily=a.jqplot.config.errorFontFamily,document.getElementById(b).style.fontSize=a.jqplot.config.errorFontSize,document.getElementById(b).style.fontStyle=a.jqplot.config.errorFontStyle,document.getElementById(b).style.fontWeight=a.jqplot.config.errorFontWeight}},a.jqplot.version="1.0.9",a.jqplot.revision="c465c44",a.jqplot.targetCounter=1,a.jqplot.CanvasManager=function(){"undefined"==typeof a.jqplot.CanvasManager.canvases&&(a.jqplot.CanvasManager.canvases=[],a.jqplot.CanvasManager.free=[]);var b=[];this.getCanvas=function(){var c,d=!0;if(!a.jqplot.use_excanvas)for(var e=0,f=a.jqplot.CanvasManager.canvases.length;e<f;e++)if(a.jqplot.CanvasManager.free[e]===!0){d=!1,c=a.jqplot.CanvasManager.canvases[e],a.jqplot.CanvasManager.free[e]=!1,b.push(e);break}return d&&(c=document.createElement("canvas"),b.push(a.jqplot.CanvasManager.canvases.length),a.jqplot.CanvasManager.canvases.push(c),a.jqplot.CanvasManager.free.push(!1)),c},this.initCanvas=function(b){if(a.jqplot.use_excanvas)return window.G_vmlCanvasManager.initElement(b);var c=b.getContext("2d"),d=1;window.devicePixelRatio>1&&(c.webkitBackingStorePixelRatio===H||c.webkitBackingStorePixelRatio<2)&&(d=window.devicePixelRatio);var e=b.width,f=b.height;return b.width=d*b.width,b.height=d*b.height,b.style.width=e+"px",b.style.height=f+"px",c.save(),c.scale(d,d),b},this.freeAllCanvases=function(){for(var a=0,c=b.length;a<c;a++)this.freeCanvas(b[a]);b=[]},this.freeCanvas=function(b){if(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==H)window.G_vmlCanvasManager.uninitElement(a.jqplot.CanvasManager.canvases[b]),a.jqplot.CanvasManager.canvases[b]=null;else{var c=a.jqplot.CanvasManager.canvases[b];c.getContext("2d").clearRect(0,0,c.width,c.height),a(c).unbind().removeAttr("class").removeAttr("style"),a(c).css({left:"",top:"",position:""}),c.width=0,c.height=0,a.jqplot.CanvasManager.free[b]=!0}}},a.jqplot.log=function(){window.console&&window.console.log.apply(window.console,arguments)},a.jqplot.config={addDomReference:!1,enablePlugins:!1,defaultHeight:300,defaultWidth:400,UTCAdjust:!1,timezoneOffset:new Date(6e4*(new Date).getTimezoneOffset()),errorMessage:"",errorBackground:"",errorBorder:"",errorFontFamily:"",errorFontSize:"",errorFontStyle:"",errorFontWeight:"",catchErrors:!1,defaultTickFormatString:"%.1f",defaultColors:["#4bb2c5","#EAA228","#c5b47f","#579575","#839557","#958c12","#953579","#4b5de4","#d8b83f","#ff5800","#0085cc","#c747a3","#cddf54","#FBD178","#26B4E3","#bd70c7"],defaultNegativeColors:["#498991","#C08840","#9F9274","#546D61","#646C4A","#6F6621","#6E3F5F","#4F64B0","#A89050","#C45923","#187399","#945381","#959E5C","#C7AF7B","#478396","#907294"],dashLength:4,gapLength:4,dotGapLength:2.5,srcLocation:"jqplot/src/",pluginLocation:"jqplot/src/plugins/"},a.jqplot.arrayMax=function(a){return Math.max.apply(Math,a)},a.jqplot.arrayMin=function(a){return Math.min.apply(Math,a)},a.jqplot.enablePlugins=a.jqplot.config.enablePlugins,a.jqplot.support_canvas=function(){return"undefined"==typeof a.jqplot.support_canvas.result&&(a.jqplot.support_canvas.result=!!document.createElement("canvas").getContext),a.jqplot.support_canvas.result},a.jqplot.support_canvas_text=function(){return"undefined"==typeof a.jqplot.support_canvas_text.result&&(window.G_vmlCanvasManager!==H&&window.G_vmlCanvasManager._version>887?a.jqplot.support_canvas_text.result=!0:a.jqplot.support_canvas_text.result=!(!document.createElement("canvas").getContext||"function"!=typeof document.createElement("canvas").getContext("2d").fillText)),a.jqplot.support_canvas_text.result},a.jqplot.use_excanvas=!(a.support.boxModel&&a.support.objectAll&&$support.leadingWhitespace||a.jqplot.support_canvas()),a.jqplot.preInitHooks=[],a.jqplot.postInitHooks=[],a.jqplot.preParseOptionsHooks=[],a.jqplot.postParseOptionsHooks=[],a.jqplot.preDrawHooks=[],a.jqplot.postDrawHooks=[],a.jqplot.preDrawSeriesHooks=[],a.jqplot.postDrawSeriesHooks=[],a.jqplot.preDrawLegendHooks=[],a.jqplot.addLegendRowHooks=[],a.jqplot.preSeriesInitHooks=[],a.jqplot.postSeriesInitHooks=[],a.jqplot.preParseSeriesOptionsHooks=[],a.jqplot.postParseSeriesOptionsHooks=[],a.jqplot.eventListenerHooks=[],a.jqplot.preDrawSeriesShadowHooks=[],a.jqplot.postDrawSeriesShadowHooks=[],a.jqplot.ElemContainer=function(){this._elem,this._plotWidth,this._plotHeight,this._plotDimensions={height:null,width:null}},a.jqplot.ElemContainer.prototype.createElement=function(b,c,d,e,f){this._offsets=c;var g=d||"jqplot",h=document.createElement(b);return this._elem=a(h),this._elem.addClass(g),this._elem.css(e),this._elem.attr(f),h=null,this._elem},a.jqplot.ElemContainer.prototype.getWidth=function(){return this._elem?this._elem.outerWidth(!0):null},a.jqplot.ElemContainer.prototype.getHeight=function(){return this._elem?this._elem.outerHeight(!0):null},a.jqplot.ElemContainer.prototype.getPosition=function(){return this._elem?this._elem.position():{top:null,left:null,bottom:null,right:null}},a.jqplot.ElemContainer.prototype.getTop=function(){return this.getPosition().top},a.jqplot.ElemContainer.prototype.getLeft=function(){return this.getPosition().left},a.jqplot.ElemContainer.prototype.getBottom=function(){return this._elem.css("bottom")},a.jqplot.ElemContainer.prototype.getRight=function(){return this._elem.css("right")},b.prototype=new a.jqplot.ElemContainer,b.prototype.constructor=b,b.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.tickOptions.axis=this.name,null==this.tickOptions.showMark&&(this.tickOptions.showMark=this.showTicks),null==this.tickOptions.showMark&&(this.tickOptions.showMark=this.showTickMarks),null==this.tickOptions.showLabel&&(this.tickOptions.showLabel=this.showTicks),null==this.label||""==this.label?this.showLabel=!1:this.labelOptions.label=this.label,0==this.showLabel&&(this.labelOptions.show=!1),0==this.pad&&(this.pad=1),0==this.padMax&&(this.padMax=1),0==this.padMin&&(this.padMin=1),null==this.padMax&&(this.padMax=(this.pad-1)/2+1),null==this.padMin&&(this.padMin=(this.pad-1)/2+1),this.pad=this.padMax+this.padMin-1,null==this.min&&null==this.max||(this.autoscale=!1),null==this.syncTicks&&this.name.indexOf("y")>-1?this.syncTicks=!0:null==this.syncTicks&&(this.syncTicks=!1),this.renderer.init.call(this,this.rendererOptions)},b.prototype.draw=function(a,b){return this.__ticks&&(this.__ticks=null),this.renderer.draw.call(this,a,b)},b.prototype.set=function(){this.renderer.set.call(this)},b.prototype.pack=function(a,b){this.show&&this.renderer.pack.call(this,a,b),null==this._min&&(this._min=this.min,this._max=this.max,this._tickInterval=this.tickInterval,this._numberTicks=this.numberTicks,this.__ticks=this._ticks)},b.prototype.reset=function(){this.renderer.reset.call(this)},b.prototype.resetScale=function(b){a.extend(!0,this,{min:null,max:null,numberTicks:null,tickInterval:null,_ticks:[],ticks:[]},b),this.resetDataBounds()},b.prototype.resetDataBounds=function(){var b=this._dataBounds;b.min=null,b.max=null;for(var c,d,e,f=!!this.show,g=0;g<this._series.length;g++)if(d=this._series[g],d.show||this.scaleToHiddenSeries){e=d._plotData,"line"===d._type&&d.renderer.bands.show&&"x"!==this.name.charAt(0)&&(e=[[0,d.renderer.bands._min],[1,d.renderer.bands._max]]);var h=1,i=1;null!=d._type&&"ohlc"==d._type&&(h=3,i=2);for(var j=0,c=e.length;j<c;j++)"xaxis"==this.name||"x2axis"==this.name?((null!=e[j][0]&&e[j][0]<b.min||null==b.min)&&(b.min=e[j][0]),(null!=e[j][0]&&e[j][0]>b.max||null==b.max)&&(b.max=e[j][0])):((null!=e[j][h]&&e[j][h]<b.min||null==b.min)&&(b.min=e[j][h]),(null!=e[j][i]&&e[j][i]>b.max||null==b.max)&&(b.max=e[j][i]));f&&d.renderer.constructor!==a.jqplot.BarRenderer?f=!1:f&&this._options.hasOwnProperty("forceTickAt0")&&0==this._options.forceTickAt0?f=!1:f&&d.renderer.constructor===a.jqplot.BarRenderer&&("vertical"==d.barDirection&&"xaxis"!=this.name&&"x2axis"!=this.name?null==this._options.pad&&null==this._options.padMin||(f=!1):"horizontal"!=d.barDirection||"xaxis"!=this.name&&"x2axis"!=this.name||null==this._options.pad&&null==this._options.padMin||(f=!1))}f&&this.renderer.constructor===a.jqplot.LinearAxisRenderer&&b.min>=0&&(this.padMin=1,this.forceTickAt0=!0)},c.prototype=new a.jqplot.ElemContainer,c.prototype.constructor=c,c.prototype.setOptions=function(b){if(a.extend(!0,this,b),"inside"==this.placement&&(this.placement="insideGrid"),this.xoffset>0){if("insideGrid"==this.placement)switch(this.location){case"nw":case"w":case"sw":null==this.marginLeft&&(this.marginLeft=this.xoffset+"px"),this.marginRight="0px";break;case"ne":case"e":case"se":default:null==this.marginRight&&(this.marginRight=this.xoffset+"px"),this.marginLeft="0px"}else if("outside"==this.placement)switch(this.location){case"nw":case"w":case"sw":null==this.marginRight&&(this.marginRight=this.xoffset+"px"),this.marginLeft="0px";break;case"ne":case"e":case"se":default:null==this.marginLeft&&(this.marginLeft=this.xoffset+"px"),this.marginRight="0px"}this.xoffset=0}if(this.yoffset>0){if("outside"==this.placement)switch(this.location){case"sw":case"s":case"se":null==this.marginTop&&(this.marginTop=this.yoffset+"px"),this.marginBottom="0px";break;case"ne":case"n":case"nw":default:null==this.marginBottom&&(this.marginBottom=this.yoffset+"px"),this.marginTop="0px"}else if("insideGrid"==this.placement)switch(this.location){case"sw":case"s":case"se":null==this.marginBottom&&(this.marginBottom=this.yoffset+"px"),this.marginTop="0px";break;case"ne":case"n":case"nw":default:null==this.marginTop&&(this.marginTop=this.yoffset+"px"),this.marginBottom="0px"}this.yoffset=0}},c.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions)},c.prototype.draw=function(b,c){for(var d=0;d<a.jqplot.preDrawLegendHooks.length;d++)a.jqplot.preDrawLegendHooks[d].call(this,b);return this.renderer.draw.call(this,b,c)},c.prototype.pack=function(a){this.renderer.pack.call(this,a)},d.prototype=new a.jqplot.ElemContainer,d.prototype.constructor=d,d.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions)},d.prototype.draw=function(a){return this.renderer.draw.call(this,a)},d.prototype.pack=function(){this.renderer.pack.call(this)},e.prototype=new a.jqplot.ElemContainer,e.prototype.constructor=e,e.prototype.init=function(b,c,d){this.index=b,this.gridBorderWidth=c;var e,f,g=this.data,h=[];for(e=0,f=g.length;e<f;e++)if(this.breakOnNull)h.push(g[e]);else{if(null==g[e]||null==g[e][0]||null==g[e][1])continue;h.push(g[e])}if(this.data=h,this.color||(this.color=d.colorGenerator.get(this.index)),this.negativeColor||(this.negativeColor=d.negativeColorGenerator.get(this.index)),this.fillColor||(this.fillColor=this.color),this.fillAlpha){var i=a.jqplot.normalize2rgb(this.fillColor),i=a.jqplot.getColorComponents(i);this.fillColor="rgba("+i[0]+","+i[1]+","+i[2]+","+this.fillAlpha+")"}a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions,d),this.markerRenderer=new this.markerRenderer,this.markerOptions.color||(this.markerOptions.color=this.color),null==this.markerOptions.show&&(this.markerOptions.show=this.showMarker),this.showMarker=this.markerOptions.show,this.markerRenderer.init(this.markerOptions)},e.prototype.draw=function(b,c,d){var e=c==H?{}:c;b=b==H?this.canvas._ctx:b;var f,g,h;for(f=0;f<a.jqplot.preDrawSeriesHooks.length;f++)a.jqplot.preDrawSeriesHooks[f].call(this,b,e);for(this.show&&(this.renderer.setGridData.call(this,d),e.preventJqPlotSeriesDrawTrigger||a(b.canvas).trigger("jqplotSeriesDraw",[this.data,this.gridData]),g=[],g=e.data?e.data:this._stack?this._plotData:this.data,h=e.gridData||this.renderer.makeGridData.call(this,g,d),"line"===this._type&&this.renderer.smooth&&this.renderer._smoothedData.length&&(h=this.renderer._smoothedData),this.renderer.draw.call(this,b,h,e,d)),f=0;f<a.jqplot.postDrawSeriesHooks.length;f++)a.jqplot.postDrawSeriesHooks[f].call(this,b,e,d);b=c=d=f=g=h=null},e.prototype.drawShadow=function(b,c,d){var e=c==H?{}:c;b=b==H?this.shadowCanvas._ctx:b;var f,g,h;for(f=0;f<a.jqplot.preDrawSeriesShadowHooks.length;f++)a.jqplot.preDrawSeriesShadowHooks[f].call(this,b,e);for(this.shadow&&(this.renderer.setGridData.call(this,d),g=[],g=e.data?e.data:this._stack?this._plotData:this.data,h=e.gridData||this.renderer.makeGridData.call(this,g,d),this.renderer.drawShadow.call(this,b,h,e,d)),f=0;f<a.jqplot.postDrawSeriesShadowHooks.length;f++)a.jqplot.postDrawSeriesShadowHooks[f].call(this,b,e);b=c=d=f=g=h=null},e.prototype.toggleDisplay=function(a,b){var c,d;c=a.data.series?a.data.series:this,a.data.speed&&(d=a.data.speed),d?c.canvas._elem.is(":hidden")||!c.show?(c.show=!0,c.canvas._elem.removeClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.fadeIn(d),c.canvas._elem.fadeIn(d,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).fadeIn(d)):(c.show=!1,c.canvas._elem.addClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.fadeOut(d),c.canvas._elem.fadeOut(d,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).fadeOut(d)):c.canvas._elem.is(":hidden")||!c.show?(c.show=!0,c.canvas._elem.removeClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.show(),c.canvas._elem.show(0,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).show()):(c.show=!1,c.canvas._elem.addClass("jqplot-series-hidden"),c.shadowCanvas._elem&&c.shadowCanvas._elem.hide(),c.canvas._elem.hide(0,b),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).hide())},f.prototype=new a.jqplot.ElemContainer,f.prototype.constructor=f,f.prototype.init=function(){a.isFunction(this.renderer)&&(this.renderer=new this.renderer),this.renderer.init.call(this,this.rendererOptions)},f.prototype.createElement=function(a,b){return this._offsets=a,this.renderer.createElement.call(this,b)},f.prototype.draw=function(){this.renderer.draw.call(this)},a.jqplot.GenericCanvas=function(){a.jqplot.ElemContainer.call(this),this._ctx},a.jqplot.GenericCanvas.prototype=new a.jqplot.ElemContainer,a.jqplot.GenericCanvas.prototype.constructor=a.jqplot.GenericCanvas,a.jqplot.GenericCanvas.prototype.createElement=function(b,c,d,e){this._offsets=b;var f="jqplot";c!=H&&(f=c);var g;return g=e.canvasManager.getCanvas(),null!=d&&(this._plotDimensions=d),g.width=this._plotDimensions.width-this._offsets.left-this._offsets.right,
|
6 |
+
g.height=this._plotDimensions.height-this._offsets.top-this._offsets.bottom,this._elem=a(g),this._elem.css({position:"absolute",left:this._offsets.left,top:this._offsets.top}),this._elem.addClass(f),g=e.canvasManager.initCanvas(g),g=null,this._elem},a.jqplot.GenericCanvas.prototype.setContext=function(){return this._ctx=this._elem.get(0).getContext("2d"),this._ctx},a.jqplot.GenericCanvas.prototype.resetCanvas=function(){this._elem&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==H&&window.G_vmlCanvasManager.uninitElement(this._elem.get(0)),this._elem.emptyForce()),this._ctx=null},a.jqplot.HooksManager=function(){this.hooks=[],this.args=[]},a.jqplot.HooksManager.prototype.addOnce=function(a,b){b=b||[];for(var c=!1,d=0,e=this.hooks.length;d<e;d++)this.hooks[d]==a&&(c=!0);c||(this.hooks.push(a),this.args.push(b))},a.jqplot.HooksManager.prototype.add=function(a,b){b=b||[],this.hooks.push(a),this.args.push(b)},a.jqplot.EventListenerManager=function(){this.hooks=[]},a.jqplot.EventListenerManager.prototype.addOnce=function(a,b){for(var c,d,e=!1,d=0,f=this.hooks.length;d<f;d++)c=this.hooks[d],c[0]==a&&c[1]==b&&(e=!0);e||this.hooks.push([a,b])},a.jqplot.EventListenerManager.prototype.add=function(a,b){this.hooks.push([a,b])};var I=["yMidAxis","xaxis","yaxis","x2axis","y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis"];a.jqplot.computeHighlightColors=function(b){var c;if(a.isArray(b)){c=[];for(var d=0;d<b.length;d++){for(var e=a.jqplot.getColorComponents(b[d]),f=[e[0],e[1],e[2]],g=f[0]+f[1]+f[2],h=0;h<3;h++)f[h]=g>660?.85*f[h]:.73*f[h]+90,f[h]=parseInt(f[h],10),f[h]>255?255:f[h];f[3]=.3+.35*e[3],c.push("rgba("+f[0]+","+f[1]+","+f[2]+","+f[3]+")")}}else{for(var e=a.jqplot.getColorComponents(b),f=[e[0],e[1],e[2]],g=f[0]+f[1]+f[2],h=0;h<3;h++)f[h]=g>660?.85*f[h]:.73*f[h]+90,f[h]=parseInt(f[h],10),f[h]>255?255:f[h];f[3]=.3+.35*e[3],c="rgba("+f[0]+","+f[1]+","+f[2]+","+f[3]+")"}return c},a.jqplot.ColorGenerator=function(b){b=b||a.jqplot.config.defaultColors;var c=0;this.next=function(){return c<b.length?b[c++]:(c=0,b[c++])},this.previous=function(){return c>0?b[c--]:(c=b.length-1,b[c])},this.get=function(a){var c=a-b.length*Math.floor(a/b.length);return b[c]},this.setColors=function(a){b=a},this.reset=function(){c=0},this.getIndex=function(){return c},this.setIndex=function(a){c=a}},a.jqplot.hex2rgb=function(a,b){a=a.replace("#",""),3==a.length&&(a=a.charAt(0)+a.charAt(0)+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2));var c;return c="rgba("+parseInt(a.slice(0,2),16)+", "+parseInt(a.slice(2,4),16)+", "+parseInt(a.slice(4,6),16),b&&(c+=", "+b),c+=")"},a.jqplot.rgb2hex=function(a){for(var b=/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *(?:, *[0-9.]*)?\)/,c=a.match(b),d="#",e=1;e<4;e++){var f;c[e].search(/%/)!=-1?(f=parseInt(255*c[e]/100,10).toString(16),1==f.length&&(f="0"+f)):(f=parseInt(c[e],10).toString(16),1==f.length&&(f="0"+f)),d+=f}return d},a.jqplot.normalize2rgb=function(b,c){if(b.search(/^ *rgba?\(/)!=-1)return b;if(b.search(/^ *#?[0-9a-fA-F]?[0-9a-fA-F]/)!=-1)return a.jqplot.hex2rgb(b,c);throw new Error("Invalid color spec")},a.jqplot.getColorComponents=function(b){b=a.jqplot.colorKeywordMap[b]||b;for(var c=a.jqplot.normalize2rgb(b),d=/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *,? *([0-9.]* *)?\)/,e=c.match(d),f=[],g=1;g<4;g++)e[g].search(/%/)!=-1?f[g-1]=parseInt(255*e[g]/100,10):f[g-1]=parseInt(e[g],10);return f[3]=parseFloat(e[4])?parseFloat(e[4]):1,f},a.jqplot.colorKeywordMap={aliceblue:"rgb(240, 248, 255)",antiquewhite:"rgb(250, 235, 215)",aqua:"rgb( 0, 255, 255)",aquamarine:"rgb(127, 255, 212)",azure:"rgb(240, 255, 255)",beige:"rgb(245, 245, 220)",bisque:"rgb(255, 228, 196)",black:"rgb( 0, 0, 0)",blanchedalmond:"rgb(255, 235, 205)",blue:"rgb( 0, 0, 255)",blueviolet:"rgb(138, 43, 226)",brown:"rgb(165, 42, 42)",burlywood:"rgb(222, 184, 135)",cadetblue:"rgb( 95, 158, 160)",chartreuse:"rgb(127, 255, 0)",chocolate:"rgb(210, 105, 30)",coral:"rgb(255, 127, 80)",cornflowerblue:"rgb(100, 149, 237)",cornsilk:"rgb(255, 248, 220)",crimson:"rgb(220, 20, 60)",cyan:"rgb( 0, 255, 255)",darkblue:"rgb( 0, 0, 139)",darkcyan:"rgb( 0, 139, 139)",darkgoldenrod:"rgb(184, 134, 11)",darkgray:"rgb(169, 169, 169)",darkgreen:"rgb( 0, 100, 0)",darkgrey:"rgb(169, 169, 169)",darkkhaki:"rgb(189, 183, 107)",darkmagenta:"rgb(139, 0, 139)",darkolivegreen:"rgb( 85, 107, 47)",darkorange:"rgb(255, 140, 0)",darkorchid:"rgb(153, 50, 204)",darkred:"rgb(139, 0, 0)",darksalmon:"rgb(233, 150, 122)",darkseagreen:"rgb(143, 188, 143)",darkslateblue:"rgb( 72, 61, 139)",darkslategray:"rgb( 47, 79, 79)",darkslategrey:"rgb( 47, 79, 79)",darkturquoise:"rgb( 0, 206, 209)",darkviolet:"rgb(148, 0, 211)",deeppink:"rgb(255, 20, 147)",deepskyblue:"rgb( 0, 191, 255)",dimgray:"rgb(105, 105, 105)",dimgrey:"rgb(105, 105, 105)",dodgerblue:"rgb( 30, 144, 255)",firebrick:"rgb(178, 34, 34)",floralwhite:"rgb(255, 250, 240)",forestgreen:"rgb( 34, 139, 34)",fuchsia:"rgb(255, 0, 255)",gainsboro:"rgb(220, 220, 220)",ghostwhite:"rgb(248, 248, 255)",gold:"rgb(255, 215, 0)",goldenrod:"rgb(218, 165, 32)",gray:"rgb(128, 128, 128)",grey:"rgb(128, 128, 128)",green:"rgb( 0, 128, 0)",greenyellow:"rgb(173, 255, 47)",honeydew:"rgb(240, 255, 240)",hotpink:"rgb(255, 105, 180)",indianred:"rgb(205, 92, 92)",indigo:"rgb( 75, 0, 130)",ivory:"rgb(255, 255, 240)",khaki:"rgb(240, 230, 140)",lavender:"rgb(230, 230, 250)",lavenderblush:"rgb(255, 240, 245)",lawngreen:"rgb(124, 252, 0)",lemonchiffon:"rgb(255, 250, 205)",lightblue:"rgb(173, 216, 230)",lightcoral:"rgb(240, 128, 128)",lightcyan:"rgb(224, 255, 255)",lightgoldenrodyellow:"rgb(250, 250, 210)",lightgray:"rgb(211, 211, 211)",lightgreen:"rgb(144, 238, 144)",lightgrey:"rgb(211, 211, 211)",lightpink:"rgb(255, 182, 193)",lightsalmon:"rgb(255, 160, 122)",lightseagreen:"rgb( 32, 178, 170)",lightskyblue:"rgb(135, 206, 250)",lightslategray:"rgb(119, 136, 153)",lightslategrey:"rgb(119, 136, 153)",lightsteelblue:"rgb(176, 196, 222)",lightyellow:"rgb(255, 255, 224)",lime:"rgb( 0, 255, 0)",limegreen:"rgb( 50, 205, 50)",linen:"rgb(250, 240, 230)",magenta:"rgb(255, 0, 255)",maroon:"rgb(128, 0, 0)",mediumaquamarine:"rgb(102, 205, 170)",mediumblue:"rgb( 0, 0, 205)",mediumorchid:"rgb(186, 85, 211)",mediumpurple:"rgb(147, 112, 219)",mediumseagreen:"rgb( 60, 179, 113)",mediumslateblue:"rgb(123, 104, 238)",mediumspringgreen:"rgb( 0, 250, 154)",mediumturquoise:"rgb( 72, 209, 204)",mediumvioletred:"rgb(199, 21, 133)",midnightblue:"rgb( 25, 25, 112)",mintcream:"rgb(245, 255, 250)",mistyrose:"rgb(255, 228, 225)",moccasin:"rgb(255, 228, 181)",navajowhite:"rgb(255, 222, 173)",navy:"rgb( 0, 0, 128)",oldlace:"rgb(253, 245, 230)",olive:"rgb(128, 128, 0)",olivedrab:"rgb(107, 142, 35)",orange:"rgb(255, 165, 0)",orangered:"rgb(255, 69, 0)",orchid:"rgb(218, 112, 214)",palegoldenrod:"rgb(238, 232, 170)",palegreen:"rgb(152, 251, 152)",paleturquoise:"rgb(175, 238, 238)",palevioletred:"rgb(219, 112, 147)",papayawhip:"rgb(255, 239, 213)",peachpuff:"rgb(255, 218, 185)",peru:"rgb(205, 133, 63)",pink:"rgb(255, 192, 203)",plum:"rgb(221, 160, 221)",powderblue:"rgb(176, 224, 230)",purple:"rgb(128, 0, 128)",red:"rgb(255, 0, 0)",rosybrown:"rgb(188, 143, 143)",royalblue:"rgb( 65, 105, 225)",saddlebrown:"rgb(139, 69, 19)",salmon:"rgb(250, 128, 114)",sandybrown:"rgb(244, 164, 96)",seagreen:"rgb( 46, 139, 87)",seashell:"rgb(255, 245, 238)",sienna:"rgb(160, 82, 45)",silver:"rgb(192, 192, 192)",skyblue:"rgb(135, 206, 235)",slateblue:"rgb(106, 90, 205)",slategray:"rgb(112, 128, 144)",slategrey:"rgb(112, 128, 144)",snow:"rgb(255, 250, 250)",springgreen:"rgb( 0, 255, 127)",steelblue:"rgb( 70, 130, 180)",tan:"rgb(210, 180, 140)",teal:"rgb( 0, 128, 128)",thistle:"rgb(216, 191, 216)",tomato:"rgb(255, 99, 71)",turquoise:"rgb( 64, 224, 208)",violet:"rgb(238, 130, 238)",wheat:"rgb(245, 222, 179)",white:"rgb(255, 255, 255)",whitesmoke:"rgb(245, 245, 245)",yellow:"rgb(255, 255, 0)",yellowgreen:"rgb(154, 205, 50)"},a.jqplot.AxisLabelRenderer=function(b){a.jqplot.ElemContainer.call(this),this.axis,this.show=!0,this.label="",this.fontFamily=null,this.fontSize=null,this.textColor=null,this._elem,this.escapeHTML=!1,a.extend(!0,this,b)},a.jqplot.AxisLabelRenderer.prototype=new a.jqplot.ElemContainer,a.jqplot.AxisLabelRenderer.prototype.constructor=a.jqplot.AxisLabelRenderer,a.jqplot.AxisLabelRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.AxisLabelRenderer.prototype.draw=function(b,c){return this._elem&&(this._elem.emptyForce(),this._elem=null),this._elem=a('<div style="position:absolute;" class="jqplot-'+this.axis+'-label"></div>'),Number(this.label)&&this._elem.css("white-space","nowrap"),this.escapeHTML?this._elem.text(this.label):this._elem.html(this.label),this.fontFamily&&this._elem.css("font-family",this.fontFamily),this.fontSize&&this._elem.css("font-size",this.fontSize),this.textColor&&this._elem.css("color",this.textColor),this._elem},a.jqplot.AxisLabelRenderer.prototype.pack=function(){},a.jqplot.AxisTickRenderer=function(b){a.jqplot.ElemContainer.call(this),this.mark="outside",this.axis,this.showMark=!0,this.showGridline=!0,this.isMinorTick=!1,this.size=4,this.markSize=6,this.show=!0,this.showLabel=!0,this.label=null,this.value=null,this._styles={},this.formatter=a.jqplot.DefaultTickFormatter,this.prefix="",this.suffix="",this.formatString="",this.fontFamily,this.fontSize,this.textColor,this.escapeHTML=!1,this._elem,this._breakTick=!1,a.extend(!0,this,b)},a.jqplot.AxisTickRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.AxisTickRenderer.prototype=new a.jqplot.ElemContainer,a.jqplot.AxisTickRenderer.prototype.constructor=a.jqplot.AxisTickRenderer,a.jqplot.AxisTickRenderer.prototype.setTick=function(a,b,c){return this.value=a,this.axis=b,c&&(this.isMinorTick=!0),this},a.jqplot.AxisTickRenderer.prototype.draw=function(){null===this.label&&(this.label=this.prefix+this.formatter(this.formatString,this.value)+this.suffix);var b={position:"absolute"};Number(this.label)&&(b.whitSpace="nowrap"),this._elem&&(this._elem.emptyForce(),this._elem=null),this._elem=a(document.createElement("div")),this._elem.addClass("jqplot-"+this.axis+"-tick"),this.escapeHTML?this._elem.text(this.label):this._elem.html(this.label),this._elem.css(b);for(var c in this._styles)this._elem.css(c,this._styles[c]);return this.fontFamily&&this._elem.css("font-family",this.fontFamily),this.fontSize&&this._elem.css("font-size",this.fontSize),this.textColor&&this._elem.css("color",this.textColor),this._breakTick&&this._elem.addClass("jqplot-breakTick"),this._elem},a.jqplot.DefaultTickFormatter=function(b,c){return"number"==typeof c?(b||(b=a.jqplot.config.defaultTickFormatString),a.jqplot.sprintf(b,c)):String(c)},a.jqplot.PercentTickFormatter=function(b,c){return"number"==typeof c?(c*=100,b||(b=a.jqplot.config.defaultTickFormatString),a.jqplot.sprintf(b,c)):String(c)},a.jqplot.AxisTickRenderer.prototype.pack=function(){},a.jqplot.CanvasGridRenderer=function(){this.shadowRenderer=new a.jqplot.ShadowRenderer},a.jqplot.CanvasGridRenderer.prototype.init=function(b){this._ctx,a.extend(!0,this,b);var c={lineJoin:"miter",lineCap:"round",fill:!1,isarc:!1,angle:this.shadowAngle,offset:this.shadowOffset,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.shadowWidth,closePath:!1,strokeStyle:this.shadowColor};this.renderer.shadowRenderer.init(c)},a.jqplot.CanvasGridRenderer.prototype.createElement=function(b){var c;this._elem&&(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==H&&(c=this._elem.get(0),window.G_vmlCanvasManager.uninitElement(c),c=null),this._elem.emptyForce(),this._elem=null),c=b.canvasManager.getCanvas();var d=this._plotDimensions.width,e=this._plotDimensions.height;return c.width=d,c.height=e,this._elem=a(c),this._elem.addClass("jqplot-grid-canvas"),this._elem.css({position:"absolute",left:0,top:0}),c=b.canvasManager.initCanvas(c),this._top=this._offsets.top,this._bottom=e-this._offsets.bottom,this._left=this._offsets.left,this._right=d-this._offsets.right,this._width=this._right-this._left,this._height=this._bottom-this._top,c=null,this._elem},a.jqplot.CanvasGridRenderer.prototype.draw=function(){function b(b,d,e,f,g){c.save(),g=g||{},null!=g.lineWidth&&0==g.lineWidth||(a.extend(!0,c,g),c.beginPath(),c.moveTo(b,d),c.lineTo(e,f),c.stroke(),c.restore())}this._ctx=this._elem.get(0).getContext("2d");var c=this._ctx,d=this._axes;c.save(),c.clearRect(0,0,this._plotDimensions.width,this._plotDimensions.height),c.fillStyle=this.backgroundColor||this.background,c.fillRect(this._left,this._top,this._width,this._height),c.save(),c.lineJoin="miter",c.lineCap="butt",c.lineWidth=this.gridLineWidth,c.strokeStyle=this.gridLineColor;for(var e,f,g,h,i=["xaxis","yaxis","x2axis","y2axis"],j=4;j>0;j--){var k=i[j-1],l=d[k],m=l._ticks,n=m.length;if(l.show){if(l.drawBaseline){var o={};switch(null!==l.baselineWidth&&(o.lineWidth=l.baselineWidth),null!==l.baselineColor&&(o.strokeStyle=l.baselineColor),k){case"xaxis":b(this._left,this._bottom,this._right,this._bottom,o);break;case"yaxis":b(this._left,this._bottom,this._left,this._top,o);break;case"x2axis":b(this._left,this._bottom,this._right,this._bottom,o);break;case"y2axis":b(this._right,this._bottom,this._right,this._top,o)}}for(var p=n;p>0;p--){var q=m[p-1];if(q.show){var r=Math.round(l.u2p(q.value))+.5;switch(k){case"xaxis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(r,this._top,r,this._bottom),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._bottom,f=this._bottom+g;break;case"inside":e=this._bottom-g,f=this._bottom;break;case"cross":e=this._bottom-g,f=this._bottom+g;break;default:e=this._bottom,f=this._bottom+g}this.shadow&&this.renderer.shadowRenderer.draw(c,[[r,e],[r,f]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:.75*this.gridLineWidth,depth:2,fill:!1,closePath:!1}),b(r,e,r,f)}break;case"yaxis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(this._right,r,this._left,r),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._left-g,f=this._left;break;case"inside":e=this._left,f=this._left+g;break;case"cross":e=this._left-g,f=this._left+g;break;default:e=this._left-g,f=this._left}this.shadow&&this.renderer.shadowRenderer.draw(c,[[e,r],[f,r]],{lineCap:"butt",lineWidth:1.5*this.gridLineWidth,offset:.75*this.gridLineWidth,fill:!1,closePath:!1}),b(e,r,f,r,{strokeStyle:l.borderColor})}break;case"x2axis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(r,this._bottom,r,this._top),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._top-g,f=this._top;break;case"inside":e=this._top,f=this._top+g;break;case"cross":e=this._top-g,f=this._top+g;break;default:e=this._top-g,f=this._top}this.shadow&&this.renderer.shadowRenderer.draw(c,[[r,e],[r,f]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:.75*this.gridLineWidth,depth:2,fill:!1,closePath:!1}),b(r,e,r,f)}break;case"y2axis":if(q.showGridline&&this.drawGridlines&&(!q.isMinorTick&&l.drawMajorGridlines||q.isMinorTick&&l.drawMinorGridlines)&&b(this._left,r,this._right,r),q.showMark&&q.mark&&(!q.isMinorTick&&l.drawMajorTickMarks||q.isMinorTick&&l.drawMinorTickMarks)){g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;switch(h){case"outside":e=this._right,f=this._right+g;break;case"inside":e=this._right-g,f=this._right;break;case"cross":e=this._right-g,f=this._right+g;break;default:e=this._right,f=this._right+g}this.shadow&&this.renderer.shadowRenderer.draw(c,[[e,r],[f,r]],{lineCap:"butt",lineWidth:1.5*this.gridLineWidth,offset:.75*this.gridLineWidth,fill:!1,closePath:!1}),b(e,r,f,r,{strokeStyle:l.borderColor})}}}}q=null}l=null,m=null}i=["y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis","yMidAxis"];for(var j=7;j>0;j--){var l=d[i[j-1]],m=l._ticks;if(l.show){var s=m[l.numberTicks-1],t=m[0],u=l.getLeft(),v=[[u,s.getTop()+s.getHeight()/2],[u,t.getTop()+t.getHeight()/2+1]];this.shadow&&this.renderer.shadowRenderer.draw(c,v,{lineCap:"butt",fill:!1,closePath:!1}),b(v[0][0],v[0][1],v[1][0],v[1][1],{lineCap:"butt",strokeStyle:l.borderColor,lineWidth:l.borderWidth});for(var p=m.length;p>0;p--){var q=m[p-1];g=q.markSize,h=q.mark;var r=Math.round(l.u2p(q.value))+.5;if(q.showMark&&q.mark){switch(h){case"outside":e=u,f=u+g;break;case"inside":e=u-g,f=u;break;case"cross":e=u-g,f=u+g;break;default:e=u,f=u+g}v=[[e,r],[f,r]],this.shadow&&this.renderer.shadowRenderer.draw(c,v,{lineCap:"butt",lineWidth:1.5*this.gridLineWidth,offset:.75*this.gridLineWidth,fill:!1,closePath:!1}),b(e,r,f,r,{strokeStyle:l.borderColor})}q=null}t=null}l=null,m=null}if(c.restore(),this.shadow){var v=[[this._left,this._bottom],[this._right,this._bottom],[this._right,this._top]];this.renderer.shadowRenderer.draw(c,v)}0!=this.borderWidth&&this.drawBorder&&(b(this._left,this._top,this._right,this._top,{lineCap:"round",strokeStyle:d.x2axis.borderColor,lineWidth:d.x2axis.borderWidth}),b(this._right,this._top,this._right,this._bottom,{lineCap:"round",strokeStyle:d.y2axis.borderColor,lineWidth:d.y2axis.borderWidth}),b(this._right,this._bottom,this._left,this._bottom,{lineCap:"round",strokeStyle:d.xaxis.borderColor,lineWidth:d.xaxis.borderWidth}),b(this._left,this._bottom,this._left,this._top,{lineCap:"round",strokeStyle:d.yaxis.borderColor,lineWidth:d.yaxis.borderWidth})),c.restore(),c=null,d=null},a.jqplot.DivTitleRenderer=function(){},a.jqplot.DivTitleRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.DivTitleRenderer.prototype.draw=function(){this._elem&&(this._elem.emptyForce(),this._elem=null);var b=(this.renderer,document.createElement("div"));if(this._elem=a(b),this._elem.addClass("jqplot-title"),this.text){if(this.text){var c;this.color?c=this.color:this.textColor&&(c=this.textColor);var d={position:"absolute",top:"0px",left:"0px"};this._plotWidth&&(d.width=this._plotWidth+"px"),this.fontSize&&(d.fontSize=this.fontSize),"string"==typeof this.textAlign?d.textAlign=this.textAlign:d.textAlign="center",c&&(d.color=c),this.paddingBottom&&(d.paddingBottom=this.paddingBottom),this.fontFamily&&(d.fontFamily=this.fontFamily),this._elem.css(d),this.escapeHtml?this._elem.text(this.text):this._elem.html(this.text)}}else this.show=!1,this._elem.height(0),this._elem.width(0);return b=null,this._elem},a.jqplot.DivTitleRenderer.prototype.pack=function(){};var J=.1;a.jqplot.LinePattern=function(b,c){var d={dotted:[J,a.jqplot.config.dotGapLength],dashed:[a.jqplot.config.dashLength,a.jqplot.config.gapLength],solid:null};if("string"==typeof c)if("."===c[0]||"-"===c[0]){var e=c;c=[];for(var f=0,g=e.length;f<g;f++){if("."===e[f])c.push(J);else{if("-"!==e[f])continue;c.push(a.jqplot.config.dashLength)}c.push(a.jqplot.config.gapLength)}}else c=d[c];if(!c||!c.length)return b;var h=0,i=c[0],j=0,k=0,l=0,m=0,n=function(a,c){b.moveTo(a,c),j=a,k=c,l=a,m=c},o=function(a,d){var e=b.lineWidth,f=a-j,g=d-k,l=Math.sqrt(f*f+g*g);if(l>0&&e>0)for(f/=l,g/=l;;){var m=e*i;if(!(m<l)){j=a,k=d,0==(1&h)?b.lineTo(j,k):b.moveTo(j,k),i-=l/e;break}j+=m*f,k+=m*g,0==(1&h)?b.lineTo(j,k):b.moveTo(j,k),l-=m,h++,h>=c.length&&(h=0),i=c[h]}},p=function(){b.beginPath()},q=function(){o(l,m)};return{moveTo:n,lineTo:o,beginPath:p,closePath:q}},a.jqplot.LineRenderer=function(){this.shapeRenderer=new a.jqplot.ShapeRenderer,this.shadowRenderer=new a.jqplot.ShadowRenderer},a.jqplot.LineRenderer.prototype.init=function(b,c){b=b||{},this._type="line",this.renderer.animation={show:!1,direction:"left",speed:2500,_supported:!0},this.renderer.smooth=!1,this.renderer.tension=null,this.renderer.constrainSmoothing=!0,this.renderer._smoothedData=[],this.renderer._smoothedPlotData=[],this.renderer._hiBandGridData=[],this.renderer._lowBandGridData=[],this.renderer._hiBandSmoothedData=[],this.renderer._lowBandSmoothedData=[],this.renderer.bandData=[],this.renderer.bands={show:!1,hiData:[],lowData:[],color:this.color,showLines:!1,fill:!0,fillColor:null,_min:null,_max:null,interval:"3%"};var d={highlightMouseOver:b.highlightMouseOver,highlightMouseDown:b.highlightMouseDown,highlightColor:b.highlightColor};delete b.highlightMouseOver,delete b.highlightMouseDown,delete b.highlightColor,a.extend(!0,this.renderer,b),this.renderer.options=b,this.renderer.bandData.length>1&&(!b.bands||null==b.bands.show)?this.renderer.bands.show=!0:b.bands&&null==b.bands.show&&null!=b.bands.interval&&(this.renderer.bands.show=!0),this.fill&&(this.renderer.bands.show=!1),this.renderer.bands.show&&this.renderer.initBands.call(this,this.renderer.options,c),this._stack&&(this.renderer.smooth=!1);var e={lineJoin:this.lineJoin,lineCap:this.lineCap,fill:this.fill,isarc:!1,strokeStyle:this.color,fillStyle:this.fillColor,lineWidth:this.lineWidth,linePattern:this.linePattern,closePath:this.fill};this.renderer.shapeRenderer.init(e);var f=b.shadowOffset;null==f&&(f=this.lineWidth>2.5?1.25*(1+.6*(Math.atan(this.lineWidth/2.5)/.785398163-1)):1.25*Math.atan(this.lineWidth/2.5)/.785398163);var g={lineJoin:this.lineJoin,lineCap:this.lineCap,fill:this.fill,isarc:!1,angle:this.shadowAngle,offset:f,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.lineWidth,linePattern:this.linePattern,closePath:this.fill};if(this.renderer.shadowRenderer.init(g),this._areaPoints=[],this._boundingBox=[[],[]],!this.isTrendline&&this.fill||this.renderer.bands.show){if(this.highlightMouseOver=!0,this.highlightMouseDown=!1,this.highlightColor=null,d.highlightMouseDown&&null==d.highlightMouseOver&&(d.highlightMouseOver=!1),a.extend(!0,this,{highlightMouseOver:d.highlightMouseOver,highlightMouseDown:d.highlightMouseDown,highlightColor:d.highlightColor}),!this.highlightColor){var h=this.renderer.bands.show?this.renderer.bands.fillColor:this.fillColor;this.highlightColor=a.jqplot.computeHighlightColors(h)}this.highlighter&&(this.highlighter.show=!1)}!this.isTrendline&&c&&(c.plugins.lineRenderer={},c.postInitHooks.addOnce(l),c.postDrawHooks.addOnce(m),c.eventListenerHooks.addOnce("jqplotMouseMove",p),c.eventListenerHooks.addOnce("jqplotMouseDown",q),c.eventListenerHooks.addOnce("jqplotMouseUp",r),c.eventListenerHooks.addOnce("jqplotClick",s),c.eventListenerHooks.addOnce("jqplotRightClick",t))},a.jqplot.LineRenderer.prototype.initBands=function(b,c){var d=b.bandData||[],e=this.renderer.bands;e.hiData=[],e.lowData=[];var f=this.data;if(e._max=null,e._min=null,2==d.length)if(a.isArray(d[0][0])){for(var g,h=0,i=0,j=0,k=d[0].length;j<k;j++)g=d[0][j],(null!=g[1]&&g[1]>e._max||null==e._max)&&(e._max=g[1]),(null!=g[1]&&g[1]<e._min||null==e._min)&&(e._min=g[1]);for(var j=0,k=d[1].length;j<k;j++)g=d[1][j],(null!=g[1]&&g[1]>e._max||null==e._max)&&(e._max=g[1],i=1),(null!=g[1]&&g[1]<e._min||null==e._min)&&(e._min=g[1],h=1);i===h&&(e.show=!1),e.hiData=d[i],e.lowData=d[h]}else if(d[0].length===f.length&&d[1].length===f.length)for(var l=d[0][0]>d[1][0]?0:1,m=l?0:1,j=0,k=f.length;j<k;j++)e.hiData.push([f[j][0],d[l][j]]),e.lowData.push([f[j][0],d[m][j]]);else e.show=!1;else if(d.length>2&&!a.isArray(d[0][0]))for(var l=d[0][0]>d[0][1]?0:1,m=l?0:1,j=0,k=d.length;j<k;j++)e.hiData.push([f[j][0],d[j][l]]),e.lowData.push([f[j][0],d[j][m]]);else{var n=e.interval,o=null,p=null,q=null,r=null;if(a.isArray(n)?(o=n[0],p=n[1]):o=n,isNaN(o)?"%"===o.charAt(o.length-1)&&(q="multiply",o=parseFloat(o)/100+1):(o=parseFloat(o),q="add"),null!==p&&isNaN(p)?"%"===p.charAt(p.length-1)&&(r="multiply",p=parseFloat(p)/100+1):null!==p&&(p=parseFloat(p),r="add"),null!==o){if(null===p&&(p=-o,r=q,"multiply"===r&&(p+=2)),o<p){var s=o;o=p,p=s,s=q,q=r,r=s}for(var j=0,k=f.length;j<k;j++){switch(q){case"add":e.hiData.push([f[j][0],f[j][1]+o]);break;case"multiply":e.hiData.push([f[j][0],f[j][1]*o])}switch(r){case"add":e.lowData.push([f[j][0],f[j][1]+p]);break;case"multiply":e.lowData.push([f[j][0],f[j][1]*p])}}}else e.show=!1}for(var t=e.hiData,u=e.lowData,j=0,k=t.length;j<k;j++)(null!=t[j][1]&&t[j][1]>e._max||null==e._max)&&(e._max=t[j][1]);for(var j=0,k=u.length;j<k;j++)(null!=u[j][1]&&u[j][1]<e._min||null==e._min)&&(e._min=u[j][1]);if(null===e.fillColor){var v=a.jqplot.getColorComponents(e.color);v[3]=.5*v[3],e.fillColor="rgba("+v[0]+", "+v[1]+", "+v[2]+", "+v[3]+")"}},a.jqplot.LineRenderer.prototype.setGridData=function(a){var b=this._xaxis.series_u2p,c=this._yaxis.series_u2p,d=this._plotData,e=this._prevPlotData;this.gridData=[],this._prevGridData=[],this.renderer._smoothedData=[],this.renderer._smoothedPlotData=[],this.renderer._hiBandGridData=[],this.renderer._lowBandGridData=[],this.renderer._hiBandSmoothedData=[],this.renderer._lowBandSmoothedData=[];for(var f=this.renderer.bands,g=!1,h=0,i=d.length;h<i;h++)null!=d[h][0]&&null!=d[h][1]?this.gridData.push([b.call(this._xaxis,d[h][0]),c.call(this._yaxis,d[h][1])]):null==d[h][0]?(g=!0,this.gridData.push([null,c.call(this._yaxis,d[h][1])])):null==d[h][1]&&(g=!0,this.gridData.push([b.call(this._xaxis,d[h][0]),null])),null!=e[h]&&null!=e[h][0]&&null!=e[h][1]?this._prevGridData.push([b.call(this._xaxis,e[h][0]),c.call(this._yaxis,e[h][1])]):null!=e[h]&&null==e[h][0]?this._prevGridData.push([null,c.call(this._yaxis,e[h][1])]):null!=e[h]&&null!=e[h][0]&&null==e[h][1]&&this._prevGridData.push([b.call(this._xaxis,e[h][0]),null]);if(g&&(this.renderer.smooth=!1,"line"===this._type&&(f.show=!1)),"line"===this._type&&f.show){for(var h=0,i=f.hiData.length;h<i;h++)this.renderer._hiBandGridData.push([b.call(this._xaxis,f.hiData[h][0]),c.call(this._yaxis,f.hiData[h][1])]);for(var h=0,i=f.lowData.length;h<i;h++)this.renderer._lowBandGridData.push([b.call(this._xaxis,f.lowData[h][0]),c.call(this._yaxis,f.lowData[h][1])])}if("line"===this._type&&this.renderer.smooth&&this.gridData.length>2){var l;this.renderer.constrainSmoothing?(l=j.call(this,this.gridData),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=j.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=j.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null):(l=k.call(this,this.gridData),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=k.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=k.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null)}},a.jqplot.LineRenderer.prototype.makeGridData=function(a,b){var c=this._xaxis.series_u2p,d=this._yaxis.series_u2p,e=[];this.renderer._smoothedData=[],this.renderer._smoothedPlotData=[],this.renderer._hiBandGridData=[],this.renderer._lowBandGridData=[],this.renderer._hiBandSmoothedData=[],this.renderer._lowBandSmoothedData=[];for(var f=this.renderer.bands,g=!1,h=0;h<a.length;h++)null!=a[h][0]&&null!=a[h][1]?(this.step&&h>0&&e.push([c.call(this._xaxis,a[h][0]),d.call(this._yaxis,a[h-1][1])]),e.push([c.call(this._xaxis,a[h][0]),d.call(this._yaxis,a[h][1])])):null==a[h][0]?(g=!0,e.push([null,d.call(this._yaxis,a[h][1])])):null==a[h][1]&&(g=!0,e.push([c.call(this._xaxis,a[h][0]),null]));if(g&&(this.renderer.smooth=!1,"line"===this._type&&(f.show=!1)),"line"===this._type&&f.show){for(var h=0,i=f.hiData.length;h<i;h++)this.renderer._hiBandGridData.push([c.call(this._xaxis,f.hiData[h][0]),d.call(this._yaxis,f.hiData[h][1])]);for(var h=0,i=f.lowData.length;h<i;h++)this.renderer._lowBandGridData.push([c.call(this._xaxis,f.lowData[h][0]),d.call(this._yaxis,f.lowData[h][1])])}if("line"===this._type&&this.renderer.smooth&&e.length>2){var l;this.renderer.constrainSmoothing?(l=j.call(this,e),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=j.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=j.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null):(l=k.call(this,e),this.renderer._smoothedData=l[0],this.renderer._smoothedPlotData=l[1],f.show&&(l=k.call(this,this.renderer._hiBandGridData),this.renderer._hiBandSmoothedData=l[0],l=k.call(this,this.renderer._lowBandGridData),this.renderer._lowBandSmoothedData=l[0]),l=null)}return e},a.jqplot.LineRenderer.prototype.draw=function(b,c,d,e){var f,g,h,i,j,k=a.extend(!0,{},d),l=k.shadow!=H?k.shadow:this.shadow,m=k.showLine!=H?k.showLine:this.showLine,n=k.fill!=H?k.fill:this.fill,o=k.fillAndStroke!=H?k.fillAndStroke:this.fillAndStroke;if(b.save(),c.length){if(m)if(n){if(this.fillToZero){var p=this.negativeColor;this.useNegativeColors||(p=k.fillStyle);var q=!1,r=k.fillStyle;if(o)var s=c.slice(0);if(0!=this.index&&this._stack){for(var t=this._prevGridData,f=t.length;f>0;f--)c.push(t[f-1]);l&&this.renderer.shadowRenderer.draw(b,c,k),this._areaPoints=c,this.renderer.shapeRenderer.draw(b,c,k)}else{var u=[],v=this.renderer.smooth?this.renderer._smoothedPlotData:this._plotData;this._areaPoints=[];var w=this._yaxis.series_u2p(this.fillToValue);this._xaxis.series_u2p(this.fillToValue);if(k.closePath=!0,"y"==this.fillAxis){u.push([c[0][0],w]),this._areaPoints.push([c[0][0],w]);for(var f=0;f<c.length-1;f++)if(u.push(c[f]),this._areaPoints.push(c[f]),v[f][1]*v[f+1][1]<=0){v[f][1]<0?(q=!0,k.fillStyle=p):(q=!1,k.fillStyle=r);var x=c[f][0]+(c[f+1][0]-c[f][0])*(w-c[f][1])/(c[f+1][1]-c[f][1]);u.push([x,w]),this._areaPoints.push([x,w]),l&&this.renderer.shadowRenderer.draw(b,u,k),this.renderer.shapeRenderer.draw(b,u,k),u=[[x,w]]}v[c.length-1][1]<0?(q=!0,k.fillStyle=p):(q=!1,k.fillStyle=r),u.push(c[c.length-1]),this._areaPoints.push(c[c.length-1]),u.push([c[c.length-1][0],w]),this._areaPoints.push([c[c.length-1][0],w])}l&&this.renderer.shadowRenderer.draw(b,u,k),this.renderer.shapeRenderer.draw(b,u,k)}}else{if(o)var s=c.slice(0);if(0!=this.index&&this._stack)for(var t=this._prevGridData,f=t.length;f>0;f--)c.push(t[f-1]);else{var y=b.canvas.height;c.unshift([c[0][0],y]);var z=c.length;c.push([c[z-1][0],y])}this._areaPoints=c,l&&this.renderer.shadowRenderer.draw(b,c,k),this.renderer.shapeRenderer.draw(b,c,k)}if(o){var A=a.extend(!0,{},k,{fill:!1,closePath:!1});if(this.renderer.shapeRenderer.draw(b,s,A),this.markerRenderer.show)for(this.renderer.smooth&&(s=this.gridData),f=0;f<s.length;f++){var B=k.markerOptions||{};this.markerOptionsCallback&&(B=a.extend(!0,B,this.markerOptionsCallback(e,this,f,this.data[f],c[f])||{})),this.markerRenderer.draw(s[f][0],s[f][1],b,B)}}}else{if(this.renderer.bands.show){var C,D=a.extend(!0,{},k);this.renderer.bands.showLines&&(C=this.renderer.smooth?this.renderer._hiBandSmoothedData:this.renderer._hiBandGridData,this.renderer.shapeRenderer.draw(b,C,k),C=this.renderer.smooth?this.renderer._lowBandSmoothedData:this.renderer._lowBandGridData,this.renderer.shapeRenderer.draw(b,C,D)),this.renderer.bands.fill&&(C=this.renderer.smooth?this.renderer._hiBandSmoothedData.concat(this.renderer._lowBandSmoothedData.reverse()):this.renderer._hiBandGridData.concat(this.renderer._lowBandGridData.reverse()),this._areaPoints=C,D.closePath=!0,D.fill=!0,D.fillStyle=this.renderer.bands.fillColor,this.renderer.shapeRenderer.draw(b,C,D))}l&&this.renderer.shadowRenderer.draw(b,c,k),this.renderer.shapeRenderer.draw(b,c,k)}var g=i=h=j=null;for(f=0;f<this._areaPoints.length;f++){var E=this._areaPoints[f];(g>E[0]||null==g)&&(g=E[0]),(j<E[1]||null==j)&&(j=E[1]),(i<E[0]||null==i)&&(i=E[0]),(h>E[1]||null==h)&&(h=E[1])}if("line"===this.type&&this.renderer.bands.show&&(j=this._yaxis.series_u2p(this.renderer.bands._min),h=this._yaxis.series_u2p(this.renderer.bands._max)),this._boundingBox=[[g,j],[i,h]],this.markerRenderer.show&&!n)for(this.renderer.smooth&&(c=this.gridData),f=0;f<c.length;f++){var B=k.markerOptions||{};this.markerOptionsCallback&&(B=a.extend(!0,B,this.markerOptionsCallback(e,this,f,this.data[f],c[f])||{})),
|
7 |
+
null!=c[f][0]&&null!=c[f][1]&&this.markerRenderer.draw(c[f][0],c[f][1],b,B)}}b.restore()},a.jqplot.LineRenderer.prototype.drawShadow=function(a,b,c){},a.jqplot.LinearAxisRenderer=function(){},a.jqplot.LinearAxisRenderer.prototype.init=function(b){this.breakPoints=null,this.breakTickLabel="≈",this.drawBaseline=!0,this.baselineWidth=null,this.baselineColor=null,this.forceTickAt0=!1,this.forceTickAt100=!1,this.tickInset=0,this.minorTicks=0,this.alignTicks=!1,this._autoFormatString="",this._overrideFormatString=!1,this._scalefact=1,a.extend(!0,this,b),this.breakPoints&&(a.isArray(this.breakPoints)?(this.breakPoints.length<2||this.breakPoints[1]<=this.breakPoints[0])&&(this.breakPoints=null):this.breakPoints=null),null!=this.numberTicks&&this.numberTicks<2&&(this.numberTicks=2),this.resetDataBounds()},a.jqplot.LinearAxisRenderer.prototype.draw=function(b,c){if(this.show){this.renderer.createTicks.call(this,c);if(this._elem&&(this._elem.emptyForce(),this._elem=null),this._elem=a(document.createElement("div")),this._elem.addClass("jqplot-axis jqplot-"+this.name),this._elem.css("position","absolute"),"xaxis"==this.name||"x2axis"==this.name?this._elem.width(this._plotDimensions.width):this._elem.height(this._plotDimensions.height),this.labelOptions.axis=this.name,this._label=new this.labelRenderer(this.labelOptions),this._label.show){var d=this._label.draw(b,c);d.appendTo(this._elem),d=null}for(var e,f=this._ticks,g=0;g<f.length;g++)e=f[g],e.show&&e.showLabel&&(!e.isMinorTick||this.showMinorTicks)&&this._elem.append(e.draw(b,c));e=null,f=null}return this._elem},a.jqplot.LinearAxisRenderer.prototype.reset=function(){this.min=this._options.min,this.max=this._options.max,this.tickInterval=this._options.tickInterval,this.numberTicks=this._options.numberTicks,this._autoFormatString="",this._overrideFormatString&&this.tickOptions&&this.tickOptions.formatString&&(this.tickOptions.formatString="")},a.jqplot.LinearAxisRenderer.prototype.set=function(){var b,c=0,d=0,e=0,f=null!=this._label&&this._label.show;if(this.show){for(var g,h=this._ticks,i=0;i<h.length;i++)g=h[i],g._breakTick||!g.show||!g.showLabel||g.isMinorTick&&!this.showMinorTicks||(b="xaxis"==this.name||"x2axis"==this.name?g._elem.outerHeight(!0):g._elem.outerWidth(!0),b>c&&(c=b));g=null,h=null,f&&(d=this._label._elem.outerWidth(!0),e=this._label._elem.outerHeight(!0)),"xaxis"==this.name?(c+=e,this._elem.css({height:c+"px",left:"0px",bottom:"0px"})):"x2axis"==this.name?(c+=e,this._elem.css({height:c+"px",left:"0px",top:"0px"})):"yaxis"==this.name?(c+=d,this._elem.css({width:c+"px",left:"0px",top:"0px"}),f&&this._label.constructor==a.jqplot.AxisLabelRenderer&&this._label._elem.css("width",d+"px")):(c+=d,this._elem.css({width:c+"px",right:"0px",top:"0px"}),f&&this._label.constructor==a.jqplot.AxisLabelRenderer&&this._label._elem.css("width",d+"px"))}},a.jqplot.LinearAxisRenderer.prototype.createTicks=function(b){var c,d,e,f,g=this._ticks,h=this.ticks,i=this.name,j=this._dataBounds,k="x"===this.name.charAt(0)?this._plotDimensions.width:this._plotDimensions.height,l=this.min,m=this.max,n=this.numberTicks,o=this.tickInterval,p=30;if(this._scalefact=(Math.max(k,p+1)-p)/300,h.length){for(f=0;f<h.length;f++){var q=h[f],r=new this.tickRenderer(this.tickOptions);a.isArray(q)?(r.value=q[0],this.breakPoints?q[0]==this.breakPoints[0]?(r.label=this.breakTickLabel,r._breakTick=!0,r.showGridline=!1,r.showMark=!1):q[0]>this.breakPoints[0]&&q[0]<=this.breakPoints[1]?(r.show=!1,r.showGridline=!1,r.label=q[1]):r.label=q[1]:r.label=q[1],r.setTick(q[0],this.name),this._ticks.push(r)):a.isPlainObject(q)?(a.extend(!0,r,q),r.axis=this.name,this._ticks.push(r)):(r.value=q,this.breakPoints&&(q==this.breakPoints[0]?(r.label=this.breakTickLabel,r._breakTick=!0,r.showGridline=!1,r.showMark=!1):q>this.breakPoints[0]&&q<=this.breakPoints[1]&&(r.show=!1,r.showGridline=!1)),r.setTick(q,this.name),this._ticks.push(r))}this.numberTicks=h.length,this.min=this._ticks[0].value,this.max=this._ticks[this.numberTicks-1].value,this.tickInterval=(this.max-this.min)/(this.numberTicks-1)}else{k="xaxis"==i||"x2axis"==i?this._plotDimensions.width:this._plotDimensions.height;var s=this.numberTicks;this.alignTicks&&("x2axis"===this.name&&b.axes.xaxis.show?s=b.axes.xaxis.numberTicks:"y"===this.name.charAt(0)&&"yaxis"!==this.name&&"yMidAxis"!==this.name&&b.axes.yaxis.show&&(s=b.axes.yaxis.numberTicks)),c=null!=this.min?this.min:j.min,d=null!=this.max?this.max:j.max;var t,u,v,w=d-c;if(null!=this.tickOptions&&this.tickOptions.formatString||(this._overrideFormatString=!0),null==this.min||null==this.max&&null==this.tickInterval&&!this.autoscale){this.forceTickAt0&&(c>0&&(c=0),d<0&&(d=0)),this.forceTickAt100&&(c>100&&(c=100),d<100&&(d=100));var x=!1,y=!1;null!=this.min?x=!0:null!=this.max&&(y=!0);var z=a.jqplot.LinearTickGenerator(c,d,this._scalefact,s,x,y),A=null!=this.min?c:c+w*(this.padMin-1),B=null!=this.max?d:d-w*(this.padMax-1);(c<A||d>B)&&(A=null!=this.min?c:c-w*(this.padMin-1),B=null!=this.max?d:d+w*(this.padMax-1),z=a.jqplot.LinearTickGenerator(A,B,this._scalefact,s,x,y)),this.min=z[0],this.max=z[1],this.numberTicks=z[2],this._autoFormatString=z[3],this.tickInterval=z[4]}else{if(c==d){var C=.05;c>0&&(C=Math.max(Math.log(c)/Math.LN10,.05)),c-=C,d+=C}if(this.autoscale&&null==this.min&&null==this.max){for(var D,E,F,G=!1,H=!1,f=0;f<this._series.length;f++){var I=this._series[f],J="x"==I.fillAxis?I._xaxis.name:I._yaxis.name;if(this.name==J){for(var K=I._plotValues[I.fillAxis],L=K[0],M=K[0],N=1;N<K.length;N++)K[N]<L?L=K[N]:K[N]>M&&(M=K[N]);var O=(M-L)/M;I.renderer.constructor==a.jqplot.BarRenderer?L>=0&&(I.fillToZero||O>.1)?G=!0:(G=!1,H=!!(I.fill&&I.fillToZero&&L<0&&M>0)):I.fill?L>=0&&(I.fillToZero||O>.1)?G=!0:L<0&&M>0&&I.fillToZero?(G=!1,H=!0):(G=!1,H=!1):L<0&&(G=!1)}}if(G)this.numberTicks=2+Math.ceil((k-(this.tickSpacing-1))/this.tickSpacing),this.min=0,l=0,E=d/(this.numberTicks-1),v=Math.pow(10,Math.abs(Math.floor(Math.log(E)/Math.LN10))),E/v==parseInt(E/v,10)&&(E+=v),this.tickInterval=Math.ceil(E/v)*v,this.max=this.tickInterval*(this.numberTicks-1);else if(H){this.numberTicks=2+Math.ceil((k-(this.tickSpacing-1))/this.tickSpacing);var P=Math.ceil(Math.abs(c)/w*(this.numberTicks-1)),Q=this.numberTicks-1-P;E=Math.max(Math.abs(c/P),Math.abs(d/Q)),v=Math.pow(10,Math.abs(Math.floor(Math.log(E)/Math.LN10))),this.tickInterval=Math.ceil(E/v)*v,this.max=this.tickInterval*Q,this.min=-this.tickInterval*P}else null==this.numberTicks&&(this.tickInterval?this.numberTicks=3+Math.ceil(w/this.tickInterval):this.numberTicks=2+Math.ceil((k-(this.tickSpacing-1))/this.tickSpacing)),null==this.tickInterval?(E=w/(this.numberTicks-1),v=E<1?Math.pow(10,Math.abs(Math.floor(Math.log(E)/Math.LN10))):1,this.tickInterval=Math.ceil(E*v*this.pad)/v):v=1/this.tickInterval,D=this.tickInterval*(this.numberTicks-1),F=(D-w)/2,null==this.min&&(this.min=Math.floor(v*(c-F))/v),null==this.max&&(this.max=this.min+D);var R,S=a.jqplot.getSignificantFigures(this.tickInterval);if(S.digitsLeft>=S.significantDigits)R="%d";else{var v=Math.max(0,5-S.digitsLeft);v=Math.min(v,S.digitsRight),R="%."+v+"f"}this._autoFormatString=R}else{t=null!=this.min?this.min:c-w*(this.padMin-1),u=null!=this.max?this.max:d+w*(this.padMax-1),w=u-t,null==this.numberTicks&&(null!=this.tickInterval?this.numberTicks=Math.ceil((u-t)/this.tickInterval)+1:k>100?this.numberTicks=parseInt(3+(k-100)/75,10):this.numberTicks=2),null==this.tickInterval&&(this.tickInterval=w/(this.numberTicks-1)),null==this.max&&(u=t+this.tickInterval*(this.numberTicks-1)),null==this.min&&(t=u-this.tickInterval*(this.numberTicks-1));var R,S=a.jqplot.getSignificantFigures(this.tickInterval);if(S.digitsLeft>=S.significantDigits)R="%d";else{var v=Math.max(0,5-S.digitsLeft);v=Math.min(v,S.digitsRight),R="%."+v+"f"}this._autoFormatString=R,this.min=t,this.max=u}if(this.renderer.constructor==a.jqplot.LinearAxisRenderer&&""==this._autoFormatString){w=this.max-this.min;var T=new this.tickRenderer(this.tickOptions),U=T.formatString||a.jqplot.config.defaultTickFormatString,U=U.match(a.jqplot.sprintf.regex)[0],V=0;if(U){if(U.search(/[fFeEgGpP]/)>-1){var W=U.match(/\%\.(\d{0,})?[eEfFgGpP]/);V=W?parseInt(W[1],10):6}else U.search(/[di]/)>-1&&(V=0);var X=Math.pow(10,-V);if(this.tickInterval<X&&null==n&&null==o)if(this.tickInterval=X,null==m&&null==l){this.min=Math.floor(this._dataBounds.min/X)*X,this.min==this._dataBounds.min&&(this.min=this._dataBounds.min-this.tickInterval),this.max=Math.ceil(this._dataBounds.max/X)*X,this.max==this._dataBounds.max&&(this.max=this._dataBounds.max+this.tickInterval);var Y=(this.max-this.min)/this.tickInterval;Y=Y.toFixed(11),Y=Math.ceil(Y),this.numberTicks=Y+1}else if(null==m){var Y=(this._dataBounds.max-this.min)/this.tickInterval;Y=Y.toFixed(11),this.numberTicks=Math.ceil(Y)+2,this.max=this.min+this.tickInterval*(this.numberTicks-1)}else if(null==l){var Y=(this.max-this._dataBounds.min)/this.tickInterval;Y=Y.toFixed(11),this.numberTicks=Math.ceil(Y)+2,this.min=this.max-this.tickInterval*(this.numberTicks-1)}else this.numberTicks=Math.ceil((m-l)/this.tickInterval)+1,this.min=Math.floor(l*Math.pow(10,V))/Math.pow(10,V),this.max=Math.ceil(m*Math.pow(10,V))/Math.pow(10,V),this.numberTicks=Math.ceil((this.max-this.min)/this.tickInterval)+1}}}this._overrideFormatString&&""!=this._autoFormatString&&(this.tickOptions=this.tickOptions||{},this.tickOptions.formatString=this._autoFormatString);for(var r,Z,f=0;f<this.numberTicks;f++){if(e=this.min+f*this.tickInterval,r=new this.tickRenderer(this.tickOptions),r.setTick(e,this.name),this._ticks.push(r),f<this.numberTicks-1)for(var N=0;N<this.minorTicks;N++)e+=this.tickInterval/(this.minorTicks+1),Z=a.extend(!0,{},this.tickOptions,{name:this.name,value:e,label:"",isMinorTick:!0}),r=new this.tickRenderer(Z),this._ticks.push(r);r=null}}this.tickInset&&(this.min=this.min-this.tickInset*this.tickInterval,this.max=this.max+this.tickInset*this.tickInterval),g=null},a.jqplot.LinearAxisRenderer.prototype.resetTickValues=function(b){if(a.isArray(b)&&b.length==this._ticks.length){for(var c,d=0;d<b.length;d++)c=this._ticks[d],c.value=b[d],c.label=c.formatter(c.formatString,b[d]),c.label=c.prefix+c.label,c._elem.html(c.label);c=null,this.min=a.jqplot.arrayMin(b),this.max=a.jqplot.arrayMax(b),this.pack()}},a.jqplot.LinearAxisRenderer.prototype.pack=function(b,c){b=b||{},c=c||this._offsets;var d=this._ticks,e=this.max,f=this.min,g=c.max,h=c.min,i=null!=this._label&&this._label.show;for(var j in b)this._elem.css(j,b[j]);this._offsets=c;var k=g-h,l=e-f;if(this.breakPoints?(l=l-this.breakPoints[1]+this.breakPoints[0],this.p2u=function(a){return(a-h)*l/k+f},this.u2p=function(a){return a>this.breakPoints[0]&&a<this.breakPoints[1]&&(a=this.breakPoints[0]),a<=this.breakPoints[0]?(a-f)*k/l+h:(a-this.breakPoints[1]+this.breakPoints[0]-f)*k/l+h},"x"==this.name.charAt(0)?(this.series_u2p=function(a){return a>this.breakPoints[0]&&a<this.breakPoints[1]&&(a=this.breakPoints[0]),a<=this.breakPoints[0]?(a-f)*k/l:(a-this.breakPoints[1]+this.breakPoints[0]-f)*k/l},this.series_p2u=function(a){return a*l/k+f}):(this.series_u2p=function(a){return a>this.breakPoints[0]&&a<this.breakPoints[1]&&(a=this.breakPoints[0]),a>=this.breakPoints[1]?(a-e)*k/l:(a+this.breakPoints[1]-this.breakPoints[0]-e)*k/l},this.series_p2u=function(a){return a*l/k+e})):(this.p2u=function(a){return(a-h)*l/k+f},this.u2p=function(a){return(a-f)*k/l+h},"xaxis"==this.name||"x2axis"==this.name?(this.series_u2p=function(a){return(a-f)*k/l},this.series_p2u=function(a){return a*l/k+f}):(this.series_u2p=function(a){return(a-e)*k/l},this.series_p2u=function(a){return a*l/k+e})),this.show)if("xaxis"==this.name||"x2axis"==this.name){for(var m=0;m<d.length;m++){var n=d[m];if(n.show&&n.showLabel){var o;if(n.constructor==a.jqplot.CanvasAxisTickRenderer&&n.angle){var p="xaxis"==this.name?1:-1;switch(n.labelPosition){case"auto":o=p*n.angle<0?-n.getWidth()+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2:-n._textRenderer.height*Math.sin(n._textRenderer.angle)/2;break;case"end":o=-n.getWidth()+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2;break;case"start":o=-n._textRenderer.height*Math.sin(n._textRenderer.angle)/2;break;case"middle":o=-n.getWidth()/2+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2;break;default:o=-n.getWidth()/2+n._textRenderer.height*Math.sin(-n._textRenderer.angle)/2}}else o=-n.getWidth()/2;var q=this.u2p(n.value)+o+"px";n._elem.css("left",q),n.pack()}}if(i){var r=this._label._elem.outerWidth(!0);this._label._elem.css("left",h+k/2-r/2+"px"),"xaxis"==this.name?this._label._elem.css("bottom","0px"):this._label._elem.css("top","0px"),this._label.pack()}}else{for(var m=0;m<d.length;m++){var n=d[m];if(n.show&&n.showLabel){var o;if(n.constructor==a.jqplot.CanvasAxisTickRenderer&&n.angle){var p="yaxis"==this.name?1:-1;switch(n.labelPosition){case"auto":case"end":o=p*n.angle<0?-n._textRenderer.height*Math.cos(-n._textRenderer.angle)/2:-n.getHeight()+n._textRenderer.height*Math.cos(n._textRenderer.angle)/2;break;case"start":o=n.angle>0?-n._textRenderer.height*Math.cos(-n._textRenderer.angle)/2:-n.getHeight()+n._textRenderer.height*Math.cos(n._textRenderer.angle)/2;break;case"middle":o=-n.getHeight()/2;break;default:o=-n.getHeight()/2}}else o=-n.getHeight()/2;var q=this.u2p(n.value)+o+"px";n._elem.css("top",q),n.pack()}}if(i){var s=this._label._elem.outerHeight(!0);this._label._elem.css("top",g-k/2-s/2+"px"),"yaxis"==this.name?this._label._elem.css("left","0px"):this._label._elem.css("right","0px"),this._label.pack()}}d=null};a.jqplot.LinearTickGenerator=function(b,c,d,e,f,g){if(f=null!==f&&f,g=null!==g&&!f&&g,b===c&&(c=c?0:1),d=d||1,c<b){var h=c;c=b,b=h}var i=[],j=x(c-b,d),k=a.jqplot.getSignificantFigures;if(null==e)if(f||g){if(f){i[0]=b,i[2]=Math.ceil((c-b)/j+1),i[1]=b+(i[2]-1)*j;var l=k(b).digitsRight,m=k(j).digitsRight;l<m?i[3]=u(j):i[3]="%."+l+"f",i[4]=j}else if(g){i[1]=c,i[2]=Math.ceil((c-b)/j+1),i[0]=c-(i[2]-1)*j;var n=k(c).digitsRight,m=k(j).digitsRight;n<m?i[3]=u(j):i[3]="%."+n+"f",i[4]=j}}else i[0]=Math.floor(b/j)*j,i[1]=Math.ceil(c/j)*j,i[2]=Math.round((i[1]-i[0])/j+1),i[3]=u(j),i[4]=j;else{var o=[];if(o[0]=Math.floor(b/j)*j,o[1]=Math.ceil(c/j)*j,o[2]=Math.round((o[1]-o[0])/j+1),o[3]=u(j),o[4]=j,o[2]===e)i=o;else{var p=w(o[1]-o[0],e);i[0]=o[0],i[2]=e,i[4]=p,i[3]=u(p),i[1]=i[0]+(i[2]-1)*i[4]}}return i},a.jqplot.LinearTickGenerator.bestLinearInterval=x,a.jqplot.LinearTickGenerator.bestInterval=w,a.jqplot.LinearTickGenerator.bestLinearComponents=y,a.jqplot.LinearTickGenerator.bestConstrainedInterval=v,a.jqplot.MarkerRenderer=function(b){this.show=!0,this.style="filledCircle",this.lineWidth=2,this.size=9,this.color="#666666",this.shadow=!0,this.shadowAngle=45,this.shadowOffset=1,this.shadowDepth=3,this.shadowAlpha="0.07",this.shadowRenderer=new a.jqplot.ShadowRenderer,this.shapeRenderer=new a.jqplot.ShapeRenderer,a.extend(!0,this,b)},a.jqplot.MarkerRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.MarkerRenderer.prototype.drawDiamond=function(b,c,d,e,f){var g;g=null==f||a.isEmptyObject(f)?this:a.extend(!0,{},this,f);var h=1.2,i=this.size/2/h,j=this.size/2*h,k=[[b-i,c],[b,c+j],[b+i,c],[b,c-j]];g.shadow&&this.shadowRenderer.draw(d,k,z(g)),this.shapeRenderer.draw(d,k,A(g))},a.jqplot.MarkerRenderer.prototype.drawPlus=function(b,c,d,e,f){var g=a.extend(!0,{},this,f,{closePath:!1}),h=1,i=g.size/2*h,j=g.size/2*h,k=[[b,c-j],[b,c+j]],l=[[b+i,c],[b-i,c]];g.shadow&&(this.shadowRenderer.draw(d,k,z(g)),this.shadowRenderer.draw(d,l,z(g))),this.shapeRenderer.draw(d,k,g),this.shapeRenderer.draw(d,l,g)},a.jqplot.MarkerRenderer.prototype.drawX=function(b,c,d,e,f){var g=a.extend(!0,{},this,f,{closePath:!1}),h=1,i=g.size/2*h,j=g.size/2*h,k=[[b-i,c-j],[b+i,c+j]],l=[[b-i,c+j],[b+i,c-j]];g.shadow&&(this.shadowRenderer.draw(d,k,z(g)),this.shadowRenderer.draw(d,l,z(g))),this.shapeRenderer.draw(d,k,A(g)),this.shapeRenderer.draw(d,l,A(g))},a.jqplot.MarkerRenderer.prototype.drawDash=function(b,c,d,e,f){var g;g=null==f||a.isEmptyObject(f)?this:a.extend(!0,{},this,f);var h=1,i=this.size/2*h,j=(this.size/2*h,[[b-i,c],[b+i,c]]);g.shadow&&this.shadowRenderer.draw(d,j),this.shapeRenderer.draw(d,j,A(g))},a.jqplot.MarkerRenderer.prototype.drawLine=function(b,c,d,e,f){var g;g=null==f||a.isEmptyObject(f)?this:a.extend(!0,{},this,f);var h=[b,c];g.shadow&&this.shadowRenderer.draw(d,h,z(g)),this.shapeRenderer.draw(d,h,A(g))},a.jqplot.MarkerRenderer.prototype.drawSquare=function(b,c,d,e,f){var g;g=null==f||a.isEmptyObject(f)?this:a.extend(!0,{},this,f);var h=1,i=this.size/2/h,j=this.size/2*h,k=[[b-i,c-j],[b-i,c+j],[b+i,c+j],[b+i,c-j]];g.shadow&&this.shadowRenderer.draw(d,k,z(g)),this.shapeRenderer.draw(d,k,A(g))},a.jqplot.MarkerRenderer.prototype.drawCircle=function(b,c,d,e,f){var g;g=null==f||a.isEmptyObject(f)?this:a.extend(!0,{},this,f);var h=this.size/2,i=2*Math.PI,j=[b,c,h,0,i,!0];g.shadow&&this.shadowRenderer.draw(d,j,z(g)),this.shapeRenderer.draw(d,j,A(g))},a.jqplot.MarkerRenderer.prototype.draw=function(a,b,c,d){if(d=d||{},null==d.show||0!=d.show){d.color&&!d.fillStyle&&(d.fillStyle=d.color),d.color&&!d.strokeStyle&&(d.strokeStyle=d.color);var e=d.style||this.style;switch(e){case"diamond":this.drawDiamond(a,b,c,!1,d);break;case"filledDiamond":this.drawDiamond(a,b,c,!0,d);break;case"circle":this.drawCircle(a,b,c,!1,d);break;case"filledCircle":this.drawCircle(a,b,c,!0,d);break;case"square":this.drawSquare(a,b,c,!1,d);break;case"filledSquare":this.drawSquare(a,b,c,!0,d);break;case"x":this.drawX(a,b,c,!0,d);break;case"plus":this.drawPlus(a,b,c,!0,d);break;case"dash":this.drawDash(a,b,c,!0,d);break;case"line":this.drawLine(a,b,c,!1,d);break;default:this.drawDiamond(a,b,c,!1,d)}}},a.jqplot.ShadowRenderer=function(b){this.angle=45,this.offset=1,this.alpha=.07,this.lineWidth=1.5,this.lineJoin="miter",this.lineCap="round",this.closePath=!1,this.fill=!1,this.depth=3,this.strokeStyle="rgba(0,0,0,0.1)",this.isarc=!1,a.extend(!0,this,b)},a.jqplot.ShadowRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.ShadowRenderer.prototype.draw=function(b,c,d){b.save();var e=null!=d?d:{},f=null!=e.fill?e.fill:this.fill,g=null!=e.fillRect?e.fillRect:this.fillRect,h=null!=e.closePath?e.closePath:this.closePath,i=null!=e.offset?e.offset:this.offset,j=null!=e.alpha?e.alpha:this.alpha,k=null!=e.depth?e.depth:this.depth,l=null!=e.isarc?e.isarc:this.isarc,m=null!=e.linePattern?e.linePattern:this.linePattern;b.lineWidth=null!=e.lineWidth?e.lineWidth:this.lineWidth,b.lineJoin=null!=e.lineJoin?e.lineJoin:this.lineJoin,b.lineCap=null!=e.lineCap?e.lineCap:this.lineCap,b.strokeStyle=e.strokeStyle||this.strokeStyle||"rgba(0,0,0,"+j+")",b.fillStyle=e.fillStyle||this.fillStyle||"rgba(0,0,0,"+j+")";for(var n=0;n<k;n++){var o=a.jqplot.LinePattern(b,m);if(b.translate(Math.cos(this.angle*Math.PI/180)*i,Math.sin(this.angle*Math.PI/180)*i),o.beginPath(),l)b.arc(c[0],c[1],c[2],c[3],c[4],!0);else if(g)g&&b.fillRect(c[0],c[1],c[2],c[3]);else if(c&&c.length)for(var p=!0,q=0;q<c.length;q++)null!=c[q][0]&&null!=c[q][1]?p?(o.moveTo(c[q][0],c[q][1]),p=!1):o.lineTo(c[q][0],c[q][1]):p=!0;h&&o.closePath(),f?b.fill():b.stroke()}b.restore()},a.jqplot.ShapeRenderer=function(b){this.lineWidth=1.5,this.linePattern="solid",this.lineJoin="miter",this.lineCap="round",this.closePath=!1,this.fill=!1,this.isarc=!1,this.fillRect=!1,this.strokeRect=!1,this.clearRect=!1,this.strokeStyle="#999999",this.fillStyle="#999999",a.extend(!0,this,b)},a.jqplot.ShapeRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.ShapeRenderer.prototype.draw=function(b,c,d){b.save();var e=null!=d?d:{},f=null!=e.fill?e.fill:this.fill,g=null!=e.closePath?e.closePath:this.closePath,h=null!=e.fillRect?e.fillRect:this.fillRect,i=null!=e.strokeRect?e.strokeRect:this.strokeRect,j=null!=e.clearRect?e.clearRect:this.clearRect,k=null!=e.isarc?e.isarc:this.isarc,l=null!=e.linePattern?e.linePattern:this.linePattern,m=a.jqplot.LinePattern(b,l);if(b.lineWidth=e.lineWidth||this.lineWidth,b.lineJoin=e.lineJoin||this.lineJoin,b.lineCap=e.lineCap||this.lineCap,b.strokeStyle=e.strokeStyle||e.color||this.strokeStyle,b.fillStyle=e.fillStyle||this.fillStyle,b.beginPath(),k)return b.arc(c[0],c[1],c[2],c[3],c[4],!0),g&&b.closePath(),f?b.fill():b.stroke(),void b.restore();if(j)return b.clearRect(c[0],c[1],c[2],c[3]),void b.restore();if(h||i){if(h&&b.fillRect(c[0],c[1],c[2],c[3]),i)return b.strokeRect(c[0],c[1],c[2],c[3]),void b.restore()}else if(c&&c.length){for(var n=!0,o=0;o<c.length;o++)null!=c[o][0]&&null!=c[o][1]?n?(m.moveTo(c[o][0],c[o][1]),n=!1):m.lineTo(c[o][0],c[o][1]):n=!0;g&&m.closePath(),f?b.fill():b.stroke()}b.restore()},a.jqplot.TableLegendRenderer=function(){},a.jqplot.TableLegendRenderer.prototype.init=function(b){a.extend(!0,this,b)},a.jqplot.TableLegendRenderer.prototype.addrow=function(b,c,d,e){var f,g,h,i,j,k=d?this.rowSpacing+"px":"0px";h=document.createElement("tr"),f=a(h),f.addClass("jqplot-table-legend"),h=null,e?f.prependTo(this._elem):f.appendTo(this._elem),this.showSwatches&&(g=a(document.createElement("td")),g.addClass("jqplot-table-legend jqplot-table-legend-swatch"),g.css({textAlign:"center",paddingTop:k}),i=a(document.createElement("div")),i.addClass("jqplot-table-legend-swatch-outline"),j=a(document.createElement("div")),j.addClass("jqplot-table-legend-swatch"),j.css({backgroundColor:c,borderColor:c}),f.append(g.append(i.append(j)))),this.showLabels&&(g=a(document.createElement("td")),g.addClass("jqplot-table-legend jqplot-table-legend-label"),g.css("paddingTop",k),f.append(g),this.escapeHtml?g.text(b):g.html(b)),g=null,i=null,j=null,f=null,h=null},a.jqplot.TableLegendRenderer.prototype.draw=function(){if(this._elem&&(this._elem.emptyForce(),this._elem=null),this.show){var b=this._series,c=document.createElement("table");this._elem=a(c),this._elem.addClass("jqplot-table-legend");var d={position:"absolute"};this.background&&(d.background=this.background),this.border&&(d.border=this.border),this.fontSize&&(d.fontSize=this.fontSize),this.fontFamily&&(d.fontFamily=this.fontFamily),this.textColor&&(d.textColor=this.textColor),null!=this.marginTop&&(d.marginTop=this.marginTop),null!=this.marginBottom&&(d.marginBottom=this.marginBottom),null!=this.marginLeft&&(d.marginLeft=this.marginLeft),null!=this.marginRight&&(d.marginRight=this.marginRight);for(var e,f=!1,g=!1,h=0;h<b.length;h++)if(e=b[h],(e._stack||e.renderer.constructor==a.jqplot.BezierCurveRenderer)&&(g=!0),e.show&&e.showLabel){var i=this.labels[h]||e.label.toString();if(i){var j=e.color;g&&h<b.length-1?f=!0:g&&h==b.length-1&&(f=!1),this.renderer.addrow.call(this,i,j,f,g),f=!0}for(var k=0;k<a.jqplot.addLegendRowHooks.length;k++){var l=a.jqplot.addLegendRowHooks[k].call(this,e);l&&(this.renderer.addrow.call(this,l.label,l.color,f),f=!0)}i=null}}return this._elem},a.jqplot.TableLegendRenderer.prototype.pack=function(a){if(this.show)if("insideGrid"==this.placement)switch(this.location){case"nw":var b=a.left,c=a.top;this._elem.css("left",b),this._elem.css("top",c);break;case"n":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=a.top;this._elem.css("left",b),this._elem.css("top",c);break;case"ne":var b=a.right,c=a.top;this._elem.css({right:b,top:c});break;case"e":var b=a.right,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({right:b,top:c});break;case"se":var b=a.right,c=a.bottom;this._elem.css({right:b,bottom:c});break;case"s":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=a.bottom;this._elem.css({left:b,bottom:c});break;case"sw":var b=a.left,c=a.bottom;this._elem.css({left:b,bottom:c});break;case"w":var b=a.left,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({left:b,top:c});break;default:var b=a.right,c=a.bottom;this._elem.css({right:b,bottom:c})}else if("outside"==this.placement)switch(this.location){case"nw":var b=this._plotDimensions.width-a.left,c=a.top;this._elem.css("right",b),this._elem.css("top",c);break;case"n":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=this._plotDimensions.height-a.top;this._elem.css("left",b),this._elem.css("bottom",c);break;case"ne":var b=this._plotDimensions.width-a.right,c=a.top;this._elem.css({left:b,top:c});break;case"e":var b=this._plotDimensions.width-a.right,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({left:b,top:c});break;case"se":var b=this._plotDimensions.width-a.right,c=a.bottom;this._elem.css({left:b,bottom:c});break;case"s":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2,c=this._plotDimensions.height-a.bottom;this._elem.css({left:b,top:c});break;case"sw":var b=this._plotDimensions.width-a.left,c=a.bottom;this._elem.css({right:b,bottom:c});break;case"w":var b=this._plotDimensions.width-a.left,c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({right:b,top:c});break;default:var b=a.right,c=a.bottom;this._elem.css({right:b,bottom:c})}else switch(this.location){case"nw":this._elem.css({left:0,top:a.top});break;case"n":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2;this._elem.css({left:b,top:a.top});break;case"ne":this._elem.css({right:0,top:a.top});break;case"e":var c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({right:a.right,top:c});break;case"se":this._elem.css({right:a.right,bottom:a.bottom});break;case"s":var b=(a.left+(this._plotDimensions.width-a.right))/2-this.getWidth()/2;this._elem.css({left:b,bottom:a.bottom});break;case"sw":this._elem.css({left:a.left,bottom:a.bottom});break;case"w":var c=(a.top+(this._plotDimensions.height-a.bottom))/2-this.getHeight()/2;this._elem.css({left:a.left,top:c});break;default:this._elem.css({right:a.right,bottom:a.bottom})}},a.jqplot.ThemeEngine=function(){this.themes={},this.activeTheme=null},a.jqplot.ThemeEngine.prototype.init=function(){var b,c,d,e=new a.jqplot.Theme({_name:"Default"});for(b in e.target)"textColor"==b?e.target[b]=this.target.css("color"):e.target[b]=this.target.css(b);if(this.title.show&&this.title._elem)for(b in e.title)"textColor"==b?e.title[b]=this.title._elem.css("color"):e.title[b]=this.title._elem.css(b);for(b in e.grid)e.grid[b]=this.grid[b];if(null==e.grid.backgroundColor&&null!=this.grid.background&&(e.grid.backgroundColor=this.grid.background),this.legend.show&&this.legend._elem)for(b in e.legend)"textColor"==b?e.legend[b]=this.legend._elem.css("color"):e.legend[b]=this.legend._elem.css(b);var f;for(c=0;c<this.series.length;c++){f=this.series[c],f.renderer.constructor==a.jqplot.LineRenderer?e.series.push(new N):f.renderer.constructor==a.jqplot.BarRenderer?e.series.push(new P):f.renderer.constructor==a.jqplot.PieRenderer?e.series.push(new Q):f.renderer.constructor==a.jqplot.DonutRenderer?e.series.push(new R):f.renderer.constructor==a.jqplot.FunnelRenderer?e.series.push(new S):f.renderer.constructor==a.jqplot.MeterGaugeRenderer?e.series.push(new T):e.series.push({});for(b in e.series[c])e.series[c][b]=f[b]}var g,h;for(b in this.axes){if(h=this.axes[b],g=e.axes[b]=new K,g.borderColor=h.borderColor,g.borderWidth=h.borderWidth,h._ticks&&h._ticks[0])for(d in g.ticks)h._ticks[0].hasOwnProperty(d)?g.ticks[d]=h._ticks[0][d]:h._ticks[0]._elem&&(g.ticks[d]=h._ticks[0]._elem.css(d));if(h._label&&h._label.show)for(d in g.label)h._label[d]?g.label[d]=h._label[d]:h._label._elem&&("textColor"==d?g.label[d]=h._label._elem.css("color"):g.label[d]=h._label._elem.css(d))}this.themeEngine._add(e),this.themeEngine.activeTheme=this.themeEngine.themes[e._name]},a.jqplot.ThemeEngine.prototype.get=function(a){return a?this.themes[a]:this.activeTheme},a.jqplot.ThemeEngine.prototype.getThemeNames=function(){var a=[];for(var b in this.themes)a.push(b);return a.sort(B)},a.jqplot.ThemeEngine.prototype.getThemes=function(){var a=[],b=[];for(var c in this.themes)a.push(c);a.sort(B);for(var d=0;d<a.length;d++)b.push(this.themes[a[d]]);return b},a.jqplot.ThemeEngine.prototype.activate=function(b,c){var d=!1;if(!c&&this.activeTheme&&this.activeTheme._name&&(c=this.activeTheme._name),!this.themes.hasOwnProperty(c))throw new Error("No theme of that name");var e=this.themes[c];this.activeTheme=e;var f,g=["xaxis","x2axis","yaxis","y2axis"];for(p=0;p<g.length;p++){var h=g[p];null!=e.axesStyles.borderColor&&(b.axes[h].borderColor=e.axesStyles.borderColor),null!=e.axesStyles.borderWidth&&(b.axes[h].borderWidth=e.axesStyles.borderWidth)}for(var i in b.axes){var j=b.axes[i];if(j.show){var k=e.axes[i]||{},l=e.axesStyles,m=a.jqplot.extend(!0,{},k,l);if(f=null!=e.axesStyles.borderColor?e.axesStyles.borderColor:m.borderColor,null!=m.borderColor&&(j.borderColor=m.borderColor,d=!0),f=null!=e.axesStyles.borderWidth?e.axesStyles.borderWidth:m.borderWidth,null!=m.borderWidth&&(j.borderWidth=m.borderWidth,d=!0),j._ticks&&j._ticks[0])for(var n in m.ticks)f=m.ticks[n],null!=f&&(j.tickOptions[n]=f,j._ticks=[],d=!0);if(j._label&&j._label.show)for(var n in m.label)f=m.label[n],null!=f&&(j.labelOptions[n]=f,d=!0)}}for(var o in e.grid)null!=e.grid[o]&&(b.grid[o]=e.grid[o]);if(d||b.grid.draw(),b.legend.show)for(o in e.legend)null!=e.legend[o]&&(b.legend[o]=e.legend[o]);if(b.title.show)for(o in e.title)null!=e.title[o]&&(b.title[o]=e.title[o]);var p;for(p=0;p<e.series.length;p++){var q={};for(o in e.series[p])f=null!=e.seriesStyles[o]?e.seriesStyles[o]:e.series[p][o],null!=f&&(q[o]=f,"color"==o?(b.series[p].renderer.shapeRenderer.fillStyle=f,b.series[p].renderer.shapeRenderer.strokeStyle=f,b.series[p][o]=f):"lineWidth"==o||"linePattern"==o?(b.series[p].renderer.shapeRenderer[o]=f,b.series[p][o]=f):"markerOptions"==o?(D(b.series[p].markerOptions,f),D(b.series[p].markerRenderer,f)):b.series[p][o]=f,d=!0)}d&&(b.target.empty(),b.draw());for(o in e.target)null!=e.target[o]&&b.target.css(o,e.target[o])},a.jqplot.ThemeEngine.prototype._add=function(a,b){if(b&&(a._name=b),a._name||(a._name=Date.parse(new Date)),this.themes.hasOwnProperty(a._name))throw new Error("jqplot.ThemeEngine Error: Theme already in use");this.themes[a._name]=a},a.jqplot.ThemeEngine.prototype.remove=function(a){return"Default"!=a&&delete this.themes[a]},a.jqplot.ThemeEngine.prototype.newTheme=function(b,c){"object"==typeof b&&(c=c||b,b=null),b=c&&c._name?c._name:b||Date.parse(new Date);var d=this.copy(this.themes.Default._name,b);return a.jqplot.extend(d,c),d},a.jqplot.clone=C,a.jqplot.merge=D,a.jqplot.extend=function(){var b,c=arguments[0]||{},d=1,e=arguments.length,f=!1;for("boolean"==typeof c&&(f=c,c=arguments[1]||{},d=2),"object"!=typeof c&&"[object Function]"===!toString.call(c)&&(c={});d<e;d++)if(null!=(b=arguments[d]))for(var g in b){var h=c[g],i=b[g];c!==i&&(f&&i&&"object"==typeof i&&!i.nodeType?c[g]=a.jqplot.extend(f,h||(null!=i.length?[]:{}),i):i!==H&&(c[g]=i))}return c},a.jqplot.ThemeEngine.prototype.rename=function(a,b){if("Default"==a||"Default"==b)throw new Error("jqplot.ThemeEngine Error: Cannot rename from/to Default");if(this.themes.hasOwnProperty(b))throw new Error("jqplot.ThemeEngine Error: New name already in use.");if(this.themes.hasOwnProperty(a)){var c=this.copy(a,b);return this.remove(a),c}throw new Error("jqplot.ThemeEngine Error: Old name or new name invalid")},a.jqplot.ThemeEngine.prototype.copy=function(b,c,d){if("Default"==c)throw new Error("jqplot.ThemeEngine Error: Cannot copy over Default theme");if(!this.themes.hasOwnProperty(b)){var e="jqplot.ThemeEngine Error: Source name invalid";throw new Error(e)}if(this.themes.hasOwnProperty(c)){var e="jqplot.ThemeEngine Error: Target name invalid";throw new Error(e)}var f=C(this.themes[b]);return f._name=c,a.jqplot.extend(!0,f,d),this._add(f),f},a.jqplot.Theme=function(b,c){"object"==typeof b&&(c=c||b,b=null),b=b||Date.parse(new Date),this._name=b,this.target={backgroundColor:null},this.legend={textColor:null,fontFamily:null,fontSize:null,border:null,background:null},this.title={textColor:null,fontFamily:null,fontSize:null,textAlign:null},this.seriesStyles={},this.series=[],this.grid={drawGridlines:null,gridLineColor:null,gridLineWidth:null,backgroundColor:null,borderColor:null,borderWidth:null,
|
8 |
+
shadow:null},this.axesStyles={label:{},ticks:{}},this.axes={},"string"==typeof c?this._name=c:"object"==typeof c&&a.jqplot.extend(!0,this,c)};var K=function(){this.borderColor=null,this.borderWidth=null,this.ticks=new L,this.label=new M},L=function(){this.show=null,this.showGridline=null,this.showLabel=null,this.showMark=null,this.size=null,this.textColor=null,this.whiteSpace=null,this.fontSize=null,this.fontFamily=null},M=function(){this.textColor=null,this.whiteSpace=null,this.fontSize=null,this.fontFamily=null,this.fontWeight=null},N=function(){this.color=null,this.lineWidth=null,this.linePattern=null,this.shadow=null,this.fillColor=null,this.showMarker=null,this.markerOptions=new O},O=function(){this.show=null,this.style=null,this.lineWidth=null,this.size=null,this.color=null,this.shadow=null},P=function(){this.color=null,this.seriesColors=null,this.lineWidth=null,this.shadow=null,this.barPadding=null,this.barMargin=null,this.barWidth=null,this.highlightColors=null},Q=function(){this.seriesColors=null,this.padding=null,this.sliceMargin=null,this.fill=null,this.shadow=null,this.startAngle=null,this.lineWidth=null,this.highlightColors=null},R=function(){this.seriesColors=null,this.padding=null,this.sliceMargin=null,this.fill=null,this.shadow=null,this.startAngle=null,this.lineWidth=null,this.innerDiameter=null,this.thickness=null,this.ringMargin=null,this.highlightColors=null},S=function(){this.color=null,this.lineWidth=null,this.shadow=null,this.padding=null,this.sectionMargin=null,this.seriesColors=null,this.highlightColors=null},T=function(){this.padding=null,this.backgroundColor=null,this.ringColor=null,this.tickColor=null,this.ringWidth=null,this.intervalColors=null,this.intervalInnerRadius=null,this.intervalOuterRadius=null,this.hubRadius=null,this.needleThickness=null,this.needlePad=null};a.fn.jqplotChildText=function(){return a(this).contents().filter(function(){return 3==this.nodeType}).text()},a.fn.jqplotGetComputedFontStyle=function(){for(var a=window.getComputedStyle?window.getComputedStyle(this[0],""):this[0].currentStyle,b=a["font-style"]?["font-style","font-weight","font-size","font-family"]:["fontStyle","fontWeight","fontSize","fontFamily"],c=[],d=0;d<b.length;++d){var e=String(a[b[d]]);e&&"normal"!=e&&c.push(e)}return c.join(" ")},a.fn.jqplotToImageCanvas=function(b){function c(b){var c=parseInt(a(b).css("line-height"),10);return isNaN(c)&&(c=1.2*parseInt(a(b).css("font-size"),10)),c}function d(b,d,e,f,g,h){for(var i=c(b),j=a(b).innerWidth(),k=(a(b).innerHeight(),e.split(/\s+/)),l=k.length,m="",n=[],o=g,p=f,q=0;q<l;q++)m+=k[q],d.measureText(m).width>j&&m.length>k[q].length&&(n.push(q),m="",q--);if(0===n.length)"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(e,p,g);else{m=k.slice(0,n[0]).join(" "),"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(m,p,o),o+=i;for(var q=1,r=n.length;q<r;q++)m=k.slice(n[q-1],n[q]).join(" "),"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(m,p,o),o+=i;m=k.slice(n[q-1],k.length).join(" "),"center"===a(b).css("textAlign")&&(p=f+(h-d.measureText(m).width)/2-s),d.fillText(m,p,o)}}function e(b,c,f){var g=b.tagName.toLowerCase(),h=a(b).position(),i=window.getComputedStyle?window.getComputedStyle(b,""):b.currentStyle,j=c+h.left+parseInt(i.marginLeft,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.paddingLeft,10),k=f+h.top+parseInt(i.marginTop,10)+parseInt(i.borderTopWidth,10)+parseInt(i.paddingTop,10),l=m.width;if("div"!=g&&"span"!=g||a(b).hasClass("jqplot-highlighter-tooltip")||a(b).hasClass("jqplot-canvasOverlay-tooltip"))if("table"===g&&a(b).hasClass("jqplot-table-legend")){w.strokeStyle=a(b).css("border-top-color"),w.fillStyle=a(b).css("background-color"),w.fillRect(j,k,a(b).innerWidth(),a(b).innerHeight()),parseInt(a(b).css("border-top-width"),10)>0&&w.strokeRect(j,k,a(b).innerWidth(),a(b).innerHeight()),a(b).find("div.jqplot-table-legend-swatch-outline").each(function(){var b=a(this);w.strokeStyle=b.css("border-top-color");var c=j+b.position().left,d=k+b.position().top;w.strokeRect(c,d,b.innerWidth(),b.innerHeight()),c+=parseInt(b.css("padding-left"),10),d+=parseInt(b.css("padding-top"),10);var e=b.innerHeight()-2*parseInt(b.css("padding-top"),10),f=b.innerWidth()-2*parseInt(b.css("padding-left"),10),g=b.children("div.jqplot-table-legend-swatch");w.fillStyle=g.css("background-color"),w.fillRect(c,d,f,e)}),a(b).find("td.jqplot-table-legend-label").each(function(){var b=a(this),c=j+b.position().left,e=k+b.position().top+parseInt(b.css("padding-top"),10);w.font=b.jqplotGetComputedFontStyle(),w.fillStyle=b.css("color"),d(b,w,b.text(),c,e,l)})}else"canvas"==g&&w.drawImage(b,j,k);else{a(b).children().each(function(){e(this,j,k)});var n=a(b).jqplotChildText();n&&(w.font=a(b).jqplotGetComputedFontStyle(),w.fillStyle=a(b).css("color"),d(b,w,n,j,k,l))}}b=b||{};var f=null==b.x_offset?0:b.x_offset,g=null==b.y_offset?0:b.y_offset,h=null==b.backgroundColor?"rgb(255,255,255)":b.backgroundColor;if(0==a(this).width()||0==a(this).height())return null;if(a.jqplot.use_excanvas)return null;for(var i,j,k,l,m=document.createElement("canvas"),n=a(this).outerHeight(!0),o=a(this).outerWidth(!0),p=a(this).offset(),q=p.left,r=p.top,s=0,t=0,u=["jqplot-table-legend","jqplot-xaxis-tick","jqplot-x2axis-tick","jqplot-yaxis-tick","jqplot-y2axis-tick","jqplot-y3axis-tick","jqplot-y4axis-tick","jqplot-y5axis-tick","jqplot-y6axis-tick","jqplot-y7axis-tick","jqplot-y8axis-tick","jqplot-y9axis-tick","jqplot-xaxis-label","jqplot-x2axis-label","jqplot-yaxis-label","jqplot-y2axis-label","jqplot-y3axis-label","jqplot-y4axis-label","jqplot-y5axis-label","jqplot-y6axis-label","jqplot-y7axis-label","jqplot-y8axis-label","jqplot-y9axis-label"],v=0;v<u.length;v++)a(this).find("."+u[v]).each(function(){i=a(this).offset().top-r,j=a(this).offset().left-q,l=j+a(this).outerWidth(!0)+s,k=i+a(this).outerHeight(!0)+t,j<-s&&(o=o-s-j,s=-j),i<-t&&(n=n-t-i,t=-i),l>o&&(o=l),k>n&&(n=k)});m.width=o+Number(f),m.height=n+Number(g);var w=m.getContext("2d");return w.save(),w.fillStyle=h,w.fillRect(0,0,m.width,m.height),w.restore(),w.translate(s,t),w.textAlign="left",w.textBaseline="top",a(this).children().each(function(){e(this,f,g)}),m},a.fn.jqplotToImageStr=function(b){var c=a(this).jqplotToImageCanvas(b);return c?c.toDataURL("image/png"):null},a.fn.jqplotToImageElem=function(b){var c=document.createElement("img"),d=a(this).jqplotToImageStr(b);return c.src=d,c},a.fn.jqplotToImageElemStr=function(b){var c="<img src="+a(this).jqplotToImageStr(b)+" />";return c},a.fn.jqplotSaveImage=function(){var b=a(this).jqplotToImageStr({});b&&(window.location.href=b.replace("image/png","image/octet-stream"))},a.fn.jqplotViewImage=function(){var b=a(this).jqplotToImageElemStr({});a(this).jqplotToImageStr({});if(b){var c=window.open("");c.document.open("image/png"),c.document.write(b),c.document.close(),c=null}};var U=function(){switch(this.syntax=U.config.syntax,this._type="jsDate",this.proxy=new Date,this.options={},this.locale=U.regional.getLocale(),this.formatString="",this.defaultCentury=U.config.defaultCentury,arguments.length){case 0:break;case 1:if("[object Object]"==F(arguments[0])&&"jsDate"!=arguments[0]._type){var a=this.options=arguments[0];this.syntax=a.syntax||this.syntax,this.defaultCentury=a.defaultCentury||this.defaultCentury,this.proxy=U.createDate(a.date)}else this.proxy=U.createDate(arguments[0]);break;default:for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);this.proxy=new Date,this.proxy.setFullYear.apply(this.proxy,b.slice(0,3)),b.slice(3).length&&this.proxy.setHours.apply(this.proxy,b.slice(3))}};U.config={defaultLocale:"en",syntax:"perl",defaultCentury:1900},U.prototype.add=function(a,b){var c=X[b]||X.day;if("number"==typeof c){var d=this.proxy.getTimezoneOffset();this.proxy.setTime(this.proxy.getTime()+c*a),OffsetDiff=d-this.proxy.getTimezoneOffset(),this.proxy.setTime(this.proxy.getTime()-60*OffsetDiff*1e3)}else c.add(this,a);return this},U.prototype.clone=function(){return new U(this.proxy.getTime())},U.prototype.getUtcOffset=function(){return 6e4*this.proxy.getTimezoneOffset()},U.prototype.diff=function(a,b,c){if(a=new U(a),null===a)return null;var d=X[b]||X.day;if("number"==typeof d)var e=60*(a.proxy.getTimezoneOffset()-this.proxy.getTimezoneOffset())*1e3,f=(this.proxy.getTime()-a.proxy.getTime()+e)/d;else var f=d.diff(this.proxy,a.proxy);return c?f:Math[f>0?"floor":"ceil"](f)},U.prototype.getAbbrDayName=function(){return U.regional[this.locale].dayNamesShort[this.proxy.getDay()]},U.prototype.getAbbrMonthName=function(){return U.regional[this.locale].monthNamesShort[this.proxy.getMonth()]},U.prototype.getAMPM=function(){return this.proxy.getHours()>=12?"PM":"AM"},U.prototype.getAmPm=function(){return this.proxy.getHours()>=12?"pm":"am"},U.prototype.getCentury=function(){return parseInt(this.proxy.getFullYear()/100,10)},U.prototype.getDate=function(){return this.proxy.getDate()},U.prototype.getDay=function(){return this.proxy.getDay()},U.prototype.getDayOfWeek=function(){var a=this.proxy.getDay();return 0===a?7:a},U.prototype.getDayOfYear=function(){var a=this.proxy,b=a-new Date(""+a.getFullYear()+"/1/1 GMT");return b+=6e4*a.getTimezoneOffset(),a=null,parseInt(b/6e4/60/24,10)+1},U.prototype.getDayName=function(){return U.regional[this.locale].dayNames[this.proxy.getDay()]},U.prototype.getFullWeekOfYear=function(){var a=this.proxy,b=this.getDayOfYear(),c=6-a.getDay(),d=parseInt((b+c)/7,10);return d},U.prototype.getFullYear=function(){return this.proxy.getFullYear()},U.prototype.getGmtOffset=function(){var a=this.proxy.getTimezoneOffset()/60,b=a<0?"+":"-";return a=Math.abs(a),b+W(Math.floor(a),2)+":"+W(a%1*60,2)},U.prototype.getHours=function(){return this.proxy.getHours()},U.prototype.getHours12=function(){var a=this.proxy.getHours();return a>12?a-12:0==a?12:a},U.prototype.getIsoWeek=function(){var a=this.proxy,b=this.getWeekOfYear(),c=new Date(""+a.getFullYear()+"/1/1").getDay(),d=b+(c>4||c<=1?0:1);return 53==d&&new Date(""+a.getFullYear()+"/12/31").getDay()<4?d=1:0===d&&(a=new U(new Date(""+(a.getFullYear()-1)+"/12/31")),d=a.getIsoWeek()),a=null,d},U.prototype.getMilliseconds=function(){return this.proxy.getMilliseconds()},U.prototype.getMinutes=function(){return this.proxy.getMinutes()},U.prototype.getMonth=function(){return this.proxy.getMonth()},U.prototype.getMonthName=function(){return U.regional[this.locale].monthNames[this.proxy.getMonth()]},U.prototype.getMonthNumber=function(){return this.proxy.getMonth()+1},U.prototype.getSeconds=function(){return this.proxy.getSeconds()},U.prototype.getShortYear=function(){return this.proxy.getYear()%100},U.prototype.getTime=function(){return this.proxy.getTime()},U.prototype.getTimezoneAbbr=function(){return this.proxy.toString().replace(/^.*\(([^)]+)\)$/,"$1")},U.prototype.getTimezoneName=function(){var a=/(?:\((.+)\)$| ([A-Z]{3}) )/.exec(this.toString());return a[1]||a[2]||"GMT"+this.getGmtOffset()},U.prototype.getTimezoneOffset=function(){return this.proxy.getTimezoneOffset()},U.prototype.getWeekOfYear=function(){var a=this.getDayOfYear(),b=7-this.getDayOfWeek(),c=parseInt((a+b)/7,10);return c},U.prototype.getUnix=function(){return Math.round(this.proxy.getTime()/1e3,0)},U.prototype.getYear=function(){return this.proxy.getYear()},U.prototype.next=function(a){return a=a||"day",this.clone().add(1,a)},U.prototype.set=function(){switch(arguments.length){case 0:this.proxy=new Date;break;case 1:if("[object Object]"==F(arguments[0])&&"jsDate"!=arguments[0]._type){var a=this.options=arguments[0];this.syntax=a.syntax||this.syntax,this.defaultCentury=a.defaultCentury||this.defaultCentury,this.proxy=U.createDate(a.date)}else this.proxy=U.createDate(arguments[0]);break;default:for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);this.proxy=new Date,this.proxy.setFullYear.apply(this.proxy,b.slice(0,3)),b.slice(3).length&&this.proxy.setHours.apply(this.proxy,b.slice(3))}return this},U.prototype.setDate=function(a){return this.proxy.setDate(a),this},U.prototype.setFullYear=function(){return this.proxy.setFullYear.apply(this.proxy,arguments),this},U.prototype.setHours=function(){return this.proxy.setHours.apply(this.proxy,arguments),this},U.prototype.setMilliseconds=function(a){return this.proxy.setMilliseconds(a),this},U.prototype.setMinutes=function(){return this.proxy.setMinutes.apply(this.proxy,arguments),this},U.prototype.setMonth=function(){return this.proxy.setMonth.apply(this.proxy,arguments),this},U.prototype.setSeconds=function(){return this.proxy.setSeconds.apply(this.proxy,arguments),this},U.prototype.setTime=function(a){return this.proxy.setTime(a),this},U.prototype.setYear=function(){return this.proxy.setYear.apply(this.proxy,arguments),this},U.prototype.strftime=function(a){return a=a||this.formatString||U.regional[this.locale].formatString,U.strftime(this,a,this.syntax)},U.prototype.toString=function(){return this.proxy.toString()},U.prototype.toYmdInt=function(){return 1e4*this.proxy.getFullYear()+100*this.getMonthNumber()+this.proxy.getDate()},U.regional={en:{monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],formatString:"%Y-%m-%d %H:%M:%S"},fr:{monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Jan","Fév","Mar","Avr","Mai","Jun","Jul","Aoû","Sep","Oct","Nov","Déc"],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],formatString:"%Y-%m-%d %H:%M:%S"},de:{monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],formatString:"%Y-%m-%d %H:%M:%S"},es:{monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],formatString:"%Y-%m-%d %H:%M:%S"},ru:{monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],formatString:"%Y-%m-%d %H:%M:%S"},ar:{monthNames:["كانون الثاني","شباط","آذار","نيسان","آذار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["السبت","الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة"],dayNamesShort:["سبت","أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة"],formatString:"%Y-%m-%d %H:%M:%S"},pt:{monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],formatString:"%Y-%m-%d %H:%M:%S"},"pt-BR":{monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],formatString:"%Y-%m-%d %H:%M:%S"},pl:{monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Paź","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Ni","Pn","Wt","Śr","Cz","Pt","Sb"],formatString:"%Y-%m-%d %H:%M:%S"},nl:{monthNames:["Januari","Februari","Maart","April","Mei","Juni","July","Augustus","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:",".Zaterdag,dayNamesShort:["Zo","Ma","Di","Wo","Do","Vr","Za"],formatString:"%Y-%m-%d %H:%M:%S"},sv:{monthNames:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],monthNamesShort:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],dayNames:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],dayNamesShort:["sön","mån","tis","ons","tor","fre","lör"],formatString:"%Y-%m-%d %H:%M:%S"},it:{monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedi","Martedi","Mercoledi","Giovedi","Venerdi","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],formatString:"%d-%m-%Y %H:%M:%S"}},U.regional["en-US"]=U.regional["en-GB"]=U.regional.en,U.regional.getLocale=function(){var a=U.config.defaultLocale;return document&&document.getElementsByTagName("html")&&document.getElementsByTagName("html")[0].lang&&(a=document.getElementsByTagName("html")[0].lang,U.regional.hasOwnProperty(a)||(a=U.config.defaultLocale)),a};var V=864e5,W=function(a,b){a=String(a);var c=b-a.length,d=String(Math.pow(10,c)).slice(1);return d.concat(a)},X={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:V,week:7*V,month:{add:function(a,b){X.year.add(a,Math[b>0?"floor":"ceil"](b/12));var c=a.getMonth()+b%12;12==c?(c=0,a.setYear(a.getFullYear()+1)):c==-1&&(c=11,a.setYear(a.getFullYear()-1)),a.setMonth(c)},diff:function(a,b){var c=a.getFullYear()-b.getFullYear(),d=a.getMonth()-b.getMonth()+12*c,e=a.getDate()-b.getDate();return d+e/30}},year:{add:function(a,b){a.setYear(a.getFullYear()+Math[b>0?"floor":"ceil"](b))},diff:function(a,b){return X.month.diff(a,b)/12}}};for(var Y in X)"s"!=Y.substring(Y.length-1)&&(X[Y+"s"]=X[Y]);var Z=function(a,b,c){if(U.formats[c].shortcuts[b])return U.strftime(a,U.formats[c].shortcuts[b],c);var d=(U.formats[c].codes[b]||"").split("."),e=a["get"+d[0]]?a["get"+d[0]]():"";return d[1]&&(e=W(e,d[1])),e};U.strftime=function(a,b,c,d){var e="perl",f=U.regional.getLocale();c&&U.formats.hasOwnProperty(c)?e=c:c&&U.regional.hasOwnProperty(c)&&(f=c),d&&U.formats.hasOwnProperty(d)?e=d:d&&U.regional.hasOwnProperty(d)&&(f=d),"[object Object]"==F(a)&&"jsDate"==a._type||(a=new U(a),a.locale=f),b||(b=a.formatString||U.regional[f].formatString);for(var g,h=b||"%Y-%m-%d",i="";h.length>0;)(g=h.match(U.formats[e].codes.matcher))?(i+=h.slice(0,g.index),i+=(g[1]||"")+Z(a,g[2],e),h=h.slice(g.index+g[0].length)):(i+=h,h="");return i},U.formats={ISO:"%Y-%m-%dT%H:%M:%S.%N%G",SQL:"%Y-%m-%d %H:%M:%S"},U.formats.perl={codes:{matcher:/()%(#?(%|[a-z]))/i,Y:"FullYear",y:"ShortYear.2",m:"MonthNumber.2","#m":"MonthNumber",B:"MonthName",b:"AbbrMonthName",d:"Date.2","#d":"Date",e:"Date",A:"DayName",a:"AbbrDayName",w:"Day",H:"Hours.2","#H":"Hours",I:"Hours12.2","#I":"Hours12",p:"AMPM",M:"Minutes.2","#M":"Minutes",S:"Seconds.2","#S":"Seconds",s:"Unix",N:"Milliseconds.3","#N":"Milliseconds",O:"TimezoneOffset",Z:"TimezoneName",G:"GmtOffset"},shortcuts:{F:"%Y-%m-%d",T:"%H:%M:%S",X:"%H:%M:%S",x:"%m/%d/%y",D:"%m/%d/%y","#c":"%a %b %e %H:%M:%S %Y",v:"%e-%b-%Y",R:"%H:%M",r:"%I:%M:%S %p",t:"\t",n:"\n","%":"%"}},U.formats.php={codes:{matcher:/()%((%|[a-z]))/i,a:"AbbrDayName",A:"DayName",d:"Date.2",e:"Date",j:"DayOfYear.3",u:"DayOfWeek",w:"Day",U:"FullWeekOfYear.2",V:"IsoWeek.2",W:"WeekOfYear.2",b:"AbbrMonthName",B:"MonthName",m:"MonthNumber.2",h:"AbbrMonthName",C:"Century.2",y:"ShortYear.2",Y:"FullYear",H:"Hours.2",I:"Hours12.2",l:"Hours12",p:"AMPM",P:"AmPm",M:"Minutes.2",S:"Seconds.2",s:"Unix",O:"TimezoneOffset",z:"GmtOffset",Z:"TimezoneAbbr"},shortcuts:{D:"%m/%d/%y",F:"%Y-%m-%d",T:"%H:%M:%S",X:"%H:%M:%S",x:"%m/%d/%y",R:"%H:%M",r:"%I:%M:%S %p",t:"\t",n:"\n","%":"%"}},U.createDate=function(a){function b(a,b){var c,d,e,f,g=parseFloat(b[1]),h=parseFloat(b[2]),i=parseFloat(b[3]),j=U.config.defaultCentury;return g>31?(d=i,e=h,c=j+g):(d=h,e=g,c=j+i),f=e+"/"+d+"/"+c,a.replace(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})/,f)}if(null==a)return new Date;if(a instanceof Date)return a;if("number"==typeof a)return new Date(a);var c=String(a).replace(/^\s*(.+)\s*$/g,"$1");c=c.replace(/^([0-9]{1,4})-([0-9]{1,2})-([0-9]{1,4})/,"$1/$2/$3"),c=c.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{4})/i,"$1 $2 $3");var d=c.match(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i);if(d&&d.length>3){var e=parseFloat(d[3]),f=U.config.defaultCentury+e;f=String(f),c=c.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i,d[1]+" "+d[2]+" "+f)}d=c.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})[^0-9]/),d&&d.length>3&&(c=b(c,d));var d=c.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})$/);d&&d.length>3&&(c=b(c,d));for(var g,h,i,j=0,k=U.matchers.length,l=c;j<k;){if(h=Date.parse(l),!isNaN(h))return new Date(h);if(g=U.matchers[j],"function"==typeof g){if(i=g.call(U,l),i instanceof Date)return i}else l=c.replace(g[0],g[1]);j++}return NaN},U.daysInMonth=function(a,b){return 2==b?29==new Date(a,1,29).getDate()?29:28:[H,31,H,31,30,31,30,31,31,30,31,30,31][b]},U.matchers=[[/(3[01]|[0-2]\d)\s*\.\s*(1[0-2]|0\d)\s*\.\s*([1-9]\d{3})/,"$2/$1/$3"],[/([1-9]\d{3})\s*-\s*(1[0-2]|0\d)\s*-\s*(3[01]|[0-2]\d)/,"$2/$3/$1"],function(a){var b=a.match(/^(?:(.+)\s+)?([012]?\d)(?:\s*\:\s*(\d\d))?(?:\s*\:\s*(\d\d(\.\d*)?))?\s*(am|pm)?\s*$/i);if(b){if(b[1]){var c=this.createDate(b[1]);if(isNaN(c))return}else{var c=new Date;c.setMilliseconds(0)}var d=parseFloat(b[2]);return b[6]&&(d="am"==b[6].toLowerCase()?12==d?0:d:12==d?12:d+12),c.setHours(d,parseInt(b[3]||0,10),parseInt(b[4]||0,10),1e3*(parseFloat(b[5]||0)||0)),c}return a},function(a){var b=a.match(/^(?:(.+))[T|\s+]([012]\d)(?:\:(\d\d))(?:\:(\d\d))(?:\.\d+)([\+\-]\d\d\:\d\d)$/i);if(b){if(b[1]){var c=this.createDate(b[1]);if(isNaN(c))return}else{var c=new Date;c.setMilliseconds(0)}var d=parseFloat(b[2]);return c.setHours(d,parseInt(b[3],10),parseInt(b[4],10),1e3*parseFloat(b[5])),c}return a},function(a){var b=a.match(/^([0-3]?\d)\s*[-\/.\s]{1}\s*([a-zA-Z]{3,9})\s*[-\/.\s]{1}\s*([0-3]?\d)$/);if(b){var c,d,e,f=new Date,g=U.config.defaultCentury,h=parseFloat(b[1]),i=parseFloat(b[3]);h>31?(d=i,c=g+h):(d=h,c=g+i);var e=E(b[2],U.regional[U.regional.getLocale()].monthNamesShort);return e==-1&&(e=E(b[2],U.regional[U.regional.getLocale()].monthNames)),f.setFullYear(c,e,d),f.setHours(0,0,0,0),f}return a}],a.jsDate=U,a.jqplot.sprintf=function(){function b(a,b,c,d){var e=a.length>=b?"":Array(1+b-a.length>>>0).join(c);return d?a+e:e+a}function c(b){for(var c=new String(b),d=10;d>0&&c!=(c=c.replace(/^(\d+)(\d{3})/,"$1"+a.jqplot.sprintf.thousandsSeparator+"$2"));d--);return c}function d(a,c,d,e,f,g){var h=e-a.length;if(h>0){var i=" ";g&&(i=" "),a=d||!f?b(a,e,i,d):a.slice(0,c.length)+b("",h,"0",!0)+a.slice(c.length)}return a}function e(a,c,e,f,g,h,i,j){var k=a>>>0;return e=e&&k&&{2:"0b",8:"0",16:"0x"}[c]||"",a=e+b(k.toString(c),h||0,"0",!1),d(a,e,f,g,i,j)}function f(a,b,c,e,f,g){return null!=e&&(a=a.slice(0,e)),d(a,"",b,c,f,g)}var g=arguments,h=0,i=g[h++];return i.replace(a.jqplot.sprintf.regex,function(i,j,k,l,m,n,o){if("%%"==i)return"%";for(var p=!1,q="",r=!1,s=!1,t=!1,u=!1,v=0;k&&v<k.length;v++)switch(k.charAt(v)){case" ":q=" ";break;case"+":q="+";break;case"-":p=!0;break;case"0":r=!0;break;case"#":s=!0;break;case"&":t=!0;break;case"'":u=!0}if(l=l?"*"==l?+g[h++]:"*"==l.charAt(0)?+g[l.slice(1,-1)]:+l:0,l<0&&(l=-l,p=!0),!isFinite(l))throw new Error("$.jqplot.sprintf: (minimum-)width must be finite");n=n?"*"==n?+g[h++]:"*"==n.charAt(0)?+g[n.slice(1,-1)]:+n:"fFeE".indexOf(o)>-1?6:"d"==o?0:void 0;var w=j?g[j.slice(0,-1)]:g[h++];switch(o){case"s":return null==w?"":f(String(w),p,l,n,r,t);case"c":return f(String.fromCharCode(+w),p,l,n,r,t);case"b":return e(w,2,s,p,l,n,r,t);case"o":return e(w,8,s,p,l,n,r,t);case"x":return e(w,16,s,p,l,n,r,t);case"X":return e(w,16,s,p,l,n,r,t).toUpperCase();case"u":return e(w,10,s,p,l,n,r,t);case"i":var x=parseInt(+w,10);if(isNaN(x))return"";var y=x<0?"-":q,z=u?c(String(Math.abs(x))):String(Math.abs(x));return w=y+b(z,n,"0",!1),d(w,y,p,l,r,t);case"d":var x=Math.round(+w);if(isNaN(x))return"";var y=x<0?"-":q,z=u?c(String(Math.abs(x))):String(Math.abs(x));return w=y+b(z,n,"0",!1),d(w,y,p,l,r,t);case"e":case"E":case"f":case"F":case"g":case"G":var x=+w;if(isNaN(x))return"";var y=x<0?"-":q,A=["toExponential","toFixed","toPrecision"]["efg".indexOf(o.toLowerCase())],B=["toString","toUpperCase"]["eEfFgG".indexOf(o)%2],z=Math.abs(x)[A](n),C=z.toString().split(".");C[0]=u?c(C[0]):C[0],z=C.join(a.jqplot.sprintf.decimalMark),w=y+z;var D=d(w,y,p,l,r,t)[B]();return D;case"p":case"P":var x=+w;if(isNaN(x))return"";var y=x<0?"-":q,C=String(Number(Math.abs(x)).toExponential()).split(/e|E/),E=C[0].indexOf(".")!=-1?C[0].length-1:String(x).length,F=C[1]<0?-C[1]-1:0;if(Math.abs(x)<1)w=E+F<=n?y+Math.abs(x).toPrecision(E):E<=n-1?y+Math.abs(x).toExponential(E-1):y+Math.abs(x).toExponential(n-1);else{var G=E<=n?E:n;w=y+Math.abs(x).toPrecision(G)}var B=["toString","toUpperCase"]["pP".indexOf(o)%2];return d(w,y,p,l,r,t)[B]();case"n":return"";default:return i}})},a.jqplot.sprintf.thousandsSeparator=",",a.jqplot.sprintf.decimalMark=".",a.jqplot.sprintf.regex=/%%|%(\d+\$)?([-+#0&\' ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([nAscboxXuidfegpEGP])/g,a.jqplot.getSignificantFigures=function(a){var b=String(Number(Math.abs(a)).toExponential()).split(/e|E/),c=b[0].indexOf(".")!=-1?b[0].length-1:b[0].length,d=b[1]<0?-b[1]-1:0,e=parseInt(b[1],10),f=e+1>0?e+1:0,g=c<=f?0:c-e-1;return{significantDigits:c,digitsLeft:f,digitsRight:g,zeros:d,exponent:e}},a.jqplot.getPrecision=function(b){return a.jqplot.getSignificantFigures(b).digitsRight};var $=a.uiBackCompat!==!1;a.jqplot.effects={effect:{}};var _="jqplot.storage.";a.extend(a.jqplot.effects,{version:"1.9pre",save:function(a,b){for(var c=0;c<b.length;c++)null!==b[c]&&a.data(_+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c=0;c<b.length;c++)null!==b[c]&&a.css(b[c],a.data(_+b[c]))},setMode:function(a,b){return"toggle"===b&&(b=a.is(":hidden")?"show":"hide"),b},createWrapper:function(b){if(b.parent().is(".ui-effects-wrapper"))return b.parent();var c={width:b.outerWidth(!0),height:b.outerHeight(!0),float:b.css("float")},d=a("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:b.width(),height:b.height()},f=document.activeElement;return b.wrap(d),(b[0]===f||a.contains(b[0],f))&&a(f).focus(),d=b.parent(),"static"===b.css("position")?(d.css({position:"relative"}),b.css({position:"relative"})):(a.extend(c,{position:b.css("position"),zIndex:b.css("z-index")}),a.each(["top","left","bottom","right"],function(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&&(c[d]="auto")}),b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),b.css(e),d.css(c).show()},removeWrapper:function(b){var c=document.activeElement;return b.parent().is(".ui-effects-wrapper")&&(b.parent().replaceWith(b),(b[0]===c||a.contains(b[0],c))&&a(c).focus()),b}}),a.fn.extend({jqplotEffect:function(b,c,d,e){function f(b){function c(){a.isFunction(e)&&e.call(d[0]),a.isFunction(b)&&b()}var d=a(this),e=g.complete,f=g.mode;(d.is(":hidden")?"hide"===f:"show"===f)?c():j.call(d[0],g,c)}var g=G.apply(this,arguments),h=g.mode,i=g.queue,j=a.jqplot.effects.effect[g.effect],k=!j&&$&&a.jqplot.effects[g.effect];return a.fx.off||!j&&!k?h?this[h](g.duration,g.complete):this.each(function(){g.complete&&g.complete.call(this)}):j?i===!1?this.each(f):this.queue(i||"fx",f):k.call(this,{options:g,duration:g.duration,callback:g.complete,mode:g.mode})}});var aa=/up|down|vertical/,ba=/up|left|vertical|horizontal/;a.jqplot.effects.effect.blind=function(b,c){var d,e,f,g=a(this),h=["position","top","bottom","left","right","height","width"],i=a.jqplot.effects.setMode(g,b.mode||"hide"),j=b.direction||"up",k=aa.test(j),l=k?"height":"width",m=k?"top":"left",n=ba.test(j),o={},p="show"===i;g.parent().is(".ui-effects-wrapper")?a.jqplot.effects.save(g.parent(),h):a.jqplot.effects.save(g,h),g.show(),f=parseInt(g.css("top"),10),d=a.jqplot.effects.createWrapper(g).css({overflow:"hidden"}),e=k?d[l]()+f:d[l](),o[l]=p?String(e):"0",n||(g.css(k?"bottom":"right",0).css(k?"top":"left","").css({position:"absolute"}),o[m]=p?"0":String(e)),p&&(d.css(l,0),n||d.css(m,e)),d.animate(o,{duration:b.duration,easing:b.easing,queue:!1,complete:function(){"hide"===i&&g.hide(),a.jqplot.effects.restore(g,h),a.jqplot.effects.removeWrapper(g),c()}})}}(jQuery);
|
assets/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
assets/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){a.jqplot.CanvasAxisLabelRenderer=function(b){this.angle=0,this.axis,this.show=!0,this.showLabel=!0,this.label="",this.fontFamily='"Trebuchet MS", Arial, Helvetica, sans-serif',this.fontSize="11pt",this.fontWeight="normal",this.fontStretch=1,this.textColor="#666666",this.enableFontSupport=!0,this.pt2px=null,this._elem,this._ctx,this._plotWidth,this._plotHeight,this._plotDimensions={height:null,width:null},a.extend(!0,this,b),null==b.angle&&"xaxis"!=this.axis&&"x2axis"!=this.axis&&(this.angle=-90);var c={fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily};this.pt2px&&(c.pt2px=this.pt2px),this.enableFontSupport&&a.jqplot.support_canvas_text()?this._textRenderer=new a.jqplot.CanvasFontRenderer(c):this._textRenderer=new a.jqplot.CanvasTextRenderer(c)},a.jqplot.CanvasAxisLabelRenderer.prototype.init=function(b){a.extend(!0,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(a){if(this._elem)return this._elem.outerWidth(!0);var b=this._textRenderer,c=b.getWidth(a),d=b.getHeight(a),e=Math.abs(Math.sin(b.angle)*d)+Math.abs(Math.cos(b.angle)*c);return e},a.jqplot.CanvasAxisLabelRenderer.prototype.getHeight=function(a){if(this._elem)return this._elem.outerHeight(!0);var b=this._textRenderer,c=b.getWidth(a),d=b.getHeight(a),e=Math.abs(Math.cos(b.angle)*d)+Math.abs(Math.sin(b.angle)*c);return e},a.jqplot.CanvasAxisLabelRenderer.prototype.getAngleRad=function(){var a=this.angle*Math.PI/180;return a},a.jqplot.CanvasAxisLabelRenderer.prototype.draw=function(b,c){this._elem&&(a.jqplot.use_excanvas&&void 0!==window.G_vmlCanvasManager.uninitElement&&window.G_vmlCanvasManager.uninitElement(this._elem.get(0)),this._elem.emptyForce(),this._elem=null);var d=c.canvasManager.getCanvas();this._textRenderer.setText(this.label,b);var e=this.getWidth(b),f=this.getHeight(b);return d.width=e,d.height=f,d.style.width=e,d.style.height=f,d=c.canvasManager.initCanvas(d),this._elem=a(d),this._elem.css({position:"absolute"}),this._elem.addClass("jqplot-"+this.axis+"-label"),d=null,this._elem},a.jqplot.CanvasAxisLabelRenderer.prototype.pack=function(){this._textRenderer.draw(this._elem.get(0).getContext("2d"),this.label)}}(jQuery);
|
assets/jqplot/plugins/jqplot.canvasAxisTickRenderer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
assets/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){a.jqplot.CanvasAxisTickRenderer=function(b){this.mark="outside",this.showMark=!0,this.showGridline=!0,this.isMinorTick=!1,this.angle=0,this.markSize=4,this.show=!0,this.showLabel=!0,this.labelPosition="auto",this.label="",this.value=null,this._styles={},this.formatter=a.jqplot.DefaultTickFormatter,this.formatString="",this.prefix="",this.fontFamily='"Trebuchet MS", Arial, Helvetica, sans-serif',this.fontSize="10pt",this.fontWeight="normal",this.fontStretch=1,this.textColor="#666666",this.enableFontSupport=!0,this.pt2px=null,this._elem,this._ctx,this._plotWidth,this._plotHeight,this._plotDimensions={height:null,width:null},a.extend(!0,this,b);var c={fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily};this.pt2px&&(c.pt2px=this.pt2px),this.enableFontSupport&&a.jqplot.support_canvas_text()?this._textRenderer=new a.jqplot.CanvasFontRenderer(c):this._textRenderer=new a.jqplot.CanvasTextRenderer(c)},a.jqplot.CanvasAxisTickRenderer.prototype.init=function(b){a.extend(!0,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.CanvasAxisTickRenderer.prototype.getWidth=function(a){if(this._elem)return this._elem.outerWidth(!0);var b=this._textRenderer,c=b.getWidth(a),d=b.getHeight(a),e=Math.abs(Math.sin(b.angle)*d)+Math.abs(Math.cos(b.angle)*c);return e},a.jqplot.CanvasAxisTickRenderer.prototype.getHeight=function(a){if(this._elem)return this._elem.outerHeight(!0);var b=this._textRenderer,c=b.getWidth(a),d=b.getHeight(a),e=Math.abs(Math.cos(b.angle)*d)+Math.abs(Math.sin(b.angle)*c);return e},a.jqplot.CanvasAxisTickRenderer.prototype.getTop=function(a){return this._elem?this._elem.position().top:null},a.jqplot.CanvasAxisTickRenderer.prototype.getAngleRad=function(){var a=this.angle*Math.PI/180;return a},a.jqplot.CanvasAxisTickRenderer.prototype.setTick=function(a,b,c){return this.value=a,c&&(this.isMinorTick=!0),this},a.jqplot.CanvasAxisTickRenderer.prototype.draw=function(b,c){this.label||(this.label=this.prefix+this.formatter(this.formatString,this.value)),this._elem&&(a.jqplot.use_excanvas&&void 0!==window.G_vmlCanvasManager.uninitElement&&window.G_vmlCanvasManager.uninitElement(this._elem.get(0)),this._elem.emptyForce(),this._elem=null);var d=c.canvasManager.getCanvas();this._textRenderer.setText(this.label,b);var e=this.getWidth(b),f=this.getHeight(b);return d.width=e,d.height=f,d.style.width=e,d.style.height=f,d.style.textAlign="left",d.style.position="absolute",d=c.canvasManager.initCanvas(d),this._elem=a(d),this._elem.css(this._styles),this._elem.addClass("jqplot-"+this.axis+"-tick"),d=null,this._elem},a.jqplot.CanvasAxisTickRenderer.prototype.pack=function(){this._textRenderer.draw(this._elem.get(0).getContext("2d"),this.label)}}(jQuery);
|
assets/jqplot/plugins/jqplot.canvasTextRenderer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
assets/jqplot/plugins/jqplot.canvasTextRenderer.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
!function(t){t.jqplot.CanvasTextRenderer=function(i){this.fontStyle="normal",this.fontVariant="normal",this.fontWeight="normal",this.fontSize="10px",this.fontFamily="sans-serif",this.fontStretch=1,this.fillStyle="#666666",this.angle=0,this.textAlign="start",this.textBaseline="alphabetic",this.text,this.width,this.height,this.pt2px=1.28,t.extend(!0,this,i),this.normalizedFontSize=this.normalizeFontSize(this.fontSize),this.setHeight()},t.jqplot.CanvasTextRenderer.prototype.init=function(i){t.extend(!0,this,i),this.normalizedFontSize=this.normalizeFontSize(this.fontSize),this.setHeight()},t.jqplot.CanvasTextRenderer.prototype.normalizeFontSize=function(t){t=String(t);var i=parseFloat(t);return t.indexOf("px")>-1?i/this.pt2px:t.indexOf("pt")>-1?i:t.indexOf("em")>-1?12*i:t.indexOf("%")>-1?12*i/100:i/this.pt2px},t.jqplot.CanvasTextRenderer.prototype.fontWeight2Float=function(t){if(Number(t))return t/400;switch(t){case"normal":return 1;case"bold":return 1.75;case"bolder":return 2.25;case"lighter":return.75;default:return 1}},t.jqplot.CanvasTextRenderer.prototype.getText=function(){return this.text},t.jqplot.CanvasTextRenderer.prototype.setText=function(t,i){return this.text=t,this.setWidth(i),this},t.jqplot.CanvasTextRenderer.prototype.getWidth=function(t){return this.width},t.jqplot.CanvasTextRenderer.prototype.setWidth=function(t,i){return i?this.width=i:this.width=this.measure(t,this.text),this},t.jqplot.CanvasTextRenderer.prototype.getHeight=function(t){return this.height},t.jqplot.CanvasTextRenderer.prototype.setHeight=function(t){return t?this.height=t:this.height=this.normalizedFontSize*this.pt2px,this},t.jqplot.CanvasTextRenderer.prototype.letter=function(t){return this.letters[t]},t.jqplot.CanvasTextRenderer.prototype.ascent=function(){return this.normalizedFontSize},t.jqplot.CanvasTextRenderer.prototype.descent=function(){return 7*this.normalizedFontSize/25},t.jqplot.CanvasTextRenderer.prototype.measure=function(t,i){for(var h=0,n=i.length,e=0;e<n;e++){var s=this.letter(i.charAt(e));s&&(h+=s.width*this.normalizedFontSize/25*this.fontStretch)}return h},t.jqplot.CanvasTextRenderer.prototype.draw=function(t,i){var h=0,n=.72*this.height,e=0,s=i.length,o=this.normalizedFontSize/25;t.save();var a,r;-Math.PI/2<=this.angle&&this.angle<=0||3*Math.PI/2<=this.angle&&this.angle<=2*Math.PI?(a=0,r=-Math.sin(this.angle)*this.width):0<this.angle&&this.angle<=Math.PI/2||2*-Math.PI<=this.angle&&this.angle<=3*-Math.PI/2?(a=Math.sin(this.angle)*this.height,r=0):-Math.PI<this.angle&&this.angle<-Math.PI/2||Math.PI<=this.angle&&this.angle<=3*Math.PI/2?(a=-Math.cos(this.angle)*this.width,r=-Math.sin(this.angle)*this.width-Math.cos(this.angle)*this.height):(3*-Math.PI/2<this.angle&&this.angle<Math.PI||Math.PI/2<this.angle&&this.angle<Math.PI)&&(a=Math.sin(this.angle)*this.height-Math.cos(this.angle)*this.width,r=-Math.cos(this.angle)*this.height),t.strokeStyle=this.fillStyle,t.fillStyle=this.fillStyle,t.translate(a,r),t.rotate(this.angle),t.lineCap="round";var p=this.normalizedFontSize>30?2:2+(30-this.normalizedFontSize)/20;t.lineWidth=p*o*this.fontWeight2Float(this.fontWeight);for(var d=0;d<s;d++){var l=this.letter(i.charAt(d));if(l){t.beginPath();for(var w=1,g=0;g<l.points.length;g++){var f=l.points[g];f[0]!=-1||f[1]!=-1?w?(t.moveTo(h+f[0]*o*this.fontStretch,n-f[1]*o),w=!1):t.lineTo(h+f[0]*o*this.fontStretch,n-f[1]*o):w=1}t.stroke(),h+=l.width*o*this.fontStretch}}return t.restore(),e},t.jqplot.CanvasTextRenderer.prototype.letters={" ":{width:16,points:[]},"!":{width:10,points:[[5,21],[5,7],[-1,-1],[5,2],[4,1],[5,0],[6,1],[5,2]]},'"':{width:16,points:[[4,21],[4,14],[-1,-1],[12,21],[12,14]]},"#":{width:21,points:[[11,25],[4,-7],[-1,-1],[17,25],[10,-7],[-1,-1],[4,12],[18,12],[-1,-1],[3,6],[17,6]]},$:{width:20,points:[[8,25],[8,-4],[-1,-1],[12,25],[12,-4],[-1,-1],[17,18],[15,20],[12,21],[8,21],[5,20],[3,18],[3,16],[4,14],[5,13],[7,12],[13,10],[15,9],[16,8],[17,6],[17,3],[15,1],[12,0],[8,0],[5,1],[3,3]]},"%":{width:24,points:[[21,21],[3,0],[-1,-1],[8,21],[10,19],[10,17],[9,15],[7,14],[5,14],[3,16],[3,18],[4,20],[6,21],[8,21],[10,20],[13,19],[16,19],[19,20],[21,21],[-1,-1],[17,7],[15,6],[14,4],[14,2],[16,0],[18,0],[20,1],[21,3],[21,5],[19,7],[17,7]]},"&":{width:26,points:[[23,12],[23,13],[22,14],[21,14],[20,13],[19,11],[17,6],[15,3],[13,1],[11,0],[7,0],[5,1],[4,2],[3,4],[3,6],[4,8],[5,9],[12,13],[13,14],[14,16],[14,18],[13,20],[11,21],[9,20],[8,18],[8,16],[9,13],[11,10],[16,3],[18,1],[20,0],[22,0],[23,1],[23,2]]},"'":{width:10,points:[[5,19],[4,20],[5,21],[6,20],[6,18],[5,16],[4,15]]},"(":{width:14,points:[[11,25],[9,23],[7,20],[5,16],[4,11],[4,7],[5,2],[7,-2],[9,-5],[11,-7]]},")":{width:14,points:[[3,25],[5,23],[7,20],[9,16],[10,11],[10,7],[9,2],[7,-2],[5,-5],[3,-7]]},"*":{width:16,points:[[8,21],[8,9],[-1,-1],[3,18],[13,12],[-1,-1],[13,18],[3,12]]},"+":{width:26,points:[[13,18],[13,0],[-1,-1],[4,9],[22,9]]},",":{width:10,points:[[6,1],[5,0],[4,1],[5,2],[6,1],[6,-1],[5,-3],[4,-4]]},"-":{width:18,points:[[6,9],[12,9]]},".":{width:10,points:[[5,2],[4,1],[5,0],[6,1],[5,2]]},"/":{width:22,points:[[20,25],[2,-7]]},0:{width:20,points:[[9,21],[6,20],[4,17],[3,12],[3,9],[4,4],[6,1],[9,0],[11,0],[14,1],[16,4],[17,9],[17,12],[16,17],[14,20],[11,21],[9,21]]},1:{width:20,points:[[6,17],[8,18],[11,21],[11,0]]},2:{width:20,points:[[4,16],[4,17],[5,19],[6,20],[8,21],[12,21],[14,20],[15,19],[16,17],[16,15],[15,13],[13,10],[3,0],[17,0]]},3:{width:20,points:[[5,21],[16,21],[10,13],[13,13],[15,12],[16,11],[17,8],[17,6],[16,3],[14,1],[11,0],[8,0],[5,1],[4,2],[3,4]]},4:{width:20,points:[[13,21],[3,7],[18,7],[-1,-1],[13,21],[13,0]]},5:{width:20,points:[[15,21],[5,21],[4,12],[5,13],[8,14],[11,14],[14,13],[16,11],[17,8],[17,6],[16,3],[14,1],[11,0],[8,0],[5,1],[4,2],[3,4]]},6:{width:20,points:[[16,18],[15,20],[12,21],[10,21],[7,20],[5,17],[4,12],[4,7],[5,3],[7,1],[10,0],[11,0],[14,1],[16,3],[17,6],[17,7],[16,10],[14,12],[11,13],[10,13],[7,12],[5,10],[4,7]]},7:{width:20,points:[[17,21],[7,0],[-1,-1],[3,21],[17,21]]},8:{width:20,points:[[8,21],[5,20],[4,18],[4,16],[5,14],[7,13],[11,12],[14,11],[16,9],[17,7],[17,4],[16,2],[15,1],[12,0],[8,0],[5,1],[4,2],[3,4],[3,7],[4,9],[6,11],[9,12],[13,13],[15,14],[16,16],[16,18],[15,20],[12,21],[8,21]]},9:{width:20,points:[[16,14],[15,11],[13,9],[10,8],[9,8],[6,9],[4,11],[3,14],[3,15],[4,18],[6,20],[9,21],[10,21],[13,20],[15,18],[16,14],[16,9],[15,4],[13,1],[10,0],[8,0],[5,1],[4,3]]},":":{width:10,points:[[5,14],[4,13],[5,12],[6,13],[5,14],[-1,-1],[5,2],[4,1],[5,0],[6,1],[5,2]]},";":{width:10,points:[[5,14],[4,13],[5,12],[6,13],[5,14],[-1,-1],[6,1],[5,0],[4,1],[5,2],[6,1],[6,-1],[5,-3],[4,-4]]},"<":{width:24,points:[[20,18],[4,9],[20,0]]},"=":{width:26,points:[[4,12],[22,12],[-1,-1],[4,6],[22,6]]},">":{width:24,points:[[4,18],[20,9],[4,0]]},"?":{width:18,points:[[3,16],[3,17],[4,19],[5,20],[7,21],[11,21],[13,20],[14,19],[15,17],[15,15],[14,13],[13,12],[9,10],[9,7],[-1,-1],[9,2],[8,1],[9,0],[10,1],[9,2]]},"@":{width:27,points:[[18,13],[17,15],[15,16],[12,16],[10,15],[9,14],[8,11],[8,8],[9,6],[11,5],[14,5],[16,6],[17,8],[-1,-1],[12,16],[10,14],[9,11],[9,8],[10,6],[11,5],[-1,-1],[18,16],[17,8],[17,6],[19,5],[21,5],[23,7],[24,10],[24,12],[23,15],[22,17],[20,19],[18,20],[15,21],[12,21],[9,20],[7,19],[5,17],[4,15],[3,12],[3,9],[4,6],[5,4],[7,2],[9,1],[12,0],[15,0],[18,1],[20,2],[21,3],[-1,-1],[19,16],[18,8],[18,6],[19,5]]},A:{width:18,points:[[9,21],[1,0],[-1,-1],[9,21],[17,0],[-1,-1],[4,7],[14,7]]},B:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,15],[17,13],[16,12],[13,11],[-1,-1],[4,11],[13,11],[16,10],[17,9],[18,7],[18,4],[17,2],[16,1],[13,0],[4,0]]},C:{width:21,points:[[18,16],[17,18],[15,20],[13,21],[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5]]},D:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[11,21],[14,20],[16,18],[17,16],[18,13],[18,8],[17,5],[16,3],[14,1],[11,0],[4,0]]},E:{width:19,points:[[4,21],[4,0],[-1,-1],[4,21],[17,21],[-1,-1],[4,11],[12,11],[-1,-1],[4,0],[17,0]]},F:{width:18,points:[[4,21],[4,0],[-1,-1],[4,21],[17,21],[-1,-1],[4,11],[12,11]]},G:{width:21,points:[[18,16],[17,18],[15,20],[13,21],[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[18,8],[-1,-1],[13,8],[18,8]]},H:{width:22,points:[[4,21],[4,0],[-1,-1],[18,21],[18,0],[-1,-1],[4,11],[18,11]]},I:{width:8,points:[[4,21],[4,0]]},J:{width:16,points:[[12,21],[12,5],[11,2],[10,1],[8,0],[6,0],[4,1],[3,2],[2,5],[2,7]]},K:{width:21,points:[[4,21],[4,0],[-1,-1],[18,21],[4,7],[-1,-1],[9,12],[18,0]]},L:{width:17,points:[[4,21],[4,0],[-1,-1],[4,0],[16,0]]},M:{width:24,points:[[4,21],[4,0],[-1,-1],[4,21],[12,0],[-1,-1],[20,21],[12,0],[-1,-1],[20,21],[20,0]]},N:{width:22,points:[[4,21],[4,0],[-1,-1],[4,21],[18,0],[-1,-1],[18,21],[18,0]]},O:{width:22,points:[[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[19,8],[19,13],[18,16],[17,18],[15,20],[13,21],[9,21]]},P:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,14],[17,12],[16,11],[13,10],[4,10]]},Q:{width:22,points:[[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[19,8],[19,13],[18,16],[17,18],[15,20],[13,21],[9,21],[-1,-1],[12,4],[18,-2]]},R:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,15],[17,13],[16,12],[13,11],[4,11],[-1,-1],[11,11],[18,0]]},S:{width:20,points:[[17,18],[15,20],[12,21],[8,21],[5,20],[3,18],[3,16],[4,14],[5,13],[7,12],[13,10],[15,9],[16,8],[17,6],[17,3],[15,1],[12,0],[8,0],[5,1],[3,3]]},T:{width:16,points:[[8,21],[8,0],[-1,-1],[1,21],[15,21]]},U:{width:22,points:[[4,21],[4,6],[5,3],[7,1],[10,0],[12,0],[15,1],[17,3],[18,6],[18,21]]},V:{width:18,points:[[1,21],[9,0],[-1,-1],[17,21],[9,0]]},W:{width:24,points:[[2,21],[7,0],[-1,-1],[12,21],[7,0],[-1,-1],[12,21],[17,0],[-1,-1],[22,21],[17,0]]},X:{width:20,points:[[3,21],[17,0],[-1,-1],[17,21],[3,0]]},Y:{width:18,points:[[1,21],[9,11],[9,0],[-1,-1],[17,21],[9,11]]},Z:{width:20,points:[[17,21],[3,0],[-1,-1],[3,21],[17,21],[-1,-1],[3,0],[17,0]]},"[":{width:14,points:[[4,25],[4,-7],[-1,-1],[5,25],[5,-7],[-1,-1],[4,25],[11,25],[-1,-1],[4,-7],[11,-7]]},"\\":{width:14,points:[[0,21],[14,-3]]},"]":{width:14,points:[[9,25],[9,-7],[-1,-1],[10,25],[10,-7],[-1,-1],[3,25],[10,25],[-1,-1],[3,-7],[10,-7]]},"^":{width:16,points:[[6,15],[8,18],[10,15],[-1,-1],[3,12],[8,17],[13,12],[-1,-1],[8,17],[8,0]]},_:{width:16,points:[[0,-2],[16,-2]]},"`":{width:10,points:[[6,21],[5,20],[4,18],[4,16],[5,15],[6,16],[5,17]]},a:{width:19,points:[[15,14],[15,0],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},b:{width:19,points:[[4,21],[4,0],[-1,-1],[4,11],[6,13],[8,14],[11,14],[13,13],[15,11],[16,8],[16,6],[15,3],[13,1],[11,0],[8,0],[6,1],[4,3]]},c:{width:18,points:[[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},d:{width:19,points:[[15,21],[15,0],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},e:{width:18,points:[[3,8],[15,8],[15,10],[14,12],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},f:{width:12,points:[[10,21],[8,21],[6,20],[5,17],[5,0],[-1,-1],[2,14],[9,14]]},g:{width:19,points:[[15,14],[15,-2],[14,-5],[13,-6],[11,-7],[8,-7],[6,-6],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},h:{width:19,points:[[4,21],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0]]},i:{width:8,points:[[3,21],[4,20],[5,21],[4,22],[3,21],[-1,-1],[4,14],[4,0]]},j:{width:10,points:[[5,21],[6,20],[7,21],[6,22],[5,21],[-1,-1],[6,14],[6,-3],[5,-6],[3,-7],[1,-7]]},k:{width:17,points:[[4,21],[4,0],[-1,-1],[14,14],[4,4],[-1,-1],[8,8],[15,0]]},l:{width:8,points:[[4,21],[4,0]]},m:{width:30,points:[[4,14],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0],[-1,-1],[15,10],[18,13],[20,14],[23,14],[25,13],[26,10],[26,0]]},n:{width:19,points:[[4,14],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0]]},o:{width:19,points:[[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3],[16,6],[16,8],[15,11],[13,13],[11,14],[8,14]]},p:{width:19,points:[[4,14],[4,-7],[-1,-1],[4,11],[6,13],[8,14],[11,14],[13,13],[15,11],[16,8],[16,6],[15,3],[13,1],[11,0],[8,0],[6,1],[4,3]]},q:{width:19,points:[[15,14],[15,-7],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},r:{width:13,points:[[4,14],[4,0],[-1,-1],[4,8],[5,11],[7,13],[9,14],[12,14]]},s:{width:17,points:[[14,11],[13,13],[10,14],[7,14],[4,13],[3,11],[4,9],[6,8],[11,7],[13,6],[14,4],[14,3],[13,1],[10,0],[7,0],[4,1],[3,3]]},t:{width:12,points:[[5,21],[5,4],[6,1],[8,0],[10,0],[-1,-1],[2,14],[9,14]]},u:{width:19,points:[[4,14],[4,4],[5,1],[7,0],[10,0],[12,1],[15,4],[-1,-1],[15,14],[15,0]]},v:{width:16,points:[[2,14],[8,0],[-1,-1],[14,14],[8,0]]},w:{width:22,points:[[3,14],[7,0],[-1,-1],[11,14],[7,0],[-1,-1],[11,14],[15,0],[-1,-1],[19,14],[15,0]]},x:{width:17,points:[[3,14],[14,0],[-1,-1],[14,14],[3,0]]},y:{width:16,points:[[2,14],[8,0],[-1,-1],[14,14],[8,0],[6,-4],[4,-6],[2,-7],[1,-7]]},z:{width:17,points:[[14,14],[3,0],[-1,-1],[3,14],[14,14],[-1,-1],[3,0],[14,0]]},"{":{width:14,points:[[9,25],[7,24],[6,23],[5,21],[5,19],[6,17],[7,16],[8,14],[8,12],[6,10],[-1,-1],[7,24],[6,22],[6,20],[7,18],[8,17],[9,15],[9,13],[8,11],[4,9],[8,7],[9,5],[9,3],[8,1],[7,0],[6,-2],[6,-4],[7,-6],[-1,-1],[6,8],[8,6],[8,4],[7,2],[6,1],[5,-1],[5,-3],[6,-5],[7,-6],[9,-7]]},"|":{width:8,points:[[4,25],[4,-7]]},"}":{width:14,points:[[5,25],[7,24],[8,23],[9,21],[9,19],[8,17],[7,16],[6,14],[6,12],[8,10],[-1,-1],[7,24],[8,22],[8,20],[7,18],[6,17],[5,15],[5,13],[6,11],[10,9],[6,7],[5,5],[5,3],[6,1],[7,0],[8,-2],[8,-4],[7,-6],[-1,-1],[8,8],[6,6],[6,4],[7,2],[8,1],[9,-1],[9,-3],[8,-5],[7,-6],[5,-7]]},"~":{width:24,points:[[3,6],[3,8],[4,11],[6,12],[8,12],[10,11],[14,8],[16,7],[18,7],[20,8],[21,10],[-1,-1],[3,8],[4,10],[6,11],[8,11],[10,10],[14,7],[16,6],[18,6],[20,7],[21,10],[21,12]]}},t.jqplot.CanvasFontRenderer=function(i){i=i||{},i.pt2px||(i.pt2px=1.5),t.jqplot.CanvasTextRenderer.call(this,i)},t.jqplot.CanvasFontRenderer.prototype=new t.jqplot.CanvasTextRenderer({}),t.jqplot.CanvasFontRenderer.prototype.constructor=t.jqplot.CanvasFontRenderer,t.jqplot.CanvasFontRenderer.prototype.measure=function(t,i){var h=this.fontSize+" "+this.fontFamily;t.save(),t.font=h;var n=t.measureText(i).width;return t.restore(),n},t.jqplot.CanvasFontRenderer.prototype.draw=function(t,i){var h=0,n=.72*this.height;t.save();var e,s;-Math.PI/2<=this.angle&&this.angle<=0||3*Math.PI/2<=this.angle&&this.angle<=2*Math.PI?(e=0,s=-Math.sin(this.angle)*this.width):0<this.angle&&this.angle<=Math.PI/2||2*-Math.PI<=this.angle&&this.angle<=3*-Math.PI/2?(e=Math.sin(this.angle)*this.height,s=0):-Math.PI<this.angle&&this.angle<-Math.PI/2||Math.PI<=this.angle&&this.angle<=3*Math.PI/2?(e=-Math.cos(this.angle)*this.width,s=-Math.sin(this.angle)*this.width-Math.cos(this.angle)*this.height):(3*-Math.PI/2<this.angle&&this.angle<Math.PI||Math.PI/2<this.angle&&this.angle<Math.PI)&&(e=Math.sin(this.angle)*this.height-Math.cos(this.angle)*this.width,s=-Math.cos(this.angle)*this.height),t.strokeStyle=this.fillStyle,t.fillStyle=this.fillStyle;var o=this.fontSize+" "+this.fontFamily;t.font=o,t.translate(e,s),t.rotate(this.angle),t.fillText(i,h,n),t.restore()}}(jQuery);
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){a.jqplot.CanvasTextRenderer=function(b){this.fontStyle="normal",this.fontVariant="normal",this.fontWeight="normal",this.fontSize="10px",this.fontFamily="sans-serif",this.fontStretch=1,this.fillStyle="#666666",this.angle=0,this.textAlign="start",this.textBaseline="alphabetic",this.text,this.width,this.height,this.pt2px=1.28,a.extend(!0,this,b),this.normalizedFontSize=this.normalizeFontSize(this.fontSize),this.setHeight()},a.jqplot.CanvasTextRenderer.prototype.init=function(b){a.extend(!0,this,b),this.normalizedFontSize=this.normalizeFontSize(this.fontSize),this.setHeight()},a.jqplot.CanvasTextRenderer.prototype.normalizeFontSize=function(a){a=String(a);var b=parseFloat(a);return a.indexOf("px")>-1?b/this.pt2px:a.indexOf("pt")>-1?b:a.indexOf("em")>-1?12*b:a.indexOf("%")>-1?12*b/100:b/this.pt2px},a.jqplot.CanvasTextRenderer.prototype.fontWeight2Float=function(a){if(Number(a))return a/400;switch(a){case"normal":return 1;case"bold":return 1.75;case"bolder":return 2.25;case"lighter":return.75;default:return 1}},a.jqplot.CanvasTextRenderer.prototype.getText=function(){return this.text},a.jqplot.CanvasTextRenderer.prototype.setText=function(a,b){return this.text=a,this.setWidth(b),this},a.jqplot.CanvasTextRenderer.prototype.getWidth=function(a){return this.width},a.jqplot.CanvasTextRenderer.prototype.setWidth=function(a,b){return b?this.width=b:this.width=this.measure(a,this.text),this},a.jqplot.CanvasTextRenderer.prototype.getHeight=function(a){return this.height},a.jqplot.CanvasTextRenderer.prototype.setHeight=function(a){return a?this.height=a:this.height=this.normalizedFontSize*this.pt2px,this},a.jqplot.CanvasTextRenderer.prototype.letter=function(a){return this.letters[a]},a.jqplot.CanvasTextRenderer.prototype.ascent=function(){return this.normalizedFontSize},a.jqplot.CanvasTextRenderer.prototype.descent=function(){return 7*this.normalizedFontSize/25},a.jqplot.CanvasTextRenderer.prototype.measure=function(a,b){for(var c=0,d=b.length,e=0;e<d;e++){var f=this.letter(b.charAt(e));f&&(c+=f.width*this.normalizedFontSize/25*this.fontStretch)}return c},a.jqplot.CanvasTextRenderer.prototype.draw=function(a,b){var c=0,d=.72*this.height,e=0,f=b.length,g=this.normalizedFontSize/25;a.save();var h,i;-Math.PI/2<=this.angle&&this.angle<=0||3*Math.PI/2<=this.angle&&this.angle<=2*Math.PI?(h=0,i=-Math.sin(this.angle)*this.width):0<this.angle&&this.angle<=Math.PI/2||2*-Math.PI<=this.angle&&this.angle<=3*-Math.PI/2?(h=Math.sin(this.angle)*this.height,i=0):-Math.PI<this.angle&&this.angle<-Math.PI/2||Math.PI<=this.angle&&this.angle<=3*Math.PI/2?(h=-Math.cos(this.angle)*this.width,i=-Math.sin(this.angle)*this.width-Math.cos(this.angle)*this.height):(3*-Math.PI/2<this.angle&&this.angle<Math.PI||Math.PI/2<this.angle&&this.angle<Math.PI)&&(h=Math.sin(this.angle)*this.height-Math.cos(this.angle)*this.width,i=-Math.cos(this.angle)*this.height),a.strokeStyle=this.fillStyle,a.fillStyle=this.fillStyle,a.translate(h,i),a.rotate(this.angle),a.lineCap="round";var j=this.normalizedFontSize>30?2:2+(30-this.normalizedFontSize)/20;a.lineWidth=j*g*this.fontWeight2Float(this.fontWeight);for(var k=0;k<f;k++){var l=this.letter(b.charAt(k));if(l){a.beginPath();for(var m=1,n=0;n<l.points.length;n++){var o=l.points[n];o[0]!=-1||o[1]!=-1?m?(a.moveTo(c+o[0]*g*this.fontStretch,d-o[1]*g),m=!1):a.lineTo(c+o[0]*g*this.fontStretch,d-o[1]*g):m=1}a.stroke(),c+=l.width*g*this.fontStretch}}return a.restore(),e},a.jqplot.CanvasTextRenderer.prototype.letters={" ":{width:16,points:[]},"!":{width:10,points:[[5,21],[5,7],[-1,-1],[5,2],[4,1],[5,0],[6,1],[5,2]]},'"':{width:16,points:[[4,21],[4,14],[-1,-1],[12,21],[12,14]]},"#":{width:21,points:[[11,25],[4,-7],[-1,-1],[17,25],[10,-7],[-1,-1],[4,12],[18,12],[-1,-1],[3,6],[17,6]]},$:{width:20,points:[[8,25],[8,-4],[-1,-1],[12,25],[12,-4],[-1,-1],[17,18],[15,20],[12,21],[8,21],[5,20],[3,18],[3,16],[4,14],[5,13],[7,12],[13,10],[15,9],[16,8],[17,6],[17,3],[15,1],[12,0],[8,0],[5,1],[3,3]]},"%":{width:24,points:[[21,21],[3,0],[-1,-1],[8,21],[10,19],[10,17],[9,15],[7,14],[5,14],[3,16],[3,18],[4,20],[6,21],[8,21],[10,20],[13,19],[16,19],[19,20],[21,21],[-1,-1],[17,7],[15,6],[14,4],[14,2],[16,0],[18,0],[20,1],[21,3],[21,5],[19,7],[17,7]]},"&":{width:26,points:[[23,12],[23,13],[22,14],[21,14],[20,13],[19,11],[17,6],[15,3],[13,1],[11,0],[7,0],[5,1],[4,2],[3,4],[3,6],[4,8],[5,9],[12,13],[13,14],[14,16],[14,18],[13,20],[11,21],[9,20],[8,18],[8,16],[9,13],[11,10],[16,3],[18,1],[20,0],[22,0],[23,1],[23,2]]},"'":{width:10,points:[[5,19],[4,20],[5,21],[6,20],[6,18],[5,16],[4,15]]},"(":{width:14,points:[[11,25],[9,23],[7,20],[5,16],[4,11],[4,7],[5,2],[7,-2],[9,-5],[11,-7]]},")":{width:14,points:[[3,25],[5,23],[7,20],[9,16],[10,11],[10,7],[9,2],[7,-2],[5,-5],[3,-7]]},"*":{width:16,points:[[8,21],[8,9],[-1,-1],[3,18],[13,12],[-1,-1],[13,18],[3,12]]},"+":{width:26,points:[[13,18],[13,0],[-1,-1],[4,9],[22,9]]},",":{width:10,points:[[6,1],[5,0],[4,1],[5,2],[6,1],[6,-1],[5,-3],[4,-4]]},"-":{width:18,points:[[6,9],[12,9]]},".":{width:10,points:[[5,2],[4,1],[5,0],[6,1],[5,2]]},"/":{width:22,points:[[20,25],[2,-7]]},0:{width:20,points:[[9,21],[6,20],[4,17],[3,12],[3,9],[4,4],[6,1],[9,0],[11,0],[14,1],[16,4],[17,9],[17,12],[16,17],[14,20],[11,21],[9,21]]},1:{width:20,points:[[6,17],[8,18],[11,21],[11,0]]},2:{width:20,points:[[4,16],[4,17],[5,19],[6,20],[8,21],[12,21],[14,20],[15,19],[16,17],[16,15],[15,13],[13,10],[3,0],[17,0]]},3:{width:20,points:[[5,21],[16,21],[10,13],[13,13],[15,12],[16,11],[17,8],[17,6],[16,3],[14,1],[11,0],[8,0],[5,1],[4,2],[3,4]]},4:{width:20,points:[[13,21],[3,7],[18,7],[-1,-1],[13,21],[13,0]]},5:{width:20,points:[[15,21],[5,21],[4,12],[5,13],[8,14],[11,14],[14,13],[16,11],[17,8],[17,6],[16,3],[14,1],[11,0],[8,0],[5,1],[4,2],[3,4]]},6:{width:20,points:[[16,18],[15,20],[12,21],[10,21],[7,20],[5,17],[4,12],[4,7],[5,3],[7,1],[10,0],[11,0],[14,1],[16,3],[17,6],[17,7],[16,10],[14,12],[11,13],[10,13],[7,12],[5,10],[4,7]]},7:{width:20,points:[[17,21],[7,0],[-1,-1],[3,21],[17,21]]},8:{width:20,points:[[8,21],[5,20],[4,18],[4,16],[5,14],[7,13],[11,12],[14,11],[16,9],[17,7],[17,4],[16,2],[15,1],[12,0],[8,0],[5,1],[4,2],[3,4],[3,7],[4,9],[6,11],[9,12],[13,13],[15,14],[16,16],[16,18],[15,20],[12,21],[8,21]]},9:{width:20,points:[[16,14],[15,11],[13,9],[10,8],[9,8],[6,9],[4,11],[3,14],[3,15],[4,18],[6,20],[9,21],[10,21],[13,20],[15,18],[16,14],[16,9],[15,4],[13,1],[10,0],[8,0],[5,1],[4,3]]},":":{width:10,points:[[5,14],[4,13],[5,12],[6,13],[5,14],[-1,-1],[5,2],[4,1],[5,0],[6,1],[5,2]]},";":{width:10,points:[[5,14],[4,13],[5,12],[6,13],[5,14],[-1,-1],[6,1],[5,0],[4,1],[5,2],[6,1],[6,-1],[5,-3],[4,-4]]},"<":{width:24,points:[[20,18],[4,9],[20,0]]},"=":{width:26,points:[[4,12],[22,12],[-1,-1],[4,6],[22,6]]},">":{width:24,points:[[4,18],[20,9],[4,0]]},"?":{width:18,points:[[3,16],[3,17],[4,19],[5,20],[7,21],[11,21],[13,20],[14,19],[15,17],[15,15],[14,13],[13,12],[9,10],[9,7],[-1,-1],[9,2],[8,1],[9,0],[10,1],[9,2]]},"@":{width:27,points:[[18,13],[17,15],[15,16],[12,16],[10,15],[9,14],[8,11],[8,8],[9,6],[11,5],[14,5],[16,6],[17,8],[-1,-1],[12,16],[10,14],[9,11],[9,8],[10,6],[11,5],[-1,-1],[18,16],[17,8],[17,6],[19,5],[21,5],[23,7],[24,10],[24,12],[23,15],[22,17],[20,19],[18,20],[15,21],[12,21],[9,20],[7,19],[5,17],[4,15],[3,12],[3,9],[4,6],[5,4],[7,2],[9,1],[12,0],[15,0],[18,1],[20,2],[21,3],[-1,-1],[19,16],[18,8],[18,6],[19,5]]},A:{width:18,points:[[9,21],[1,0],[-1,-1],[9,21],[17,0],[-1,-1],[4,7],[14,7]]},B:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,15],[17,13],[16,12],[13,11],[-1,-1],[4,11],[13,11],[16,10],[17,9],[18,7],[18,4],[17,2],[16,1],[13,0],[4,0]]},C:{width:21,points:[[18,16],[17,18],[15,20],[13,21],[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5]]},D:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[11,21],[14,20],[16,18],[17,16],[18,13],[18,8],[17,5],[16,3],[14,1],[11,0],[4,0]]},E:{width:19,points:[[4,21],[4,0],[-1,-1],[4,21],[17,21],[-1,-1],[4,11],[12,11],[-1,-1],[4,0],[17,0]]},F:{width:18,points:[[4,21],[4,0],[-1,-1],[4,21],[17,21],[-1,-1],[4,11],[12,11]]},G:{width:21,points:[[18,16],[17,18],[15,20],[13,21],[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[18,8],[-1,-1],[13,8],[18,8]]},H:{width:22,points:[[4,21],[4,0],[-1,-1],[18,21],[18,0],[-1,-1],[4,11],[18,11]]},I:{width:8,points:[[4,21],[4,0]]},J:{width:16,points:[[12,21],[12,5],[11,2],[10,1],[8,0],[6,0],[4,1],[3,2],[2,5],[2,7]]},K:{width:21,points:[[4,21],[4,0],[-1,-1],[18,21],[4,7],[-1,-1],[9,12],[18,0]]},L:{width:17,points:[[4,21],[4,0],[-1,-1],[4,0],[16,0]]},M:{width:24,points:[[4,21],[4,0],[-1,-1],[4,21],[12,0],[-1,-1],[20,21],[12,0],[-1,-1],[20,21],[20,0]]},N:{width:22,points:[[4,21],[4,0],[-1,-1],[4,21],[18,0],[-1,-1],[18,21],[18,0]]},O:{width:22,points:[[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[19,8],[19,13],[18,16],[17,18],[15,20],[13,21],[9,21]]},P:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,14],[17,12],[16,11],[13,10],[4,10]]},Q:{width:22,points:[[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[19,8],[19,13],[18,16],[17,18],[15,20],[13,21],[9,21],[-1,-1],[12,4],[18,-2]]},R:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,15],[17,13],[16,12],[13,11],[4,11],[-1,-1],[11,11],[18,0]]},S:{width:20,points:[[17,18],[15,20],[12,21],[8,21],[5,20],[3,18],[3,16],[4,14],[5,13],[7,12],[13,10],[15,9],[16,8],[17,6],[17,3],[15,1],[12,0],[8,0],[5,1],[3,3]]},T:{width:16,points:[[8,21],[8,0],[-1,-1],[1,21],[15,21]]},U:{width:22,points:[[4,21],[4,6],[5,3],[7,1],[10,0],[12,0],[15,1],[17,3],[18,6],[18,21]]},V:{width:18,points:[[1,21],[9,0],[-1,-1],[17,21],[9,0]]},W:{width:24,points:[[2,21],[7,0],[-1,-1],[12,21],[7,0],[-1,-1],[12,21],[17,0],[-1,-1],[22,21],[17,0]]},X:{width:20,points:[[3,21],[17,0],[-1,-1],[17,21],[3,0]]},Y:{width:18,points:[[1,21],[9,11],[9,0],[-1,-1],[17,21],[9,11]]},Z:{width:20,points:[[17,21],[3,0],[-1,-1],[3,21],[17,21],[-1,-1],[3,0],[17,0]]},"[":{width:14,points:[[4,25],[4,-7],[-1,-1],[5,25],[5,-7],[-1,-1],[4,25],[11,25],[-1,-1],[4,-7],[11,-7]]},"\\":{width:14,points:[[0,21],[14,-3]]},"]":{width:14,points:[[9,25],[9,-7],[-1,-1],[10,25],[10,-7],[-1,-1],[3,25],[10,25],[-1,-1],[3,-7],[10,-7]]},"^":{width:16,points:[[6,15],[8,18],[10,15],[-1,-1],[3,12],[8,17],[13,12],[-1,-1],[8,17],[8,0]]},_:{width:16,points:[[0,-2],[16,-2]]},"`":{width:10,points:[[6,21],[5,20],[4,18],[4,16],[5,15],[6,16],[5,17]]},a:{width:19,points:[[15,14],[15,0],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},b:{width:19,points:[[4,21],[4,0],[-1,-1],[4,11],[6,13],[8,14],[11,14],[13,13],[15,11],[16,8],[16,6],[15,3],[13,1],[11,0],[8,0],[6,1],[4,3]]},c:{width:18,points:[[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},d:{width:19,points:[[15,21],[15,0],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},e:{width:18,points:[[3,8],[15,8],[15,10],[14,12],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},f:{width:12,points:[[10,21],[8,21],[6,20],[5,17],[5,0],[-1,-1],[2,14],[9,14]]},g:{width:19,points:[[15,14],[15,-2],[14,-5],[13,-6],[11,-7],[8,-7],[6,-6],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},h:{width:19,points:[[4,21],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0]]},i:{width:8,points:[[3,21],[4,20],[5,21],[4,22],[3,21],[-1,-1],[4,14],[4,0]]},j:{width:10,points:[[5,21],[6,20],[7,21],[6,22],[5,21],[-1,-1],[6,14],[6,-3],[5,-6],[3,-7],[1,-7]]},k:{width:17,points:[[4,21],[4,0],[-1,-1],[14,14],[4,4],[-1,-1],[8,8],[15,0]]},l:{width:8,points:[[4,21],[4,0]]},m:{width:30,points:[[4,14],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0],[-1,-1],[15,10],[18,13],[20,14],[23,14],[25,13],[26,10],[26,0]]},n:{width:19,points:[[4,14],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0]]},o:{width:19,points:[[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3],[16,6],[16,8],[15,11],[13,13],[11,14],[8,14]]},p:{width:19,points:[[4,14],[4,-7],[-1,-1],[4,11],[6,13],[8,14],[11,14],[13,13],[15,11],[16,8],[16,6],[15,3],[13,1],[11,0],[8,0],[6,1],[4,3]]},q:{width:19,points:[[15,14],[15,-7],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},r:{width:13,points:[[4,14],[4,0],[-1,-1],[4,8],[5,11],[7,13],[9,14],[12,14]]},s:{width:17,points:[[14,11],[13,13],[10,14],[7,14],[4,13],[3,11],[4,9],[6,8],[11,7],[13,6],[14,4],[14,3],[13,1],[10,0],[7,0],[4,1],[3,3]]},t:{width:12,points:[[5,21],[5,4],[6,1],[8,0],[10,0],[-1,-1],[2,14],[9,14]]},u:{width:19,points:[[4,14],[4,4],[5,1],[7,0],[10,0],[12,1],[15,4],[-1,-1],[15,14],[15,0]]},v:{width:16,points:[[2,14],[8,0],[-1,-1],[14,14],[8,0]]},w:{width:22,points:[[3,14],[7,0],[-1,-1],[11,14],[7,0],[-1,-1],[11,14],[15,0],[-1,-1],[19,14],[15,0]]},x:{width:17,points:[[3,14],[14,0],[-1,-1],[14,14],[3,0]]},y:{width:16,points:[[2,14],[8,0],[-1,-1],[14,14],[8,0],[6,-4],[4,-6],[2,-7],[1,-7]]},z:{width:17,points:[[14,14],[3,0],[-1,-1],[3,14],[14,14],[-1,-1],[3,0],[14,0]]},"{":{width:14,points:[[9,25],[7,24],[6,23],[5,21],[5,19],[6,17],[7,16],[8,14],[8,12],[6,10],[-1,-1],[7,24],[6,22],[6,20],[7,18],[8,17],[9,15],[9,13],[8,11],[4,9],[8,7],[9,5],[9,3],[8,1],[7,0],[6,-2],[6,-4],[7,-6],[-1,-1],[6,8],[8,6],[8,4],[7,2],[6,1],[5,-1],[5,-3],[6,-5],[7,-6],[9,-7]]},"|":{width:8,points:[[4,25],[4,-7]]},"}":{width:14,points:[[5,25],[7,24],[8,23],[9,21],[9,19],[8,17],[7,16],[6,14],[6,12],[8,10],[-1,-1],[7,24],[8,22],[8,20],[7,18],[6,17],[5,15],[5,13],[6,11],[10,9],[6,7],[5,5],[5,3],[6,1],[7,0],[8,-2],[8,-4],[7,-6],[-1,-1],[8,8],[6,6],[6,4],[7,2],[8,1],[9,-1],[9,-3],[8,-5],[7,-6],[5,-7]]},"~":{width:24,points:[[3,6],[3,8],[4,11],[6,12],[8,12],[10,11],[14,8],[16,7],[18,7],[20,8],[21,10],[-1,-1],[3,8],[4,10],[6,11],[8,11],[10,10],[14,7],[16,6],[18,6],[20,7],[21,10],[21,12]]}},a.jqplot.CanvasFontRenderer=function(b){b=b||{},b.pt2px||(b.pt2px=1.5),a.jqplot.CanvasTextRenderer.call(this,b)},a.jqplot.CanvasFontRenderer.prototype=new a.jqplot.CanvasTextRenderer({}),a.jqplot.CanvasFontRenderer.prototype.constructor=a.jqplot.CanvasFontRenderer,a.jqplot.CanvasFontRenderer.prototype.measure=function(a,b){var c=this.fontSize+" "+this.fontFamily;a.save(),a.font=c;var d=a.measureText(b).width;return a.restore(),d},a.jqplot.CanvasFontRenderer.prototype.draw=function(a,b){var c=0,d=.72*this.height;a.save();var e,f;-Math.PI/2<=this.angle&&this.angle<=0||3*Math.PI/2<=this.angle&&this.angle<=2*Math.PI?(e=0,f=-Math.sin(this.angle)*this.width):0<this.angle&&this.angle<=Math.PI/2||2*-Math.PI<=this.angle&&this.angle<=3*-Math.PI/2?(e=Math.sin(this.angle)*this.height,f=0):-Math.PI<this.angle&&this.angle<-Math.PI/2||Math.PI<=this.angle&&this.angle<=3*Math.PI/2?(e=-Math.cos(this.angle)*this.width,f=-Math.sin(this.angle)*this.width-Math.cos(this.angle)*this.height):(3*-Math.PI/2<this.angle&&this.angle<Math.PI||Math.PI/2<this.angle&&this.angle<Math.PI)&&(e=Math.sin(this.angle)*this.height-Math.cos(this.angle)*this.width,f=-Math.cos(this.angle)*this.height),a.strokeStyle=this.fillStyle,a.fillStyle=this.fillStyle;var g=this.fontSize+" "+this.fontFamily;a.font=g,a.translate(e,f),a.rotate(this.angle),a.fillText(b,c,d),a.restore()}}(jQuery);
|
assets/jqplot/plugins/jqplot.dateAxisRenderer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
@@ -204,8 +204,8 @@
|
|
204 |
for (var j=0; j<d.length; j++) {
|
205 |
if (this.name == 'xaxis' || this.name == 'x2axis') {
|
206 |
d[j][0] = new $.jsDate(d[j][0]).getTime();
|
207 |
-
pd[j][0] = new $.jsDate(
|
208 |
-
sd[j][0] = new $.jsDate(
|
209 |
if ((d[j][0] != null && d[j][0] < db.min) || db.min == null) {
|
210 |
db.min = d[j][0];
|
211 |
}
|
@@ -227,8 +227,8 @@
|
|
227 |
}
|
228 |
else {
|
229 |
d[j][1] = new $.jsDate(d[j][1]).getTime();
|
230 |
-
pd[j][1] = new $.jsDate(
|
231 |
-
sd[j][1] = new $.jsDate(
|
232 |
if ((d[j][1] != null && d[j][1] < db.min) || db.min == null) {
|
233 |
db.min = d[j][1];
|
234 |
}
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
204 |
for (var j=0; j<d.length; j++) {
|
205 |
if (this.name == 'xaxis' || this.name == 'x2axis') {
|
206 |
d[j][0] = new $.jsDate(d[j][0]).getTime();
|
207 |
+
pd[j][0] = new $.jsDate(pd[j][0]).getTime();
|
208 |
+
sd[j][0] = new $.jsDate(sd[j][0]).getTime();
|
209 |
if ((d[j][0] != null && d[j][0] < db.min) || db.min == null) {
|
210 |
db.min = d[j][0];
|
211 |
}
|
227 |
}
|
228 |
else {
|
229 |
d[j][1] = new $.jsDate(d[j][1]).getTime();
|
230 |
+
pd[j][1] = new $.jsDate(pd[j][1]).getTime();
|
231 |
+
sd[j][1] = new $.jsDate(sd[j][1]).getTime();
|
232 |
if ((d[j][1] != null && d[j][1] < db.min) || db.min == null) {
|
233 |
db.min = d[j][1];
|
234 |
}
|
assets/jqplot/plugins/jqplot.dateAxisRenderer.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){function b(a,b,c){for(var d,e,f,g=Number.MAX_VALUE,h=0,i=k.length;h<i;h++)d=Math.abs(c-k[h]),d<g&&(g=d,e=k[h],f=j[h]);return[e,f]}a.jqplot.DateAxisRenderer=function(){a.jqplot.LinearAxisRenderer.call(this),this.date=new a.jsDate};var c=1e3,d=60*c,e=60*d,f=24*e,g=7*f,h=30.4368499*f,i=365.242199*f,j=["%M:%S.%#N","%M:%S.%#N","%M:%S.%#N","%M:%S","%M:%S","%M:%S","%M:%S","%H:%M:%S","%H:%M:%S","%H:%M","%H:%M","%H:%M","%H:%M","%H:%M","%H:%M","%a %H:%M","%a %H:%M","%b %e %H:%M","%b %e %H:%M","%b %e %H:%M","%b %e %H:%M","%v","%v","%v","%v","%v","%v","%v"],k=[.1*c,.2*c,.5*c,c,2*c,5*c,10*c,15*c,30*c,d,2*d,5*d,10*d,15*d,30*d,e,2*e,4*e,6*e,8*e,12*e,f,2*f,3*f,4*f,5*f,g,2*g];a.jqplot.DateAxisRenderer.prototype=new a.jqplot.LinearAxisRenderer,a.jqplot.DateAxisRenderer.prototype.constructor=a.jqplot.DateAxisRenderer,a.jqplot.DateTickFormatter=function(b,c){return b||(b="%Y/%m/%d"),a.jsDate.strftime(c,b)},a.jqplot.DateAxisRenderer.prototype.init=function(b){this.tickOptions.formatter=a.jqplot.DateTickFormatter,this.tickInset=0,this.drawBaseline=!0,this.baselineWidth=null,this.baselineColor=null,this.daTickInterval=null,this._daTickInterval=null,a.extend(!0,this,b);for(var c,d,e,f,g,h,i,j=this._dataBounds,k=0;k<this._series.length;k++){c={intervals:[],frequencies:{},sortedIntervals:[],min:null,max:null,mean:null},d=0,e=this._series[k],f=e.data,g=e._plotData,h=e._stackData,i=0;for(var l=0;l<f.length;l++)"xaxis"==this.name||"x2axis"==this.name?(f[l][0]=new a.jsDate(f[l][0]).getTime(),g[l][0]=new a.jsDate(g[l][0]).getTime(),h[l][0]=new a.jsDate(h[l][0]).getTime(),(null!=f[l][0]&&f[l][0]<j.min||null==j.min)&&(j.min=f[l][0]),(null!=f[l][0]&&f[l][0]>j.max||null==j.max)&&(j.max=f[l][0]),l>0&&(i=Math.abs(f[l][0]-f[l-1][0]),c.intervals.push(i),c.frequencies.hasOwnProperty(i)?c.frequencies[i]+=1:c.frequencies[i]=1),d+=i):(f[l][1]=new a.jsDate(f[l][1]).getTime(),g[l][1]=new a.jsDate(g[l][1]).getTime(),h[l][1]=new a.jsDate(h[l][1]).getTime(),(null!=f[l][1]&&f[l][1]<j.min||null==j.min)&&(j.min=f[l][1]),(null!=f[l][1]&&f[l][1]>j.max||null==j.max)&&(j.max=f[l][1]),l>0&&(i=Math.abs(f[l][1]-f[l-1][1]),c.intervals.push(i),c.frequencies.hasOwnProperty(i)?c.frequencies[i]+=1:c.frequencies[i]=1)),d+=i;if(e.renderer.bands){if(e.renderer.bands.hiData.length)for(var m=e.renderer.bands.hiData,l=0,n=m.length;l<n;l++)"xaxis"===this.name||"x2axis"===this.name?(m[l][0]=new a.jsDate(m[l][0]).getTime(),(null!=m[l][0]&&m[l][0]>j.max||null==j.max)&&(j.max=m[l][0])):(m[l][1]=new a.jsDate(m[l][1]).getTime(),(null!=m[l][1]&&m[l][1]>j.max||null==j.max)&&(j.max=m[l][1]));if(e.renderer.bands.lowData.length)for(var m=e.renderer.bands.lowData,l=0,n=m.length;l<n;l++)"xaxis"===this.name||"x2axis"===this.name?(m[l][0]=new a.jsDate(m[l][0]).getTime(),(null!=m[l][0]&&m[l][0]<j.min||null==j.min)&&(j.min=m[l][0])):(m[l][1]=new a.jsDate(m[l][1]).getTime(),(null!=m[l][1]&&m[l][1]<j.min||null==j.min)&&(j.min=m[l][1]))}for(var o in c.frequencies)c.sortedIntervals.push({interval:o,frequency:c.frequencies[o]});c.sortedIntervals.sort(function(a,b){return b.frequency-a.frequency}),c.min=a.jqplot.arrayMin(c.intervals),c.max=a.jqplot.arrayMax(c.intervals),c.mean=d/f.length,this._intervalStats.push(c),c=d=e=f=g=h=null}j=null},a.jqplot.DateAxisRenderer.prototype.reset=function(){this.min=this._options.min,this.max=this._options.max,this.tickInterval=this._options.tickInterval,this.numberTicks=this._options.numberTicks,this._autoFormatString="",this._overrideFormatString&&this.tickOptions&&this.tickOptions.formatString&&(this.tickOptions.formatString=""),this.daTickInterval=this._daTickInterval},a.jqplot.DateAxisRenderer.prototype.createTicks=function(c){var d,e,g,j,k=this._ticks,l=this.ticks,m=this.name,n=this._dataBounds,o=(this._intervalStats,"x"===this.name.charAt(0)?this._plotDimensions.width:this._plotDimensions.height),p=30,q=1,r=null;if(null!=this.tickInterval)if(Number(this.tickInterval))r=[Number(this.tickInterval),"seconds"];else if("string"==typeof this.tickInterval){var s=this.tickInterval.split(" ");1==s.length?r=[1,s[0]]:2==s.length&&(r=[s[0],s[1]])}this.tickInterval;d=new a.jsDate(null!=this.min?this.min:n.min).getTime(),e=new a.jsDate(null!=this.max?this.max:n.max).getTime();var t=c.plugins.cursor;t&&t._zoom&&t._zoom.zooming&&(this.min=null,this.max=null);var u=e-d;if(null!=this.tickOptions&&this.tickOptions.formatString||(this._overrideFormatString=!0),l.length){for(j=0;j<l.length;j++){var v=l[j],w=new this.tickRenderer(this.tickOptions);v.constructor==Array?(w.value=new a.jsDate(v[0]).getTime(),w.label=v[1],this.showTicks?this.showTickMarks||(w.showMark=!1):(w.showLabel=!1,w.showMark=!1),w.setTick(w.value,this.name),this._ticks.push(w)):(w.value=new a.jsDate(v).getTime(),this.showTicks?this.showTickMarks||(w.showMark=!1):(w.showLabel=!1,w.showMark=!1),w.setTick(w.value,this.name),this._ticks.push(w))}this.numberTicks=l.length,this.min=this._ticks[0].value,this.max=this._ticks[this.numberTicks-1].value,this.daTickInterval=[(this.max-this.min)/(this.numberTicks-1)/1e3,"seconds"]}else if(null==this.min&&null==this.max&&n.min==n.max){var x=a.extend(!0,{},this.tickOptions,{name:this.name,value:null}),y=3e5;this.min=n.min-y,this.max=n.max+y,this.numberTicks=3;for(var j=this.min;j<=this.max;j+=y){x.value=j;var w=new this.tickRenderer(x);this._overrideFormatString&&""!=this._autoFormatString&&(w.formatString=this._autoFormatString),w.showLabel=!1,w.showMark=!1,this._ticks.push(w)}this.showTicks&&(this._ticks[1].showLabel=!0),this.showTickMarks&&(this._ticks[1].showTickMarks=!0)}else if(null==this.min&&null==this.max){var z,A,B=a.extend(!0,{},this.tickOptions,{name:this.name,value:null});if(this.tickInterval||this.numberTicks)this.tickInterval?A=new a.jsDate(0).add(r[0],r[1]).getTime():this.numberTicks&&(z=this.numberTicks,A=(e-d)/(z-1));else{var C=Math.max(o,p+1),D=115;this.tickRenderer===a.jqplot.CanvasAxisTickRenderer&&this.tickOptions.angle&&(D=115-40*Math.abs(Math.sin(this.tickOptions.angle/180*Math.PI))),z=Math.ceil((C-p)/D+1),A=(e-d)/(z-1)}if(A<=19*f){var E=b(d,e,A),F=E[0];this._autoFormatString=E[1],d=new a.jsDate(d),d=Math.floor((d.getTime()-d.getUtcOffset())/F)*F+d.getUtcOffset(),z=Math.ceil((e-d)/F)+1,this.min=d,this.max=d+(z-1)*F,this.max<e&&(this.max+=F,z+=1),this.tickInterval=F,this.numberTicks=z;for(var j=0;j<z;j++)B.value=this.min+j*F,w=new this.tickRenderer(B),this._overrideFormatString&&""!=this._autoFormatString&&(w.formatString=this._autoFormatString),this.showTicks?this.showTickMarks||(w.showMark=!1):(w.showLabel=!1,w.showMark=!1),this._ticks.push(w);q=this.tickInterval}else if(A<=9*h){this._autoFormatString="%v";var G=Math.round(A/h);G<1?G=1:G>6&&(G=6);var H=new a.jsDate(d).setDate(1).setHours(0,0,0,0),I=new a.jsDate(e),J=new a.jsDate(e).setDate(1).setHours(0,0,0,0);I.getTime()!==J.getTime()&&(J=J.add(1,"month"));var K=J.diff(H,"month");z=Math.ceil(K/G)+1,this.min=H.getTime(),this.max=H.clone().add((z-1)*G,"month").getTime(),this.numberTicks=z;for(var j=0;j<z;j++)0===j?B.value=H.getTime():B.value=H.add(G,"month").getTime(),w=new this.tickRenderer(B),this._overrideFormatString&&""!=this._autoFormatString&&(w.formatString=this._autoFormatString),this.showTicks?this.showTickMarks||(w.showMark=!1):(w.showLabel=!1,w.showMark=!1),this._ticks.push(w);q=G*h}else{this._autoFormatString="%v";var G=Math.round(A/i);G<1&&(G=1);var H=new a.jsDate(d).setMonth(0,1).setHours(0,0,0,0),J=new a.jsDate(e).add(1,"year").setMonth(0,1).setHours(0,0,0,0),L=J.diff(H,"year");z=Math.ceil(L/G)+1,this.min=H.getTime(),this.max=H.clone().add((z-1)*G,"year").getTime(),this.numberTicks=z;for(var j=0;j<z;j++)0===j?B.value=H.getTime():B.value=H.add(G,"year").getTime(),w=new this.tickRenderer(B),this._overrideFormatString&&""!=this._autoFormatString&&(w.formatString=this._autoFormatString),this.showTicks?this.showTickMarks||(w.showMark=!1):(w.showLabel=!1,w.showMark=!1),this._ticks.push(w);q=G*i}}else{if(o="xaxis"==m||"x2axis"==m?this._plotDimensions.width:this._plotDimensions.height,null!=this.min&&null!=this.max&&null!=this.numberTicks&&(this.tickInterval=null),null!=this.tickInterval&&null!=r&&(this.daTickInterval=r),d==e){var M=432e5;d-=M,e+=M}u=e-d;var N,O;2+parseInt(Math.max(0,o-100)/100,10);if(N=null!=this.min?new a.jsDate(this.min).getTime():d-u/2*(this.padMin-1),O=null!=this.max?new a.jsDate(this.max).getTime():e+u/2*(this.padMax-1),this.min=N,this.max=O,u=this.max-this.min,null==this.numberTicks)if(null!=this.daTickInterval){var P=new a.jsDate(this.max).diff(this.min,this.daTickInterval[1],!0);this.numberTicks=Math.ceil(P/this.daTickInterval[0])+1,this.max=new a.jsDate(this.min).add((this.numberTicks-1)*this.daTickInterval[0],this.daTickInterval[1]).getTime()}else o>200?this.numberTicks=parseInt(3+(o-200)/100,10):this.numberTicks=2;q=u/(this.numberTicks-1)/1e3,null==this.daTickInterval&&(this.daTickInterval=[q,"seconds"]);for(var j=0;j<this.numberTicks;j++){var d=new a.jsDate(this.min);g=d.add(j*this.daTickInterval[0],this.daTickInterval[1]).getTime();var w=new this.tickRenderer(this.tickOptions);this.showTicks?this.showTickMarks||(w.showMark=!1):(w.showLabel=!1,w.showMark=!1),w.setTick(g,this.name),this._ticks.push(w)}}this.tickInset&&(this.min=this.min-this.tickInset*q,this.max=this.max+this.tickInset*q),null==this._daTickInterval&&(this._daTickInterval=this.daTickInterval),k=null}}(jQuery);
|
assets/jqplot/plugins/jqplot.enhancedLegendRenderer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
assets/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){a.jqplot.EnhancedLegendRenderer=function(){a.jqplot.TableLegendRenderer.call(this)},a.jqplot.EnhancedLegendRenderer.prototype=new a.jqplot.TableLegendRenderer,a.jqplot.EnhancedLegendRenderer.prototype.constructor=a.jqplot.EnhancedLegendRenderer,a.jqplot.EnhancedLegendRenderer.prototype.init=function(b){this.numberRows=null,this.numberColumns=null,this.seriesToggle="normal",this.seriesToggleReplot=!1,this.disableIEFading=!0,a.extend(!0,this,b),this.seriesToggle&&a.jqplot.postDrawHooks.push(c)},a.jqplot.EnhancedLegendRenderer.prototype.draw=function(c,d){if(this.show){var e,f=this._series,g="position:absolute;";g+=this.background?"background:"+this.background+";":"",g+=this.border?"border:"+this.border+";":"",g+=this.fontSize?"font-size:"+this.fontSize+";":"",g+=this.fontFamily?"font-family:"+this.fontFamily+";":"",g+=this.textColor?"color:"+this.textColor+";":"",g+=null!=this.marginTop?"margin-top:"+this.marginTop+";":"",g+=null!=this.marginBottom?"margin-bottom:"+this.marginBottom+";":"",g+=null!=this.marginLeft?"margin-left:"+this.marginLeft+";":"",g+=null!=this.marginRight?"margin-right:"+this.marginRight+";":"",this._elem=a('<table class="jqplot-table-legend" style="'+g+'"></table>'),this.seriesToggle&&this._elem.css("z-index","3");var h,i,j=!1,k=!1;this.numberRows?(h=this.numberRows,i=this.numberColumns?this.numberColumns:Math.ceil(f.length/h)):this.numberColumns?(i=this.numberColumns,h=Math.ceil(f.length/this.numberColumns)):(h=f.length,i=1);var l,m,n,o,p,q,r,s,t,u=0;for(l=f.length-1;l>=0;l--)(1==i&&f[l]._stack||f[l].renderer.constructor==a.jqplot.BezierCurveRenderer)&&(k=!0);for(l=0;l<h;l++){for(n=a(document.createElement("tr")),n.addClass("jqplot-table-legend"),k?n.prependTo(this._elem):n.appendTo(this._elem),m=0;m<i;m++){if(u<f.length&&(f[u].show||f[u].showLabel)&&(e=f[u],q=this.labels[u]||e.label.toString())){var v=e.color;if(j=k?l!=h-1:l>0,r=j?this.rowSpacing:"0",o=a(document.createElement("td")),o.addClass("jqplot-table-legend jqplot-table-legend-swatch"),o.css({textAlign:"center",paddingTop:r}),s=a(document.createElement("div")),s.addClass("jqplot-table-legend-swatch-outline"),t=a(document.createElement("div")),t.addClass("jqplot-table-legend-swatch"),t.css({backgroundColor:v,borderColor:v}),o.append(s.append(t)),p=a(document.createElement("td")),p.addClass("jqplot-table-legend jqplot-table-legend-label"),p.css("paddingTop",r),this.escapeHtml?p.text(q):p.html(q),k?(this.showLabels&&p.prependTo(n),this.showSwatches&&o.prependTo(n)):(this.showSwatches&&o.appendTo(n),this.showLabels&&p.appendTo(n)),this.seriesToggle){var w;"string"!=typeof this.seriesToggle&&"number"!=typeof this.seriesToggle||a.jqplot.use_excanvas&&this.disableIEFading||(w=this.seriesToggle),this.showSwatches&&(o.bind("click",{series:e,speed:w,plot:d,replot:this.seriesToggleReplot},b),o.addClass("jqplot-seriesToggle")),this.showLabels&&(p.bind("click",{series:e,speed:w,plot:d,replot:this.seriesToggleReplot},b),p.addClass("jqplot-seriesToggle")),!e.show&&e.showLabel&&(o.addClass("jqplot-series-hidden"),p.addClass("jqplot-series-hidden"))}j=!0}u++}o=p=s=t=null}}return this._elem};var b=function(b){var c=b.data,d=c.series,e=c.replot,f=c.plot,g=c.speed,h=d.index,i=!1;!d.canvas._elem.is(":hidden")&&d.show||(i=!0);var j=function(){if(e){var b={};if(a.isPlainObject(e)&&a.extend(!0,b,e),f.replot(b),i&&g){var c=f.series[h];c.shadowCanvas._elem&&c.shadowCanvas._elem.hide().fadeIn(g),c.canvas._elem.hide().fadeIn(g),c.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+c.index).hide().fadeIn(g)}}else{var c=f.series[h];c.canvas._elem.is(":hidden")||!c.show?("undefined"!=typeof f.options.legend.showSwatches&&f.options.legend.showSwatches!==!0||f.legend._elem.find("td").eq(2*h).addClass("jqplot-series-hidden"),"undefined"!=typeof f.options.legend.showLabels&&f.options.legend.showLabels!==!0||f.legend._elem.find("td").eq(2*h+1).addClass("jqplot-series-hidden")):("undefined"!=typeof f.options.legend.showSwatches&&f.options.legend.showSwatches!==!0||f.legend._elem.find("td").eq(2*h).removeClass("jqplot-series-hidden"),"undefined"!=typeof f.options.legend.showLabels&&f.options.legend.showLabels!==!0||f.legend._elem.find("td").eq(2*h+1).removeClass("jqplot-series-hidden"))}};d.toggleDisplay(b,j)},c=function(){if(this.legend.renderer.constructor==a.jqplot.EnhancedLegendRenderer&&this.legend.seriesToggle){var b=this.legend._elem.detach();this.eventCanvas._elem.after(b)}}}(jQuery);
|
assets/jqplot/plugins/jqplot.enhancedPieLegendRenderer.js
CHANGED
@@ -1,261 +1,261 @@
|
|
1 |
-
/**
|
2 |
-
* jqPlot
|
3 |
-
* Pure JavaScript plotting plugin using jQuery
|
4 |
-
*
|
5 |
-
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
-
*
|
8 |
-
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
-
* jqPlot is currently available for use in all personal or commercial projects
|
10 |
-
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
|
11 |
-
* version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
|
12 |
-
* choose the license that best suits your project and use it accordingly.
|
13 |
-
*
|
14 |
-
* Although not required, the author would appreciate an email letting him
|
15 |
-
* know of any substantial use of jqPlot. You can reach the author at:
|
16 |
-
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
|
17 |
-
*
|
18 |
-
* If you are feeling kind and generous, consider supporting the project by
|
19 |
-
* making a donation at: http://www.jqplot.com/donate.php .
|
20 |
-
*
|
21 |
-
* sprintf functions contained in jqplot.sprintf.js by Ash Searle:
|
22 |
-
*
|
23 |
-
* version 2007.04.27
|
24 |
-
* author Ash Searle
|
25 |
-
* http://hexmen.com/blog/2007/03/printf-sprintf/
|
26 |
-
* http://hexmen.com/js/sprintf.js
|
27 |
-
* The author (Ash Searle) has placed this code in the public domain:
|
28 |
-
* "This code is unrestricted: you are free to use it however you like."
|
29 |
-
*
|
30 |
-
*/
|
31 |
-
(function($) {
|
32 |
-
// class $.jqplot.EnhancedPieLegendRenderer
|
33 |
-
// Legend renderer which can specify the number of rows and/or columns in the legend
|
34 |
-
// Similar to EnhancedLegendRenderer, but for pie charts
|
35 |
-
$.jqplot.EnhancedPieLegendRenderer = function(){
|
36 |
-
$.jqplot.TableLegendRenderer.call(this);
|
37 |
-
};
|
38 |
-
|
39 |
-
$.jqplot.EnhancedPieLegendRenderer.prototype = new $.jqplot.TableLegendRenderer();
|
40 |
-
$.jqplot.EnhancedPieLegendRenderer.prototype.constructor = $.jqplot.EnhancedPieLegendRenderer;
|
41 |
-
|
42 |
-
// called with scope of legend.
|
43 |
-
$.jqplot.EnhancedPieLegendRenderer.prototype.init = function(options) {
|
44 |
-
// prop: numberRows
|
45 |
-
// Maximum number of rows in the legend. 0 or null for unlimited.
|
46 |
-
this.numberRows = null;
|
47 |
-
// prop: numberColumns
|
48 |
-
// Maximum number of columns in the legend. 0 or null for unlimited.
|
49 |
-
this.numberColumns = null;
|
50 |
-
// prop: seriesToggle
|
51 |
-
// false to not enable series on/off toggling on the legend.
|
52 |
-
// true or a fadein/fadeout speed (number of milliseconds or 'fast', 'normal', 'slow')
|
53 |
-
// to enable show/hide of series on click of legend item.
|
54 |
-
this.seriesToggle = 'normal';
|
55 |
-
// prop: seriesToggleReplot
|
56 |
-
// True to replot the chart after toggling series on/off.
|
57 |
-
// This will set the series show property to false.
|
58 |
-
// This allows for rescaling or other maniplation of chart.
|
59 |
-
// Set to an options object (e.g. {resetAxes: true}) for replot options.
|
60 |
-
this.seriesToggleReplot = false;
|
61 |
-
// prop: disableIEFading
|
62 |
-
// true to toggle series with a show/hide method only and not allow fading in/out.
|
63 |
-
// This is to overcome poor performance of fade in some versions of IE.
|
64 |
-
this.disableIEFading = true;
|
65 |
-
// prop: toolTips
|
66 |
-
// optional array of toolTip text corresponding to each pie slice
|
67 |
-
this.toolTips = [];
|
68 |
-
$.extend(true, this, options);
|
69 |
-
|
70 |
-
if (this.seriesToggle) {
|
71 |
-
$.jqplot.postDrawHooks.push(postDraw);
|
72 |
-
}
|
73 |
-
};
|
74 |
-
|
75 |
-
// called with scope of legend
|
76 |
-
$.jqplot.EnhancedPieLegendRenderer.prototype.draw = function(offsets, plot) {
|
77 |
-
var legend = this;
|
78 |
-
if (this.show) {
|
79 |
-
var series = this._series;
|
80 |
-
var s;
|
81 |
-
var ss = 'position:absolute;';
|
82 |
-
ss += (this.background) ? 'background:'+this.background+';' : '';
|
83 |
-
ss += (this.border) ? 'border:'+this.border+';' : '';
|
84 |
-
ss += (this.fontSize) ? 'font-size:'+this.fontSize+';' : '';
|
85 |
-
ss += (this.fontFamily) ? 'font-family:'+this.fontFamily+';' : '';
|
86 |
-
ss += (this.textColor) ? 'color:'+this.textColor+';' : '';
|
87 |
-
ss += (this.marginTop != null) ? 'margin-top:'+this.marginTop+';' : '';
|
88 |
-
ss += (this.marginBottom != null) ? 'margin-bottom:'+this.marginBottom+';' : '';
|
89 |
-
ss += (this.marginLeft != null) ? 'margin-left:'+this.marginLeft+';' : '';
|
90 |
-
ss += (this.marginRight != null) ? 'margin-right:'+this.marginRight+';' : '';
|
91 |
-
this._elem = $('<table class="jqplot-table-legend" style="'+ss+'"></table>');
|
92 |
-
if (this.seriesToggle) {
|
93 |
-
this._elem.css('z-index', '3');
|
94 |
-
}
|
95 |
-
|
96 |
-
var pad = false,
|
97 |
-
reverse = false,
|
98 |
-
nr, nc;
|
99 |
-
var s = series[0];
|
100 |
-
var slen = s.data.length;
|
101 |
-
var colorGenerator = new $.jqplot.ColorGenerator(s.seriesColors);
|
102 |
-
|
103 |
-
if (this.numberRows) {
|
104 |
-
nr = this.numberRows;
|
105 |
-
if (!this.numberColumns){
|
106 |
-
nc = Math.ceil(slen/nr);
|
107 |
-
}
|
108 |
-
else{
|
109 |
-
nc = this.numberColumns;
|
110 |
-
}
|
111 |
-
}
|
112 |
-
else if (this.numberColumns) {
|
113 |
-
nc = this.numberColumns;
|
114 |
-
nr = Math.ceil(slen/this.numberColumns);
|
115 |
-
}
|
116 |
-
else {
|
117 |
-
nr = slen;
|
118 |
-
nc = 1;
|
119 |
-
}
|
120 |
-
|
121 |
-
var i, j, tr, td1, td2, lt, rs, div, div0, div1;
|
122 |
-
var idx = 0;
|
123 |
-
// check to see if we need to reverse
|
124 |
-
for (i=series.length-1; i>=0; i--) {
|
125 |
-
if (nc == 1 && series[i]._stack || series[i].renderer.constructor == $.jqplot.BezierCurveRenderer){
|
126 |
-
reverse = true;
|
127 |
-
}
|
128 |
-
}
|
129 |
-
|
130 |
-
for (i=0; i<nr; i++) {
|
131 |
-
tr = $(document.createElement('tr'));
|
132 |
-
tr.addClass('jqplot-table-legend');
|
133 |
-
if (reverse){
|
134 |
-
tr.prependTo(this._elem);
|
135 |
-
}
|
136 |
-
else{
|
137 |
-
tr.appendTo(this._elem);
|
138 |
-
}
|
139 |
-
for (j=0; j<nc; j++) {
|
140 |
-
if (idx < slen){
|
141 |
-
lt = this.labels[idx] || s.data[idx][0].toString();
|
142 |
-
tt = this.toolTips[idx];
|
143 |
-
if (lt) {
|
144 |
-
var color = colorGenerator.next();
|
145 |
-
if (!reverse){
|
146 |
-
if (i>0){
|
147 |
-
pad = true;
|
148 |
-
}
|
149 |
-
else{
|
150 |
-
pad = false;
|
151 |
-
}
|
152 |
-
}
|
153 |
-
else{
|
154 |
-
if (i == nr -1){
|
155 |
-
pad = false;
|
156 |
-
}
|
157 |
-
else{
|
158 |
-
pad = true;
|
159 |
-
}
|
160 |
-
}
|
161 |
-
rs = (pad) ? this.rowSpacing : '0';
|
162 |
-
|
163 |
-
td1 = $(document.createElement('td'));
|
164 |
-
td1.addClass('jqplot-table-legend jqplot-table-legend-swatch');
|
165 |
-
td1.css({textAlign: 'center', paddingTop: rs});
|
166 |
-
|
167 |
-
div0 = $(document.createElement('div'));
|
168 |
-
div0.addClass('jqplot-table-legend-swatch-outline');
|
169 |
-
if (tt !== undefined) {
|
170 |
-
div0.attr("title", tt);
|
171 |
-
}
|
172 |
-
|
173 |
-
div1 = $(document.createElement('div'));
|
174 |
-
div1.addClass('jqplot-table-legend-swatch');
|
175 |
-
div1.css({backgroundColor: color, borderColor: color});
|
176 |
-
|
177 |
-
td1.append(div0.append(div1));
|
178 |
-
|
179 |
-
td2 = $(document.createElement('td'));
|
180 |
-
td2.addClass('jqplot-table-legend jqplot-table-legend-label');
|
181 |
-
td2.css('paddingTop', rs);
|
182 |
-
if (tt !== undefined) {
|
183 |
-
td2.attr("title", tt);
|
184 |
-
}
|
185 |
-
|
186 |
-
if (this.escapeHtml){
|
187 |
-
td2.text(lt);
|
188 |
-
}
|
189 |
-
else {
|
190 |
-
td2.html(lt);
|
191 |
-
}
|
192 |
-
if (reverse) {
|
193 |
-
if (this.showLabels) {td2.prependTo(tr);}
|
194 |
-
if (this.showSwatches) {td1.prependTo(tr);}
|
195 |
-
}
|
196 |
-
else {
|
197 |
-
if (this.showSwatches) {td1.appendTo(tr);}
|
198 |
-
if (this.showLabels) {td2.appendTo(tr);}
|
199 |
-
}
|
200 |
-
|
201 |
-
if (this.seriesToggle) {
|
202 |
-
|
203 |
-
var speed;
|
204 |
-
if (typeof(this.seriesToggle) === 'string' || typeof(this.seriesToggle) === 'number') {
|
205 |
-
if (!$.jqplot.use_excanvas || !this.disableIEFading) {
|
206 |
-
speed = this.seriesToggle;
|
207 |
-
}
|
208 |
-
}
|
209 |
-
if (this.showSwatches) {
|
210 |
-
td1.bind('click', {series:s, index:idx, speed:speed, plot: plot, replot:this.seriesToggleReplot}, handleToggle);
|
211 |
-
td1.addClass('jqplot-seriesToggle');
|
212 |
-
}
|
213 |
-
if (this.showLabels) {
|
214 |
-
td2.bind('click', {series:s, index:idx, speed:speed, plot: plot, replot:this.seriesToggleReplot}, handleToggle);
|
215 |
-
td2.addClass('jqplot-seriesToggle');
|
216 |
-
}
|
217 |
-
|
218 |
-
// for slices that are already hidden, add the hidden class
|
219 |
-
if (s.showSlice[idx] === false && s.showLabel) {
|
220 |
-
td1.addClass('jqplot-series-hidden');
|
221 |
-
td2.addClass('jqplot-series-hidden');
|
222 |
-
}
|
223 |
-
}
|
224 |
-
|
225 |
-
pad = true;
|
226 |
-
}
|
227 |
-
}
|
228 |
-
idx++;
|
229 |
-
}
|
230 |
-
|
231 |
-
td1 = td2 = div0 = div1 = null;
|
232 |
-
}
|
233 |
-
}
|
234 |
-
return this._elem;
|
235 |
-
};
|
236 |
-
|
237 |
-
var handleToggle = function (ev) {
|
238 |
-
var d = ev.data,
|
239 |
-
replot = d.replot,
|
240 |
-
plot = d.plot,
|
241 |
-
idx = d.index;
|
242 |
-
|
243 |
-
d.series.showSlice[idx] = (d.series.showSlice[idx] === false) ? true : false;
|
244 |
-
|
245 |
-
var opts = {};
|
246 |
-
|
247 |
-
if ($.isPlainObject(replot)) {
|
248 |
-
$.extend(true, opts, replot);
|
249 |
-
}
|
250 |
-
|
251 |
-
plot.replot(opts);
|
252 |
-
};
|
253 |
-
|
254 |
-
// called with scope of plot.
|
255 |
-
var postDraw = function () {
|
256 |
-
if (this.legend.renderer.constructor == $.jqplot.EnhancedPieLegendRenderer && this.legend.seriesToggle) {
|
257 |
-
var e = this.legend._elem.detach();
|
258 |
-
this.eventCanvas._elem.after(e);
|
259 |
-
}
|
260 |
-
};
|
261 |
-
})(jQuery);
|
1 |
+
/**
|
2 |
+
* jqPlot
|
3 |
+
* Pure JavaScript plotting plugin using jQuery
|
4 |
+
*
|
5 |
+
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
+
*
|
8 |
+
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
+
* jqPlot is currently available for use in all personal or commercial projects
|
10 |
+
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
|
11 |
+
* version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
|
12 |
+
* choose the license that best suits your project and use it accordingly.
|
13 |
+
*
|
14 |
+
* Although not required, the author would appreciate an email letting him
|
15 |
+
* know of any substantial use of jqPlot. You can reach the author at:
|
16 |
+
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
|
17 |
+
*
|
18 |
+
* If you are feeling kind and generous, consider supporting the project by
|
19 |
+
* making a donation at: http://www.jqplot.com/donate.php .
|
20 |
+
*
|
21 |
+
* sprintf functions contained in jqplot.sprintf.js by Ash Searle:
|
22 |
+
*
|
23 |
+
* version 2007.04.27
|
24 |
+
* author Ash Searle
|
25 |
+
* http://hexmen.com/blog/2007/03/printf-sprintf/
|
26 |
+
* http://hexmen.com/js/sprintf.js
|
27 |
+
* The author (Ash Searle) has placed this code in the public domain:
|
28 |
+
* "This code is unrestricted: you are free to use it however you like."
|
29 |
+
*
|
30 |
+
*/
|
31 |
+
(function($) {
|
32 |
+
// class $.jqplot.EnhancedPieLegendRenderer
|
33 |
+
// Legend renderer which can specify the number of rows and/or columns in the legend
|
34 |
+
// Similar to EnhancedLegendRenderer, but for pie charts
|
35 |
+
$.jqplot.EnhancedPieLegendRenderer = function(){
|
36 |
+
$.jqplot.TableLegendRenderer.call(this);
|
37 |
+
};
|
38 |
+
|
39 |
+
$.jqplot.EnhancedPieLegendRenderer.prototype = new $.jqplot.TableLegendRenderer();
|
40 |
+
$.jqplot.EnhancedPieLegendRenderer.prototype.constructor = $.jqplot.EnhancedPieLegendRenderer;
|
41 |
+
|
42 |
+
// called with scope of legend.
|
43 |
+
$.jqplot.EnhancedPieLegendRenderer.prototype.init = function(options) {
|
44 |
+
// prop: numberRows
|
45 |
+
// Maximum number of rows in the legend. 0 or null for unlimited.
|
46 |
+
this.numberRows = null;
|
47 |
+
// prop: numberColumns
|
48 |
+
// Maximum number of columns in the legend. 0 or null for unlimited.
|
49 |
+
this.numberColumns = null;
|
50 |
+
// prop: seriesToggle
|
51 |
+
// false to not enable series on/off toggling on the legend.
|
52 |
+
// true or a fadein/fadeout speed (number of milliseconds or 'fast', 'normal', 'slow')
|
53 |
+
// to enable show/hide of series on click of legend item.
|
54 |
+
this.seriesToggle = 'normal';
|
55 |
+
// prop: seriesToggleReplot
|
56 |
+
// True to replot the chart after toggling series on/off.
|
57 |
+
// This will set the series show property to false.
|
58 |
+
// This allows for rescaling or other maniplation of chart.
|
59 |
+
// Set to an options object (e.g. {resetAxes: true}) for replot options.
|
60 |
+
this.seriesToggleReplot = false;
|
61 |
+
// prop: disableIEFading
|
62 |
+
// true to toggle series with a show/hide method only and not allow fading in/out.
|
63 |
+
// This is to overcome poor performance of fade in some versions of IE.
|
64 |
+
this.disableIEFading = true;
|
65 |
+
// prop: toolTips
|
66 |
+
// optional array of toolTip text corresponding to each pie slice
|
67 |
+
this.toolTips = [];
|
68 |
+
$.extend(true, this, options);
|
69 |
+
|
70 |
+
if (this.seriesToggle) {
|
71 |
+
$.jqplot.postDrawHooks.push(postDraw);
|
72 |
+
}
|
73 |
+
};
|
74 |
+
|
75 |
+
// called with scope of legend
|
76 |
+
$.jqplot.EnhancedPieLegendRenderer.prototype.draw = function(offsets, plot) {
|
77 |
+
var legend = this;
|
78 |
+
if (this.show) {
|
79 |
+
var series = this._series;
|
80 |
+
var s;
|
81 |
+
var ss = 'position:absolute;';
|
82 |
+
ss += (this.background) ? 'background:'+this.background+';' : '';
|
83 |
+
ss += (this.border) ? 'border:'+this.border+';' : '';
|
84 |
+
ss += (this.fontSize) ? 'font-size:'+this.fontSize+';' : '';
|
85 |
+
ss += (this.fontFamily) ? 'font-family:'+this.fontFamily+';' : '';
|
86 |
+
ss += (this.textColor) ? 'color:'+this.textColor+';' : '';
|
87 |
+
ss += (this.marginTop != null) ? 'margin-top:'+this.marginTop+';' : '';
|
88 |
+
ss += (this.marginBottom != null) ? 'margin-bottom:'+this.marginBottom+';' : '';
|
89 |
+
ss += (this.marginLeft != null) ? 'margin-left:'+this.marginLeft+';' : '';
|
90 |
+
ss += (this.marginRight != null) ? 'margin-right:'+this.marginRight+';' : '';
|
91 |
+
this._elem = $('<table class="jqplot-table-legend" style="'+ss+'"></table>');
|
92 |
+
if (this.seriesToggle) {
|
93 |
+
this._elem.css('z-index', '3');
|
94 |
+
}
|
95 |
+
|
96 |
+
var pad = false,
|
97 |
+
reverse = false,
|
98 |
+
nr, nc;
|
99 |
+
var s = series[0];
|
100 |
+
var slen = s.data.length;
|
101 |
+
var colorGenerator = new $.jqplot.ColorGenerator(s.seriesColors);
|
102 |
+
|
103 |
+
if (this.numberRows) {
|
104 |
+
nr = this.numberRows;
|
105 |
+
if (!this.numberColumns){
|
106 |
+
nc = Math.ceil(slen/nr);
|
107 |
+
}
|
108 |
+
else{
|
109 |
+
nc = this.numberColumns;
|
110 |
+
}
|
111 |
+
}
|
112 |
+
else if (this.numberColumns) {
|
113 |
+
nc = this.numberColumns;
|
114 |
+
nr = Math.ceil(slen/this.numberColumns);
|
115 |
+
}
|
116 |
+
else {
|
117 |
+
nr = slen;
|
118 |
+
nc = 1;
|
119 |
+
}
|
120 |
+
|
121 |
+
var i, j, tr, td1, td2, lt, rs, div, div0, div1;
|
122 |
+
var idx = 0;
|
123 |
+
// check to see if we need to reverse
|
124 |
+
for (i=series.length-1; i>=0; i--) {
|
125 |
+
if (nc == 1 && series[i]._stack || series[i].renderer.constructor == $.jqplot.BezierCurveRenderer){
|
126 |
+
reverse = true;
|
127 |
+
}
|
128 |
+
}
|
129 |
+
|
130 |
+
for (i=0; i<nr; i++) {
|
131 |
+
tr = $(document.createElement('tr'));
|
132 |
+
tr.addClass('jqplot-table-legend');
|
133 |
+
if (reverse){
|
134 |
+
tr.prependTo(this._elem);
|
135 |
+
}
|
136 |
+
else{
|
137 |
+
tr.appendTo(this._elem);
|
138 |
+
}
|
139 |
+
for (j=0; j<nc; j++) {
|
140 |
+
if (idx < slen){
|
141 |
+
lt = this.labels[idx] || s.data[idx][0].toString();
|
142 |
+
tt = this.toolTips[idx];
|
143 |
+
if (lt) {
|
144 |
+
var color = colorGenerator.next();
|
145 |
+
if (!reverse){
|
146 |
+
if (i>0){
|
147 |
+
pad = true;
|
148 |
+
}
|
149 |
+
else{
|
150 |
+
pad = false;
|
151 |
+
}
|
152 |
+
}
|
153 |
+
else{
|
154 |
+
if (i == nr -1){
|
155 |
+
pad = false;
|
156 |
+
}
|
157 |
+
else{
|
158 |
+
pad = true;
|
159 |
+
}
|
160 |
+
}
|
161 |
+
rs = (pad) ? this.rowSpacing : '0';
|
162 |
+
|
163 |
+
td1 = $(document.createElement('td'));
|
164 |
+
td1.addClass('jqplot-table-legend jqplot-table-legend-swatch');
|
165 |
+
td1.css({textAlign: 'center', paddingTop: rs});
|
166 |
+
|
167 |
+
div0 = $(document.createElement('div'));
|
168 |
+
div0.addClass('jqplot-table-legend-swatch-outline');
|
169 |
+
if (tt !== undefined) {
|
170 |
+
div0.attr("title", tt);
|
171 |
+
}
|
172 |
+
|
173 |
+
div1 = $(document.createElement('div'));
|
174 |
+
div1.addClass('jqplot-table-legend-swatch');
|
175 |
+
div1.css({backgroundColor: color, borderColor: color});
|
176 |
+
|
177 |
+
td1.append(div0.append(div1));
|
178 |
+
|
179 |
+
td2 = $(document.createElement('td'));
|
180 |
+
td2.addClass('jqplot-table-legend jqplot-table-legend-label');
|
181 |
+
td2.css('paddingTop', rs);
|
182 |
+
if (tt !== undefined) {
|
183 |
+
td2.attr("title", tt);
|
184 |
+
}
|
185 |
+
|
186 |
+
if (this.escapeHtml){
|
187 |
+
td2.text(lt);
|
188 |
+
}
|
189 |
+
else {
|
190 |
+
td2.html(lt);
|
191 |
+
}
|
192 |
+
if (reverse) {
|
193 |
+
if (this.showLabels) {td2.prependTo(tr);}
|
194 |
+
if (this.showSwatches) {td1.prependTo(tr);}
|
195 |
+
}
|
196 |
+
else {
|
197 |
+
if (this.showSwatches) {td1.appendTo(tr);}
|
198 |
+
if (this.showLabels) {td2.appendTo(tr);}
|
199 |
+
}
|
200 |
+
|
201 |
+
if (this.seriesToggle) {
|
202 |
+
|
203 |
+
var speed;
|
204 |
+
if (typeof(this.seriesToggle) === 'string' || typeof(this.seriesToggle) === 'number') {
|
205 |
+
if (!$.jqplot.use_excanvas || !this.disableIEFading) {
|
206 |
+
speed = this.seriesToggle;
|
207 |
+
}
|
208 |
+
}
|
209 |
+
if (this.showSwatches) {
|
210 |
+
td1.bind('click', {series:s, index:idx, speed:speed, plot: plot, replot:this.seriesToggleReplot}, handleToggle);
|
211 |
+
td1.addClass('jqplot-seriesToggle');
|
212 |
+
}
|
213 |
+
if (this.showLabels) {
|
214 |
+
td2.bind('click', {series:s, index:idx, speed:speed, plot: plot, replot:this.seriesToggleReplot}, handleToggle);
|
215 |
+
td2.addClass('jqplot-seriesToggle');
|
216 |
+
}
|
217 |
+
|
218 |
+
// for slices that are already hidden, add the hidden class
|
219 |
+
if (s.showSlice[idx] === false && s.showLabel) {
|
220 |
+
td1.addClass('jqplot-series-hidden');
|
221 |
+
td2.addClass('jqplot-series-hidden');
|
222 |
+
}
|
223 |
+
}
|
224 |
+
|
225 |
+
pad = true;
|
226 |
+
}
|
227 |
+
}
|
228 |
+
idx++;
|
229 |
+
}
|
230 |
+
|
231 |
+
td1 = td2 = div0 = div1 = null;
|
232 |
+
}
|
233 |
+
}
|
234 |
+
return this._elem;
|
235 |
+
};
|
236 |
+
|
237 |
+
var handleToggle = function (ev) {
|
238 |
+
var d = ev.data,
|
239 |
+
replot = d.replot,
|
240 |
+
plot = d.plot,
|
241 |
+
idx = d.index;
|
242 |
+
|
243 |
+
d.series.showSlice[idx] = (d.series.showSlice[idx] === false) ? true : false;
|
244 |
+
|
245 |
+
var opts = {};
|
246 |
+
|
247 |
+
if ($.isPlainObject(replot)) {
|
248 |
+
$.extend(true, opts, replot);
|
249 |
+
}
|
250 |
+
|
251 |
+
plot.replot(opts);
|
252 |
+
};
|
253 |
+
|
254 |
+
// called with scope of plot.
|
255 |
+
var postDraw = function () {
|
256 |
+
if (this.legend.renderer.constructor == $.jqplot.EnhancedPieLegendRenderer && this.legend.seriesToggle) {
|
257 |
+
var e = this.legend._elem.detach();
|
258 |
+
this.eventCanvas._elem.after(e);
|
259 |
+
}
|
260 |
+
};
|
261 |
+
})(jQuery);
|
assets/jqplot/plugins/jqplot.enhancedPieLegendRenderer.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){a.jqplot.EnhancedPieLegendRenderer=function(){a.jqplot.TableLegendRenderer.call(this)},a.jqplot.EnhancedPieLegendRenderer.prototype=new a.jqplot.TableLegendRenderer,a.jqplot.EnhancedPieLegendRenderer.prototype.constructor=a.jqplot.EnhancedPieLegendRenderer,a.jqplot.EnhancedPieLegendRenderer.prototype.init=function(b){this.numberRows=null,this.numberColumns=null,this.seriesToggle="normal",this.seriesToggleReplot=!1,this.disableIEFading=!0,this.toolTips=[],a.extend(!0,this,b),this.seriesToggle&&a.jqplot.postDrawHooks.push(c)},a.jqplot.EnhancedPieLegendRenderer.prototype.draw=function(c,d){if(this.show){var e,f=this._series,g="position:absolute;";g+=this.background?"background:"+this.background+";":"",g+=this.border?"border:"+this.border+";":"",g+=this.fontSize?"font-size:"+this.fontSize+";":"",g+=this.fontFamily?"font-family:"+this.fontFamily+";":"",g+=this.textColor?"color:"+this.textColor+";":"",g+=null!=this.marginTop?"margin-top:"+this.marginTop+";":"",g+=null!=this.marginBottom?"margin-bottom:"+this.marginBottom+";":"",g+=null!=this.marginLeft?"margin-left:"+this.marginLeft+";":"",g+=null!=this.marginRight?"margin-right:"+this.marginRight+";":"",this._elem=a('<table class="jqplot-table-legend" style="'+g+'"></table>'),this.seriesToggle&&this._elem.css("z-index","3");var h,i,j=!1,k=!1,e=f[0],l=e.data.length,m=new a.jqplot.ColorGenerator(e.seriesColors);this.numberRows?(h=this.numberRows,i=this.numberColumns?this.numberColumns:Math.ceil(l/h)):this.numberColumns?(i=this.numberColumns,h=Math.ceil(l/this.numberColumns)):(h=l,i=1);var n,o,p,q,r,s,t,u,v,w=0;for(n=f.length-1;n>=0;n--)(1==i&&f[n]._stack||f[n].renderer.constructor==a.jqplot.BezierCurveRenderer)&&(k=!0);for(n=0;n<h;n++){for(p=a(document.createElement("tr")),p.addClass("jqplot-table-legend"),k?p.prependTo(this._elem):p.appendTo(this._elem),o=0;o<i;o++){if(w<l&&(s=this.labels[w]||e.data[w][0].toString(),tt=this.toolTips[w],s)){var x=m.next();if(j=k?n!=h-1:n>0,t=j?this.rowSpacing:"0",q=a(document.createElement("td")),q.addClass("jqplot-table-legend jqplot-table-legend-swatch"),q.css({textAlign:"center",paddingTop:t}),u=a(document.createElement("div")),u.addClass("jqplot-table-legend-swatch-outline"),void 0!==tt&&u.attr("title",tt),v=a(document.createElement("div")),v.addClass("jqplot-table-legend-swatch"),v.css({backgroundColor:x,borderColor:x}),q.append(u.append(v)),r=a(document.createElement("td")),r.addClass("jqplot-table-legend jqplot-table-legend-label"),r.css("paddingTop",t),void 0!==tt&&r.attr("title",tt),this.escapeHtml?r.text(s):r.html(s),k?(this.showLabels&&r.prependTo(p),this.showSwatches&&q.prependTo(p)):(this.showSwatches&&q.appendTo(p),this.showLabels&&r.appendTo(p)),this.seriesToggle){var y;"string"!=typeof this.seriesToggle&&"number"!=typeof this.seriesToggle||a.jqplot.use_excanvas&&this.disableIEFading||(y=this.seriesToggle),this.showSwatches&&(q.bind("click",{series:e,index:w,speed:y,plot:d,replot:this.seriesToggleReplot},b),q.addClass("jqplot-seriesToggle")),this.showLabels&&(r.bind("click",{series:e,index:w,speed:y,plot:d,replot:this.seriesToggleReplot},b),r.addClass("jqplot-seriesToggle")),e.showSlice[w]===!1&&e.showLabel&&(q.addClass("jqplot-series-hidden"),r.addClass("jqplot-series-hidden"))}j=!0}w++}q=r=u=v=null}}return this._elem};var b=function(b){var c=b.data,d=c.replot,e=c.plot,f=c.index;c.series.showSlice[f]=c.series.showSlice[f]===!1;var g={};a.isPlainObject(d)&&a.extend(!0,g,d),e.replot(g)},c=function(){if(this.legend.renderer.constructor==a.jqplot.EnhancedPieLegendRenderer&&this.legend.seriesToggle){var b=this.legend._elem.detach();this.eventCanvas._elem.after(b)}}}(jQuery);
|
assets/jqplot/plugins/jqplot.highlighter.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
@@ -223,7 +223,18 @@
|
|
223 |
var alpha = (rgba[3] >= 0.6) ? rgba[3]*0.6 : rgba[3]*(2-rgba[3]);
|
224 |
mr.color = 'rgba('+newrgb[0]+','+newrgb[1]+','+newrgb[2]+','+alpha+')';
|
225 |
mr.init();
|
226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
}
|
228 |
|
229 |
function showTooltip(plot, series, neighbor) {
|
@@ -383,6 +394,14 @@
|
|
383 |
var y = gridpos.y + plot._gridPadding.top - opts.tooltipOffset - elem.outerHeight(true) - fact * ms;
|
384 |
break;
|
385 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
elem.css('left', x);
|
387 |
elem.css('top', y);
|
388 |
if (opts.fadeTooltip) {
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
223 |
var alpha = (rgba[3] >= 0.6) ? rgba[3]*0.6 : rgba[3]*(2-rgba[3]);
|
224 |
mr.color = 'rgba('+newrgb[0]+','+newrgb[1]+','+newrgb[2]+','+alpha+')';
|
225 |
mr.init();
|
226 |
+
var x_pos = s.gridData[neighbor.pointIndex][0];
|
227 |
+
var y_pos = s.gridData[neighbor.pointIndex][1];
|
228 |
+
// Adjusting with s._barNudge
|
229 |
+
if (s.renderer.constructor == $.jqplot.BarRenderer) {
|
230 |
+
if (s.barDirection == "vertical") {
|
231 |
+
x_pos += s._barNudge;
|
232 |
+
}
|
233 |
+
else {
|
234 |
+
y_pos -= s._barNudge;
|
235 |
+
}
|
236 |
+
}
|
237 |
+
mr.draw(x_pos, y_pos, hl.highlightCanvas._ctx);
|
238 |
}
|
239 |
|
240 |
function showTooltip(plot, series, neighbor) {
|
394 |
var y = gridpos.y + plot._gridPadding.top - opts.tooltipOffset - elem.outerHeight(true) - fact * ms;
|
395 |
break;
|
396 |
}
|
397 |
+
if (series.renderer.constructor == $.jqplot.BarRenderer) {
|
398 |
+
if (series.barDirection == 'vertical') {
|
399 |
+
x += series._barNudge;
|
400 |
+
}
|
401 |
+
else {
|
402 |
+
y -= series._barNudge;
|
403 |
+
}
|
404 |
+
}
|
405 |
elem.css('left', x);
|
406 |
elem.css('top', y);
|
407 |
if (opts.fadeTooltip) {
|
assets/jqplot/plugins/jqplot.highlighter.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){function b(b,c){var d=b.plugins.highlighter,e=b.series[c.seriesIndex],f=e.markerRenderer,g=d.markerRenderer;g.style=f.style,g.lineWidth=f.lineWidth+d.lineWidthAdjust,g.size=f.size+d.sizeAdjust;var h=a.jqplot.getColorComponents(f.color),i=[h[0],h[1],h[2]],j=h[3]>=.6?.6*h[3]:h[3]*(2-h[3]);g.color="rgba("+i[0]+","+i[1]+","+i[2]+","+j+")",g.init();var k=e.gridData[c.pointIndex][0],l=e.gridData[c.pointIndex][1];e.renderer.constructor==a.jqplot.BarRenderer&&("vertical"==e.barDirection?k+=e._barNudge:l-=e._barNudge),g.draw(k,l,d.highlightCanvas._ctx)}function c(b,c,d){var h=b.plugins.highlighter,i=h._tooltipElem,j=c.highlighter||{},k=a.extend(!0,{},h,j);if(k.useAxesFormatters){for(var l,m=c._xaxis._ticks[0].formatter,n=c._yaxis._ticks[0].formatter,o=c._xaxis._ticks[0].formatString,p=c._yaxis._ticks[0].formatString,q=m(o,d.data[0]),r=[],s=1;s<k.yvalues+1;s++)r.push(n(p,d.data[s]));if("string"==typeof k.formatString)switch(k.tooltipAxes){case"both":case"xy":r.unshift(q),r.unshift(k.formatString),l=a.jqplot.sprintf.apply(a.jqplot.sprintf,r);break;case"yx":r.push(q),r.unshift(k.formatString),l=a.jqplot.sprintf.apply(a.jqplot.sprintf,r);break;case"x":l=a.jqplot.sprintf.apply(a.jqplot.sprintf,[k.formatString,q]);break;case"y":r.unshift(k.formatString),l=a.jqplot.sprintf.apply(a.jqplot.sprintf,r);break;default:r.unshift(q),r.unshift(k.formatString),l=a.jqplot.sprintf.apply(a.jqplot.sprintf,r)}else switch(k.tooltipAxes){case"both":case"xy":l=q;for(var s=0;s<r.length;s++)l+=k.tooltipSeparator+r[s];break;case"yx":l="";for(var s=0;s<r.length;s++)l+=r[s]+k.tooltipSeparator;l+=q;break;case"x":l=q;break;case"y":l=r.join(k.tooltipSeparator);break;default:l=q;for(var s=0;s<r.length;s++)l+=k.tooltipSeparator+r[s]}}else{var l;"string"==typeof k.formatString?l=a.jqplot.sprintf.apply(a.jqplot.sprintf,[k.formatString].concat(d.data)):"both"==k.tooltipAxes||"xy"==k.tooltipAxes?l=a.jqplot.sprintf(k.tooltipFormatString,d.data[0])+k.tooltipSeparator+a.jqplot.sprintf(k.tooltipFormatString,d.data[1]):"yx"==k.tooltipAxes?l=a.jqplot.sprintf(k.tooltipFormatString,d.data[1])+k.tooltipSeparator+a.jqplot.sprintf(k.tooltipFormatString,d.data[0]):"x"==k.tooltipAxes?l=a.jqplot.sprintf(k.tooltipFormatString,d.data[0]):"y"==k.tooltipAxes&&(l=a.jqplot.sprintf(k.tooltipFormatString,d.data[1]))}a.isFunction(k.tooltipContentEditor)&&(l=k.tooltipContentEditor(l,d.seriesIndex,d.pointIndex,b)),i.html(l);var t={x:d.gridData[0],y:d.gridData[1]},u=0,v=.707;1==c.markerRenderer.show&&(u=(c.markerRenderer.size+k.sizeAdjust)/2);var w=e;switch(c.fillToZero&&c.fill&&d.data[1]<0&&(w=g),w[f[k.tooltipLocation]]){case"nw":var x=t.x+b._gridPadding.left-i.outerWidth(!0)-k.tooltipOffset-v*u,y=t.y+b._gridPadding.top-k.tooltipOffset-i.outerHeight(!0)-v*u;break;case"n":var x=t.x+b._gridPadding.left-i.outerWidth(!0)/2,y=t.y+b._gridPadding.top-k.tooltipOffset-i.outerHeight(!0)-u;break;case"ne":var x=t.x+b._gridPadding.left+k.tooltipOffset+v*u,y=t.y+b._gridPadding.top-k.tooltipOffset-i.outerHeight(!0)-v*u;break;case"e":var x=t.x+b._gridPadding.left+k.tooltipOffset+u,y=t.y+b._gridPadding.top-i.outerHeight(!0)/2;break;case"se":var x=t.x+b._gridPadding.left+k.tooltipOffset+v*u,y=t.y+b._gridPadding.top+k.tooltipOffset+v*u;break;case"s":var x=t.x+b._gridPadding.left-i.outerWidth(!0)/2,y=t.y+b._gridPadding.top+k.tooltipOffset+u;break;case"sw":var x=t.x+b._gridPadding.left-i.outerWidth(!0)-k.tooltipOffset-v*u,y=t.y+b._gridPadding.top+k.tooltipOffset+v*u;break;case"w":var x=t.x+b._gridPadding.left-i.outerWidth(!0)-k.tooltipOffset-u,y=t.y+b._gridPadding.top-i.outerHeight(!0)/2;break;default:var x=t.x+b._gridPadding.left-i.outerWidth(!0)-k.tooltipOffset-v*u,y=t.y+b._gridPadding.top-k.tooltipOffset-i.outerHeight(!0)-v*u}c.renderer.constructor==a.jqplot.BarRenderer&&("vertical"==c.barDirection?x+=c._barNudge:y-=c._barNudge),i.css("left",x),i.css("top",y),k.fadeTooltip?i.stop(!0,!0).fadeIn(k.tooltipFadeSpeed):i.show(),i=null}function d(a,d,e,f,g){var h=g.plugins.highlighter,i=g.plugins.cursor;if(h.show)if(null==f&&h.isHighlighting){var j=jQuery.Event("jqplotHighlighterUnhighlight");g.target.trigger(j);var k=h.highlightCanvas._ctx;k.clearRect(0,0,k.canvas.width,k.canvas.height),h.fadeTooltip?h._tooltipElem.fadeOut(h.tooltipFadeSpeed):h._tooltipElem.hide(),h.bringSeriesToFront&&g.restorePreviousSeriesOrder(),h.isHighlighting=!1,h.currentNeighbor=null,k=null}else if(null!=f&&g.series[f.seriesIndex].showHighlight&&!h.isHighlighting){var j=jQuery.Event("jqplotHighlighterHighlight");j.which=a.which,j.pageX=a.pageX,j.pageY=a.pageY;var l=[f.seriesIndex,f.pointIndex,f.data,g];g.target.trigger(j,l),h.isHighlighting=!0,h.currentNeighbor=f,h.showMarker&&b(g,f),!g.series[f.seriesIndex].show||!h.showTooltip||i&&i._zoom.started||c(g,g.series[f.seriesIndex],f),h.bringSeriesToFront&&g.moveSeriesToFront(f.seriesIndex)}else if(null!=f&&h.isHighlighting&&h.currentNeighbor!=f&&g.series[f.seriesIndex].showHighlight){var k=h.highlightCanvas._ctx;k.clearRect(0,0,k.canvas.width,k.canvas.height),h.isHighlighting=!0,h.currentNeighbor=f,h.showMarker&&b(g,f),!g.series[f.seriesIndex].show||!h.showTooltip||i&&i._zoom.started||c(g,g.series[f.seriesIndex],f),h.bringSeriesToFront&&g.moveSeriesToFront(f.seriesIndex)}}a.jqplot.eventListenerHooks.push(["jqplotMouseMove",d]),a.jqplot.Highlighter=function(b){this.show=a.jqplot.config.enablePlugins,this.markerRenderer=new a.jqplot.MarkerRenderer({shadow:!1}),this.showMarker=!0,this.lineWidthAdjust=2.5,this.sizeAdjust=5,this.showTooltip=!0,this.tooltipLocation="nw",this.fadeTooltip=!0,this.tooltipFadeSpeed="fast",this.tooltipOffset=2,this.tooltipAxes="both",this.tooltipSeparator=", ",this.tooltipContentEditor=null,this.useAxesFormatters=!0,this.tooltipFormatString="%.5P",this.formatString=null,this.yvalues=1,this.bringSeriesToFront=!1,this._tooltipElem,this.isHighlighting=!1,this.currentNeighbor=null,a.extend(!0,this,b)};var e=["nw","n","ne","e","se","s","sw","w"],f={nw:0,n:1,ne:2,e:3,se:4,s:5,sw:6,w:7},g=["se","s","sw","w","nw","n","ne","e"];a.jqplot.Highlighter.init=function(b,c,d){var e=d||{};this.plugins.highlighter=new a.jqplot.Highlighter(e.highlighter)},a.jqplot.Highlighter.parseOptions=function(a,b){this.showHighlight=!0},a.jqplot.Highlighter.postPlotDraw=function(){this.plugins.highlighter&&this.plugins.highlighter.highlightCanvas&&(this.plugins.highlighter.highlightCanvas.resetCanvas(),this.plugins.highlighter.highlightCanvas=null),this.plugins.highlighter&&this.plugins.highlighter._tooltipElem&&(this.plugins.highlighter._tooltipElem.emptyForce(),this.plugins.highlighter._tooltipElem=null),this.plugins.highlighter.highlightCanvas=new a.jqplot.GenericCanvas,this.eventCanvas._elem.before(this.plugins.highlighter.highlightCanvas.createElement(this._gridPadding,"jqplot-highlight-canvas",this._plotDimensions,this)),this.plugins.highlighter.highlightCanvas.setContext();var b=document.createElement("div");this.plugins.highlighter._tooltipElem=a(b),b=null,this.plugins.highlighter._tooltipElem.addClass("jqplot-highlighter-tooltip"),this.plugins.highlighter._tooltipElem.css({position:"absolute",display:"none"}),this.eventCanvas._elem.before(this.plugins.highlighter._tooltipElem)},a.jqplot.preInitHooks.push(a.jqplot.Highlighter.init),a.jqplot.preParseSeriesOptionsHooks.push(a.jqplot.Highlighter.parseOptions),a.jqplot.postDrawHooks.push(a.jqplot.Highlighter.postPlotDraw)}(jQuery);
|
assets/jqplot/plugins/jqplot.pieRenderer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
-
* Revision:
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
3 |
* Pure JavaScript plotting plugin using jQuery
|
4 |
*
|
5 |
* Version: 1.0.9
|
6 |
+
* Revision: c465c44
|
7 |
*
|
8 |
* Copyright (c) 2009-2016 Chris Leonello
|
9 |
* jqPlot is currently available for use in all personal or commercial projects
|
assets/jqplot/plugins/jqplot.pieRenderer.min.js
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
!function(e){function t(e){return Math.sin((e-(e-Math.PI)/8/Math.PI)/2)}function i(e,i,s,r,n){var a=0,h=i-e,l=Math.abs(h),o=s;return 0==r&&(o+=n),o>0&&l>.01&&l<6.282&&(a=parseFloat(o)/2/t(h)),a}function s(t,i,s){s=s||{},s.axesDefaults=s.axesDefaults||{},s.legend=s.legend||{},s.seriesDefaults=s.seriesDefaults||{};var r=!1;if(s.seriesDefaults.renderer==e.jqplot.PieRenderer)r=!0;else if(s.series)for(var n=0;n<s.series.length;n++)s.series[n].renderer==e.jqplot.PieRenderer&&(r=!0);r&&(s.axesDefaults.renderer=e.jqplot.PieAxisRenderer,s.legend.renderer=s.legend.renderer||e.jqplot.PieLegendRenderer,s.legend.preDraw=!0,s.seriesDefaults.pointLabels={show:!1})}function r(t,i,s){for(var r=0;r<this.series.length;r++)this.series[r].renderer.constructor==e.jqplot.PieRenderer&&this.series[r].highlightMouseOver&&(this.series[r].highlightMouseDown=!1)}function n(t){for(var i=0;i<this.series.length;i++)this.series[i].seriesColors=this.seriesColors,this.series[i].colorGenerator=e.jqplot.colorGenerator}function a(e,t,i){if(e.series[t].showSlice[i]){var s=e.series[t],r=e.plugins.pieRenderer.highlightCanvas;r._ctx.clearRect(0,0,r._ctx.canvas.width,r._ctx.canvas.height),s._highlightedPoint=i,e.plugins.pieRenderer.highlightedSeriesIndex=t,s.renderer.drawSlice.call(s,r._ctx,s._sliceAngles[i][0],s._sliceAngles[i][1],s.highlightColorGenerator.get(i),!1)}}function h(e){var t=e.plugins.pieRenderer.highlightCanvas;t._ctx.clearRect(0,0,t._ctx.canvas.width,t._ctx.canvas.height);for(var i=0;i<e.series.length;i++)e.series[i]._highlightedPoint=null;e.plugins.pieRenderer.highlightedSeriesIndex=null,e.target.trigger("jqplotDataUnhighlight")}function l(e,t,i,s,r){if(s){var n=[s.seriesIndex,s.pointIndex,s.data],l=jQuery.Event("jqplotDataMouseOver");if(l.pageX=e.pageX,l.pageY=e.pageY,r.target.trigger(l,n),r.series[n[0]].highlightMouseOver&&(n[0]!=r.plugins.pieRenderer.highlightedSeriesIndex||n[1]!=r.series[n[0]]._highlightedPoint)){var o=jQuery.Event("jqplotDataHighlight");o.which=e.which,o.pageX=e.pageX,o.pageY=e.pageY,r.target.trigger(o,n),a(r,n[0],n[1])}}else null==s&&h(r)}function o(e,t,i,s,r){if(s){var n=[s.seriesIndex,s.pointIndex,s.data];if(r.series[n[0]].highlightMouseDown&&(n[0]!=r.plugins.pieRenderer.highlightedSeriesIndex||n[1]!=r.series[n[0]]._highlightedPoint)){var l=jQuery.Event("jqplotDataHighlight");l.which=e.which,l.pageX=e.pageX,l.pageY=e.pageY,r.target.trigger(l,n),a(r,n[0],n[1])}}else null==s&&h(r)}function d(e,t,i,s,r){var n=r.plugins.pieRenderer.highlightedSeriesIndex;null!=n&&r.series[n].highlightMouseDown&&h(r)}function g(e,t,i,s,r){if(s){var n=[s.seriesIndex,s.pointIndex,s.data],a=jQuery.Event("jqplotDataClick");a.which=e.which,a.pageX=e.pageX,a.pageY=e.pageY,r.target.trigger(a,n)}}function p(e,t,i,s,r){if(s){var n=[s.seriesIndex,s.pointIndex,s.data],a=r.plugins.pieRenderer.highlightedSeriesIndex;null!=a&&r.series[a].highlightMouseDown&&h(r);var l=jQuery.Event("jqplotDataRightClick");l.which=e.which,l.pageX=e.pageX,l.pageY=e.pageY,r.target.trigger(l,n)}}function c(){this.plugins.pieRenderer&&this.plugins.pieRenderer.highlightCanvas&&(this.plugins.pieRenderer.highlightCanvas.resetCanvas(),this.plugins.pieRenderer.highlightCanvas=null),this.plugins.pieRenderer={highlightedSeriesIndex:null},this.plugins.pieRenderer.highlightCanvas=new e.jqplot.GenericCanvas;var t=e(this.targetId+" .jqplot-data-label");t.length?e(t[0]).before(this.plugins.pieRenderer.highlightCanvas.createElement(this._gridPadding,"jqplot-pieRenderer-highlight-canvas",this._plotDimensions,this)):this.eventCanvas._elem.before(this.plugins.pieRenderer.highlightCanvas.createElement(this._gridPadding,"jqplot-pieRenderer-highlight-canvas",this._plotDimensions,this));this.plugins.pieRenderer.highlightCanvas.setContext();this.eventCanvas._elem.bind("mouseleave",{plot:this},function(e){h(e.data.plot)})}e.jqplot.PieRenderer=function(){e.jqplot.LineRenderer.call(this)},e.jqplot.PieRenderer.prototype=new e.jqplot.LineRenderer,e.jqplot.PieRenderer.prototype.constructor=e.jqplot.PieRenderer,e.jqplot.PieRenderer.prototype.init=function(t,i){if(this.diameter=null,this.padding=20,this.sliceMargin=0,this.fill=!0,this.shadowOffset=2,this.shadowAlpha=.07,this.shadowDepth=5,this.highlightMouseOver=!0,this.highlightMouseDown=!1,this.highlightColors=[],this.dataLabels="percent",this.showDataLabels=!1,this.dataLabelFormatString=null,this.dataLabelThreshold=3,this.dataLabelPositionFactor=.52,this.dataLabelNudge=2,this.dataLabelCenterOn=!0,this.startAngle=0,this.tickRenderer=e.jqplot.PieTickRenderer,this.showSlice=[],this._drawData=!0,this._type="pie",t.highlightMouseDown&&null==t.highlightMouseOver&&(t.highlightMouseOver=!1),e.extend(!0,this,t),this.sliceMargin<0&&(this.sliceMargin=0),this._diameter=null,this._radius=null,this._sliceAngles=[],this._highlightedPoint=null,0==this.highlightColors.length)for(var s=0;s<this.seriesColors.length;s++){for(var a=e.jqplot.getColorComponents(this.seriesColors[s]),h=[a[0],a[1],a[2]],u=h[0]+h[1]+h[2],f=0;f<3;f++)h[f]=u>570?.8*h[f]:h[f]+.3*(255-h[f]),h[f]=parseInt(h[f],10);this.highlightColors.push("rgb("+h[0]+","+h[1]+","+h[2]+")")}this.highlightColorGenerator=new e.jqplot.ColorGenerator(this.highlightColors),i.postParseOptionsHooks.addOnce(n),i.postInitHooks.addOnce(r),i.eventListenerHooks.addOnce("jqplotMouseMove",l),i.eventListenerHooks.addOnce("jqplotMouseDown",o),i.eventListenerHooks.addOnce("jqplotMouseUp",d),i.eventListenerHooks.addOnce("jqplotClick",g),i.eventListenerHooks.addOnce("jqplotRightClick",p),i.postDrawHooks.addOnce(c)},e.jqplot.PieRenderer.prototype.setGridData=function(e){var t=[],i=[],s=(this.startAngle/180*Math.PI,0);this._drawData=!1;for(var r=0;r<this.data.length;r++)0!=this.data[r][1]&&(this._drawData=!0,void 0===this.showSlice[r]&&(this.showSlice[r]=!0)),t.push(this.data[r][1]),i.push([this.data[r][0]]),r>0&&(t[r]+=t[r-1]),s+=this.data[r][1];for(var n=2*Math.PI/t[t.length-1],r=0;r<t.length;r++)i[r][1]=t[r]*n,i[r][2]=this.data[r][1]/s;this.gridData=i},e.jqplot.PieRenderer.prototype.makeGridData=function(e,t){var i=[],s=[],r=0;this.startAngle/180*Math.PI;this._drawData=!1;for(var n=0;n<e.length;n++)0!=this.data[n][1]&&(this._drawData=!0),i.push(e[n][1]),s.push([e[n][0]]),n>0&&(i[n]+=i[n-1]),r+=e[n][1];for(var a=2*Math.PI/i[i.length-1],n=0;n<i.length;n++)s[n][1]=i[n]*a,s[n][2]=e[n][1]/r;return s},e.jqplot.PieRenderer.prototype.drawSlice=function(e,t,s,r,n){function a(i){s>6.282+this.startAngle&&(s=6.282+this.startAngle,t>s&&(t=6.281+this.startAngle)),t>=s||(e.beginPath(),e.fillStyle=r,e.strokeStyle=r,e.lineWidth=o,e.arc(0,0,i,t,s,!1),e.lineTo(0,0),e.closePath(),l?e.fill():e.stroke())}if(this._drawData){var h=this._radius,l=this.fill,o=this.lineWidth,d=this.sliceMargin;0==this.fill&&(d+=this.lineWidth),e.save(),e.translate(this._center[0],this._center[1]);var g=i(t,s,this.sliceMargin,this.fill,this.lineWidth),p=g*Math.cos((t+s)/2),c=g*Math.sin((t+s)/2);if(s-t<=Math.PI?h-=g:h+=g,e.translate(p,c),n){for(var u=0,f=this.shadowDepth;u<f;u++)e.save(),e.translate(this.shadowOffset*Math.cos(this.shadowAngle/180*Math.PI),this.shadowOffset*Math.sin(this.shadowAngle/180*Math.PI)),a(h);for(var u=0,f=this.shadowDepth;u<f;u++)e.restore()}else a(h);e.restore()}},e.jqplot.PieRenderer.prototype.draw=function(t,s,r,n){var a,h,l=void 0!=r?r:{},o=0,d=0,g=1,p=new e.jqplot.ColorGenerator(this.seriesColors);if(r.legendInfo&&"insideGrid"==r.legendInfo.placement){var c=r.legendInfo;switch(c.location){case"nw":o=c.width+c.xoffset;break;case"w":o=c.width+c.xoffset;break;case"sw":o=c.width+c.xoffset;break;case"ne":o=c.width+c.xoffset,g=-1;break;case"e":o=c.width+c.xoffset,g=-1;break;case"se":o=c.width+c.xoffset,g=-1;break;case"n":d=c.height+c.yoffset;break;case"s":d=c.height+c.yoffset,g=-1}}var u=(void 0!=l.shadow?l.shadow:this.shadow,void 0!=l.fill?l.fill:this.fill,parseInt(t.canvas.style.width)),f=parseInt(t.canvas.style.height),v=u-o-2*this.padding,w=f-d-2*this.padding,m=Math.min(v,w),j=m;this._sliceAngles=[];var q=this.sliceMargin;0==this.fill&&(q+=this.lineWidth);for(var b,R,_,x,M=0,P=this.startAngle/180*Math.PI,a=0,C=s.length;a<C;a++)R=0==a?P:s[a-1][1]+P,_=s[a][1]+P,this._sliceAngles.push([R,_]),b=i(R,_,this.sliceMargin,this.fill,this.lineWidth),Math.abs(_-R)>Math.PI&&(M=Math.max(b,M));if(null!=this.diameter&&this.diameter>0?this._diameter=this.diameter-2*M:this._diameter=j-2*M,this._diameter<6)return void e.jqplot.log("Diameter of pie too small, not rendering.");this._radius=this._diameter/2;if(this._center=[(u-g*o)/2+g*o+M*Math.cos(P),(f-g*d)/2+g*d+M*Math.sin(P)],this.shadow)for(var a=0,C=s.length;a<C;a++)x="rgba(0,0,0,"+this.shadowAlpha+")",this.renderer.drawSlice.call(this,t,this._sliceAngles[a][0],this._sliceAngles[a][1],x,!0);for(var a=0;a<s.length;a++)if(h=p.next(),this.showSlice[a]&&(this.renderer.drawSlice.call(this,t,this._sliceAngles[a][0],this._sliceAngles[a][1],h,!1),this.showDataLabels&&100*s[a][2]>=this.dataLabelThreshold)){var L,D,k=(this._sliceAngles[a][0]+this._sliceAngles[a][1])/2;"label"==this.dataLabels?(L=this.dataLabelFormatString||"%s",D=e.jqplot.sprintf(L,s[a][0])):"value"==this.dataLabels?(L=this.dataLabelFormatString||"%d",D=e.jqplot.sprintf(L,this.data[a][1])):"percent"==this.dataLabels?(L=this.dataLabelFormatString||"%d%%",D=e.jqplot.sprintf(L,100*s[a][2])):this.dataLabels.constructor==Array&&(L=this.dataLabelFormatString||"%s",D=e.jqplot.sprintf(L,this.dataLabels[a]));var I=this._radius*this.dataLabelPositionFactor+this.sliceMargin+this.dataLabelNudge,y=this._center[0]+Math.cos(k)*I+this.canvas._offsets.left,A=this._center[1]+Math.sin(k)*I+this.canvas._offsets.top,S=e('<div class="jqplot-pie-series jqplot-data-label" style="position:absolute;">'+D+"</div>").insertBefore(n.eventCanvas._elem);this.dataLabelCenterOn?(y-=S.width()/2,A-=S.height()/2):(y-=S.width()*Math.sin(k/2),A-=S.height()/2),y=Math.round(y),A=Math.round(A),S.css({left:y,top:A})}},e.jqplot.PieAxisRenderer=function(){e.jqplot.LinearAxisRenderer.call(this)},e.jqplot.PieAxisRenderer.prototype=new e.jqplot.LinearAxisRenderer,e.jqplot.PieAxisRenderer.prototype.constructor=e.jqplot.PieAxisRenderer,e.jqplot.PieAxisRenderer.prototype.init=function(t){this.tickRenderer=e.jqplot.PieTickRenderer,e.extend(!0,this,t),this._dataBounds={min:0,max:100},this.min=0,this.max=100,this.showTicks=!1,this.ticks=[],this.showMark=!1,this.show=!1},e.jqplot.PieLegendRenderer=function(){e.jqplot.TableLegendRenderer.call(this)},e.jqplot.PieLegendRenderer.prototype=new e.jqplot.TableLegendRenderer,e.jqplot.PieLegendRenderer.prototype.constructor=e.jqplot.PieLegendRenderer,e.jqplot.PieLegendRenderer.prototype.init=function(t){this.numberRows=null,this.numberColumns=null,this.width=null,e.extend(!0,this,t)},e.jqplot.PieLegendRenderer.prototype.draw=function(){if(this.show){var t=this._series;this._elem=e(document.createElement("table")),this._elem.addClass("jqplot-table-legend");var i={position:"absolute"};this.background&&(i.background=this.background),this.border&&(i.border=this.border),this.fontSize&&(i.fontSize=this.fontSize),this.fontFamily&&(i.fontFamily=this.fontFamily),this.textColor&&(i.textColor=this.textColor),null!=this.marginTop&&(i.marginTop=this.marginTop),null!=this.marginBottom&&(i.marginBottom=this.marginBottom),null!=this.marginLeft&&(i.marginLeft=this.marginLeft),null!=this.marginRight&&(i.marginRight=this.marginRight),this._elem.css(i);var s,r,n=!1,a=!1,h=t[0],l=new e.jqplot.ColorGenerator(h.seriesColors);if(h.show){var o=h.data;this.numberRows?(s=this.numberRows,r=this.numberColumns?this.numberColumns:Math.ceil(o.length/s)):this.numberColumns?(r=this.numberColumns,s=Math.ceil(o.length/this.numberColumns)):(s=o.length,r=1);var d,g,p,c,u,f,v,w,m,j,q,b=0;for(d=0;d<s;d++)for(p=e(document.createElement("tr")),p.addClass("jqplot-table-legend"),a?p.prependTo(this._elem):p.appendTo(this._elem),g=0;g<r;g++)b<o.length&&(v="",this.labels[b]?f=this.labels[b]:"object"==typeof o[b][0]?(f=o[b][0][0].toString(),v=o[b][0][1].toString()):f=o[b][0].toString(),m=l.next(),n=a?d!=s-1:d>0,w=n?this.rowSpacing:"0",c=e(document.createElement("td")),c.addClass("jqplot-table-legend jqplot-table-legend-swatch"),c.css({textAlign:"center",paddingTop:w}),j=e(document.createElement("div")),j.addClass("jqplot-table-legend-swatch-outline"),""!==v&&j.attr("title",v),q=e(document.createElement("div")),q.addClass("jqplot-table-legend-swatch"),q.css({backgroundColor:m,borderColor:m}),c.append(j.append(q)),u=e(document.createElement("td")),u.addClass("jqplot-table-legend jqplot-table-legend-label"),u.css("paddingTop",w),this.escapeHtml?u.text(f):u.html('<a title="'+v+'">'+f+"</a>"),a?(u.prependTo(p),c.prependTo(p)):(c.appendTo(p),u.appendTo(p)),n=!0),b++}}return this._elem},e.jqplot.PieRenderer.prototype.handleMove=function(e,t,i,s,r){if(s){var n=[s.seriesIndex,s.pointIndex,s.data];r.target.trigger("jqplotDataMouseOver",n),!r.series[n[0]].highlightMouseOver||n[0]==r.plugins.pieRenderer.highlightedSeriesIndex&&n[1]==r.series[n[0]]._highlightedPoint||(r.target.trigger("jqplotDataHighlight",n),a(r,n[0],n[1]))}else null==s&&h(r)},e.jqplot.preInitHooks.push(s),e.jqplot.PieTickRenderer=function(){e.jqplot.AxisTickRenderer.call(this)},e.jqplot.PieTickRenderer.prototype=new e.jqplot.AxisTickRenderer,e.jqplot.PieTickRenderer.prototype.constructor=e.jqplot.PieTickRenderer}(jQuery);
|
|
|
|
|
|
1 |
+
/* jqplot 1.0.9 | (c) 2009-2016 Chris Leonello | jqplot.com
|
2 |
+
jsDate | (c) 2010-2016 Chris Leonello
|
3 |
+
*/
|
4 |
+
!function(a){function b(a){return Math.sin((a-(a-Math.PI)/8/Math.PI)/2)}function c(a,c,d,e,f){var g=0,h=c-a,i=Math.abs(h),j=d;return 0==e&&(j+=f),j>0&&i>.01&&i<6.282&&(g=parseFloat(j)/2/b(h)),g}function d(b,c,d){d=d||{},d.axesDefaults=d.axesDefaults||{},d.legend=d.legend||{},d.seriesDefaults=d.seriesDefaults||{};var e=!1;if(d.seriesDefaults.renderer==a.jqplot.PieRenderer)e=!0;else if(d.series)for(var f=0;f<d.series.length;f++)d.series[f].renderer==a.jqplot.PieRenderer&&(e=!0);e&&(d.axesDefaults.renderer=a.jqplot.PieAxisRenderer,d.legend.renderer=d.legend.renderer||a.jqplot.PieLegendRenderer,d.legend.preDraw=!0,d.seriesDefaults.pointLabels={show:!1})}function e(b,c,d){for(var e=0;e<this.series.length;e++)this.series[e].renderer.constructor==a.jqplot.PieRenderer&&this.series[e].highlightMouseOver&&(this.series[e].highlightMouseDown=!1)}function f(b){for(var c=0;c<this.series.length;c++)this.series[c].seriesColors=this.seriesColors,this.series[c].colorGenerator=a.jqplot.colorGenerator}function g(a,b,c){if(a.series[b].showSlice[c]){var d=a.series[b],e=a.plugins.pieRenderer.highlightCanvas;e._ctx.clearRect(0,0,e._ctx.canvas.width,e._ctx.canvas.height),d._highlightedPoint=c,a.plugins.pieRenderer.highlightedSeriesIndex=b,d.renderer.drawSlice.call(d,e._ctx,d._sliceAngles[c][0],d._sliceAngles[c][1],d.highlightColorGenerator.get(c),!1)}}function h(a){var b=a.plugins.pieRenderer.highlightCanvas;b._ctx.clearRect(0,0,b._ctx.canvas.width,b._ctx.canvas.height);for(var c=0;c<a.series.length;c++)a.series[c]._highlightedPoint=null;a.plugins.pieRenderer.highlightedSeriesIndex=null,a.target.trigger("jqplotDataUnhighlight")}function i(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],i=jQuery.Event("jqplotDataMouseOver");if(i.pageX=a.pageX,i.pageY=a.pageY,e.target.trigger(i,f),e.series[f[0]].highlightMouseOver&&(f[0]!=e.plugins.pieRenderer.highlightedSeriesIndex||f[1]!=e.series[f[0]]._highlightedPoint)){var j=jQuery.Event("jqplotDataHighlight");j.which=a.which,j.pageX=a.pageX,j.pageY=a.pageY,e.target.trigger(j,f),g(e,f[0],f[1])}}else null==d&&h(e)}function j(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data];if(e.series[f[0]].highlightMouseDown&&(f[0]!=e.plugins.pieRenderer.highlightedSeriesIndex||f[1]!=e.series[f[0]]._highlightedPoint)){var i=jQuery.Event("jqplotDataHighlight");i.which=a.which,i.pageX=a.pageX,i.pageY=a.pageY,e.target.trigger(i,f),g(e,f[0],f[1])}}else null==d&&h(e)}function k(a,b,c,d,e){var f=e.plugins.pieRenderer.highlightedSeriesIndex;null!=f&&e.series[f].highlightMouseDown&&h(e)}function l(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=jQuery.Event("jqplotDataClick");g.which=a.which,g.pageX=a.pageX,g.pageY=a.pageY,e.target.trigger(g,f)}}function m(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data],g=e.plugins.pieRenderer.highlightedSeriesIndex;null!=g&&e.series[g].highlightMouseDown&&h(e);var i=jQuery.Event("jqplotDataRightClick");i.which=a.which,i.pageX=a.pageX,i.pageY=a.pageY,e.target.trigger(i,f)}}function n(){this.plugins.pieRenderer&&this.plugins.pieRenderer.highlightCanvas&&(this.plugins.pieRenderer.highlightCanvas.resetCanvas(),this.plugins.pieRenderer.highlightCanvas=null),this.plugins.pieRenderer={highlightedSeriesIndex:null},this.plugins.pieRenderer.highlightCanvas=new a.jqplot.GenericCanvas;var b=a(this.targetId+" .jqplot-data-label");b.length?a(b[0]).before(this.plugins.pieRenderer.highlightCanvas.createElement(this._gridPadding,"jqplot-pieRenderer-highlight-canvas",this._plotDimensions,this)):this.eventCanvas._elem.before(this.plugins.pieRenderer.highlightCanvas.createElement(this._gridPadding,"jqplot-pieRenderer-highlight-canvas",this._plotDimensions,this));this.plugins.pieRenderer.highlightCanvas.setContext();this.eventCanvas._elem.bind("mouseleave",{plot:this},function(a){h(a.data.plot)})}a.jqplot.PieRenderer=function(){a.jqplot.LineRenderer.call(this)},a.jqplot.PieRenderer.prototype=new a.jqplot.LineRenderer,a.jqplot.PieRenderer.prototype.constructor=a.jqplot.PieRenderer,a.jqplot.PieRenderer.prototype.init=function(b,c){if(this.diameter=null,this.padding=20,this.sliceMargin=0,this.fill=!0,this.shadowOffset=2,this.shadowAlpha=.07,this.shadowDepth=5,this.highlightMouseOver=!0,this.highlightMouseDown=!1,this.highlightColors=[],this.dataLabels="percent",this.showDataLabels=!1,this.dataLabelFormatString=null,this.dataLabelThreshold=3,this.dataLabelPositionFactor=.52,this.dataLabelNudge=2,this.dataLabelCenterOn=!0,this.startAngle=0,this.tickRenderer=a.jqplot.PieTickRenderer,this.showSlice=[],this._drawData=!0,this._type="pie",b.highlightMouseDown&&null==b.highlightMouseOver&&(b.highlightMouseOver=!1),a.extend(!0,this,b),this.sliceMargin<0&&(this.sliceMargin=0),this._diameter=null,this._radius=null,this._sliceAngles=[],this._highlightedPoint=null,0==this.highlightColors.length)for(var d=0;d<this.seriesColors.length;d++){for(var g=a.jqplot.getColorComponents(this.seriesColors[d]),h=[g[0],g[1],g[2]],o=h[0]+h[1]+h[2],p=0;p<3;p++)h[p]=o>570?.8*h[p]:h[p]+.3*(255-h[p]),h[p]=parseInt(h[p],10);this.highlightColors.push("rgb("+h[0]+","+h[1]+","+h[2]+")")}this.highlightColorGenerator=new a.jqplot.ColorGenerator(this.highlightColors),c.postParseOptionsHooks.addOnce(f),c.postInitHooks.addOnce(e),c.eventListenerHooks.addOnce("jqplotMouseMove",i),c.eventListenerHooks.addOnce("jqplotMouseDown",j),c.eventListenerHooks.addOnce("jqplotMouseUp",k),c.eventListenerHooks.addOnce("jqplotClick",l),c.eventListenerHooks.addOnce("jqplotRightClick",m),c.postDrawHooks.addOnce(n)},a.jqplot.PieRenderer.prototype.setGridData=function(a){var b=[],c=[],d=(this.startAngle/180*Math.PI,0);this._drawData=!1;for(var e=0;e<this.data.length;e++)0!=this.data[e][1]&&(this._drawData=!0,void 0===this.showSlice[e]&&(this.showSlice[e]=!0)),b.push(this.data[e][1]),c.push([this.data[e][0]]),e>0&&(b[e]+=b[e-1]),d+=this.data[e][1];for(var f=2*Math.PI/b[b.length-1],e=0;e<b.length;e++)c[e][1]=b[e]*f,c[e][2]=this.data[e][1]/d;this.gridData=c},a.jqplot.PieRenderer.prototype.makeGridData=function(a,b){var c=[],d=[],e=0;this.startAngle/180*Math.PI;this._drawData=!1;for(var f=0;f<a.length;f++)0!=this.data[f][1]&&(this._drawData=!0),c.push(a[f][1]),d.push([a[f][0]]),f>0&&(c[f]+=c[f-1]),e+=a[f][1];for(var g=2*Math.PI/c[c.length-1],f=0;f<c.length;f++)d[f][1]=c[f]*g,d[f][2]=a[f][1]/e;return d},a.jqplot.PieRenderer.prototype.drawSlice=function(a,b,d,e,f){function g(c){d>6.282+this.startAngle&&(d=6.282+this.startAngle,b>d&&(b=6.281+this.startAngle)),b>=d||(a.beginPath(),a.fillStyle=e,a.strokeStyle=e,a.lineWidth=j,a.arc(0,0,c,b,d,!1),a.lineTo(0,0),a.closePath(),i?a.fill():a.stroke())}if(this._drawData){var h=this._radius,i=this.fill,j=this.lineWidth,k=this.sliceMargin;0==this.fill&&(k+=this.lineWidth),a.save(),a.translate(this._center[0],this._center[1]);var l=c(b,d,this.sliceMargin,this.fill,this.lineWidth),m=l*Math.cos((b+d)/2),n=l*Math.sin((b+d)/2);if(d-b<=Math.PI?h-=l:h+=l,a.translate(m,n),f){for(var o=0,p=this.shadowDepth;o<p;o++)a.save(),a.translate(this.shadowOffset*Math.cos(this.shadowAngle/180*Math.PI),this.shadowOffset*Math.sin(this.shadowAngle/180*Math.PI)),g(h);for(var o=0,p=this.shadowDepth;o<p;o++)a.restore()}else g(h);a.restore()}},a.jqplot.PieRenderer.prototype.draw=function(b,d,e,f){var g,h,i=void 0!=e?e:{},j=0,k=0,l=1,m=new a.jqplot.ColorGenerator(this.seriesColors);if(e.legendInfo&&"insideGrid"==e.legendInfo.placement){var n=e.legendInfo;switch(n.location){case"nw":j=n.width+n.xoffset;break;case"w":j=n.width+n.xoffset;break;case"sw":j=n.width+n.xoffset;break;case"ne":j=n.width+n.xoffset,l=-1;break;case"e":j=n.width+n.xoffset,l=-1;break;case"se":j=n.width+n.xoffset,l=-1;break;case"n":k=n.height+n.yoffset;break;case"s":k=n.height+n.yoffset,l=-1}}var o=(void 0!=i.shadow?i.shadow:this.shadow,void 0!=i.fill?i.fill:this.fill,parseInt(b.canvas.style.width)),p=parseInt(b.canvas.style.height),q=o-j-2*this.padding,r=p-k-2*this.padding,s=Math.min(q,r),t=s;this._sliceAngles=[];var u=this.sliceMargin;0==this.fill&&(u+=this.lineWidth);for(var v,w,x,y,z=0,A=this.startAngle/180*Math.PI,g=0,B=d.length;g<B;g++)w=0==g?A:d[g-1][1]+A,x=d[g][1]+A,this._sliceAngles.push([w,x]),v=c(w,x,this.sliceMargin,this.fill,this.lineWidth),Math.abs(x-w)>Math.PI&&(z=Math.max(v,z));if(null!=this.diameter&&this.diameter>0?this._diameter=this.diameter-2*z:this._diameter=t-2*z,this._diameter<6)return void a.jqplot.log("Diameter of pie too small, not rendering.");this._radius=this._diameter/2;if(this._center=[(o-l*j)/2+l*j+z*Math.cos(A),(p-l*k)/2+l*k+z*Math.sin(A)],this.shadow)for(var g=0,B=d.length;g<B;g++)y="rgba(0,0,0,"+this.shadowAlpha+")",this.renderer.drawSlice.call(this,b,this._sliceAngles[g][0],this._sliceAngles[g][1],y,!0);for(var g=0;g<d.length;g++)if(h=m.next(),this.showSlice[g]&&(this.renderer.drawSlice.call(this,b,this._sliceAngles[g][0],this._sliceAngles[g][1],h,!1),this.showDataLabels&&100*d[g][2]>=this.dataLabelThreshold)){var C,D,E=(this._sliceAngles[g][0]+this._sliceAngles[g][1])/2;"label"==this.dataLabels?(C=this.dataLabelFormatString||"%s",D=a.jqplot.sprintf(C,d[g][0])):"value"==this.dataLabels?(C=this.dataLabelFormatString||"%d",D=a.jqplot.sprintf(C,this.data[g][1])):"percent"==this.dataLabels?(C=this.dataLabelFormatString||"%d%%",D=a.jqplot.sprintf(C,100*d[g][2])):this.dataLabels.constructor==Array&&(C=this.dataLabelFormatString||"%s",D=a.jqplot.sprintf(C,this.dataLabels[g]));var F=this._radius*this.dataLabelPositionFactor+this.sliceMargin+this.dataLabelNudge,G=this._center[0]+Math.cos(E)*F+this.canvas._offsets.left,H=this._center[1]+Math.sin(E)*F+this.canvas._offsets.top,I=a('<div class="jqplot-pie-series jqplot-data-label" style="position:absolute;">'+D+"</div>").insertBefore(f.eventCanvas._elem);this.dataLabelCenterOn?(G-=I.width()/2,H-=I.height()/2):(G-=I.width()*Math.sin(E/2),H-=I.height()/2),G=Math.round(G),H=Math.round(H),I.css({left:G,top:H})}},a.jqplot.PieAxisRenderer=function(){a.jqplot.LinearAxisRenderer.call(this)},a.jqplot.PieAxisRenderer.prototype=new a.jqplot.LinearAxisRenderer,a.jqplot.PieAxisRenderer.prototype.constructor=a.jqplot.PieAxisRenderer,a.jqplot.PieAxisRenderer.prototype.init=function(b){this.tickRenderer=a.jqplot.PieTickRenderer,a.extend(!0,this,b),this._dataBounds={min:0,max:100},this.min=0,this.max=100,this.showTicks=!1,this.ticks=[],this.showMark=!1,this.show=!1},a.jqplot.PieLegendRenderer=function(){a.jqplot.TableLegendRenderer.call(this)},a.jqplot.PieLegendRenderer.prototype=new a.jqplot.TableLegendRenderer,a.jqplot.PieLegendRenderer.prototype.constructor=a.jqplot.PieLegendRenderer,a.jqplot.PieLegendRenderer.prototype.init=function(b){this.numberRows=null,this.numberColumns=null,this.width=null,a.extend(!0,this,b)},a.jqplot.PieLegendRenderer.prototype.draw=function(){if(this.show){var b=this._series;this._elem=a(document.createElement("table")),this._elem.addClass("jqplot-table-legend");var c={position:"absolute"};this.background&&(c.background=this.background),this.border&&(c.border=this.border),this.fontSize&&(c.fontSize=this.fontSize),this.fontFamily&&(c.fontFamily=this.fontFamily),this.textColor&&(c.textColor=this.textColor),null!=this.marginTop&&(c.marginTop=this.marginTop),null!=this.marginBottom&&(c.marginBottom=this.marginBottom),null!=this.marginLeft&&(c.marginLeft=this.marginLeft),null!=this.marginRight&&(c.marginRight=this.marginRight),this._elem.css(c);var d,e,f=!1,g=!1,h=b[0],i=new a.jqplot.ColorGenerator(h.seriesColors);if(h.show){var j=h.data;this.numberRows?(d=this.numberRows,e=this.numberColumns?this.numberColumns:Math.ceil(j.length/d)):this.numberColumns?(e=this.numberColumns,d=Math.ceil(j.length/this.numberColumns)):(d=j.length,e=1);var k,l,m,n,o,p,q,r,s,t,u,v=0;for(k=0;k<d;k++)for(m=a(document.createElement("tr")),m.addClass("jqplot-table-legend"),g?m.prependTo(this._elem):m.appendTo(this._elem),l=0;l<e;l++)v<j.length&&(q="",this.labels[v]?p=this.labels[v]:"object"==typeof j[v][0]?(p=j[v][0][0].toString(),q=j[v][0][1].toString()):p=j[v][0].toString(),s=i.next(),f=g?k!=d-1:k>0,r=f?this.rowSpacing:"0",n=a(document.createElement("td")),n.addClass("jqplot-table-legend jqplot-table-legend-swatch"),n.css({textAlign:"center",paddingTop:r}),t=a(document.createElement("div")),t.addClass("jqplot-table-legend-swatch-outline"),""!==q&&t.attr("title",q),u=a(document.createElement("div")),u.addClass("jqplot-table-legend-swatch"),u.css({backgroundColor:s,borderColor:s}),n.append(t.append(u)),o=a(document.createElement("td")),o.addClass("jqplot-table-legend jqplot-table-legend-label"),o.css("paddingTop",r),this.escapeHtml?o.text(p):o.html('<a title="'+q+'">'+p+"</a>"),g?(o.prependTo(m),n.prependTo(m)):(n.appendTo(m),o.appendTo(m)),f=!0),v++}}return this._elem},a.jqplot.PieRenderer.prototype.handleMove=function(a,b,c,d,e){if(d){var f=[d.seriesIndex,d.pointIndex,d.data];e.target.trigger("jqplotDataMouseOver",f),!e.series[f[0]].highlightMouseOver||f[0]==e.plugins.pieRenderer.highlightedSeriesIndex&&f[1]==e.series[f[0]]._highlightedPoint||(e.target.trigger("jqplotDataHighlight",f),g(e,f[0],f[1]))}else null==d&&h(e)},a.jqplot.preInitHooks.push(d),a.jqplot.PieTickRenderer=function(){a.jqplot.AxisTickRenderer.call(this)},a.jqplot.PieTickRenderer.prototype=new a.jqplot.AxisTickRenderer,a.jqplot.PieTickRenderer.prototype.constructor=a.jqplot.PieTickRenderer}(jQuery);
|
assets/js/dashboard.js
CHANGED
@@ -39,9 +39,12 @@ function wp_statistics_refresh_widget() {
|
|
39 |
widget = widget.replace( '-', '.' );
|
40 |
|
41 |
container = jQuery("#" + container_id);
|
42 |
-
|
|
|
|
|
43 |
|
44 |
-
|
|
|
45 |
|
46 |
return false;
|
47 |
}
|
39 |
widget = widget.replace( '-', '.' );
|
40 |
|
41 |
container = jQuery("#" + container_id);
|
42 |
+
|
43 |
+
if( container.is( ':visible' ) ) {
|
44 |
+
container.html(wp_statistics_loading_image);
|
45 |
|
46 |
+
wp_statistics_get_widget_contents( widget, container_id );
|
47 |
+
}
|
48 |
|
49 |
return false;
|
50 |
}
|
assets/js/dashboard.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function wp_statistics_get_widget_contents(t,i){var s={action:"wp_statistics_get_widget_contents",widget:t,format:"dashboard"};container=jQuery("#"+i),container.is(":visible")&&jQuery.ajax({url:ajaxurl,type:"post",data:s,datatype:"json"}).always(function(t){jQuery("#"+i).html("").html(t)}).fail(function(i){container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(t,coontaier_id)})}function wp_statistics_refresh_widget(){var t=this.id.replace("_refresh_button","");t=t.replace("-widget","-div");var i=t.replace("wp-statistics-","");return i=i.replace("-div",""),i=i.replace("-","."),container=jQuery("#"+t),container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(i,t),!1}function wp_statistics_refresh_on_toggle_widget(){if("wp-statistics-"==this.value.substring(0,14)){var t=this.value.replace("-widget","-div"),i=t.replace("wp-statistics-","");i=i.replace("-div",""),i=i.replace("-","."),wp_statistics_get_widget_contents(i,t)}}function wp_statistics_goto_more(){var t=this.id;return void 0!==wp_statistics_destinations[t]&&(window.location.href=wp_statistics_destinations[t]),!1}
|
1 |
+
function wp_statistics_get_widget_contents(t,i){var s={action:"wp_statistics_get_widget_contents",widget:t,format:"dashboard"};container=jQuery("#"+i),container.is(":visible")&&jQuery.ajax({url:ajaxurl,type:"post",data:s,datatype:"json"}).always(function(t){jQuery("#"+i).html("").html(t)}).fail(function(i){container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(t,coontaier_id)})}function wp_statistics_refresh_widget(){var t=this.id.replace("_refresh_button","");t=t.replace("-widget","-div");var i=t.replace("wp-statistics-","");return i=i.replace("-div",""),i=i.replace("-","."),container=jQuery("#"+t),container.is(":visible")&&(container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(i,t)),!1}function wp_statistics_refresh_on_toggle_widget(){if("wp-statistics-"==this.value.substring(0,14)){var t=this.value.replace("-widget","-div"),i=t.replace("wp-statistics-","");i=i.replace("-div",""),i=i.replace("-","."),wp_statistics_get_widget_contents(i,t)}}function wp_statistics_goto_more(){var t=this.id;return void 0!==wp_statistics_destinations[t]&&(window.location.href=wp_statistics_destinations[t]),!1}
|
assets/js/log.js
CHANGED
@@ -35,9 +35,12 @@ function wp_statistics_refresh_widget() {
|
|
35 |
container_id = widget.replace( '.', '_' ) + '_postbox';
|
36 |
|
37 |
container = jQuery("#" + container_id);
|
38 |
-
|
|
|
|
|
39 |
|
40 |
-
|
|
|
41 |
|
42 |
return false;
|
43 |
}
|
35 |
container_id = widget.replace( '.', '_' ) + '_postbox';
|
36 |
|
37 |
container = jQuery("#" + container_id);
|
38 |
+
|
39 |
+
if( container.is( ':visible' ) ) {
|
40 |
+
container.html(wp_statistics_loading_image);
|
41 |
|
42 |
+
wp_statistics_get_widget_contents( widget, container_id );
|
43 |
+
}
|
44 |
|
45 |
return false;
|
46 |
}
|
assets/js/log.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function wp_statistics_get_widget_contents(t,i){var s={action:"wp_statistics_get_widget_contents",widget:t};container=jQuery("#"+i),container.is(":visible")&&jQuery.ajax({url:ajaxurl,type:"post",data:s,datatype:"json"}).always(function(t){jQuery("#"+i).html("").html(t)}).fail(function(i){container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(t,coontaier_id)})}function wp_statistics_refresh_widget(){var t=this.id.replace("wps_","");return t=t.replace("_refresh_button",""),container_id=t.replace(".","_")+"_postbox",container=jQuery("#"+container_id),container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(t,container_id),!1}function wp_statistics_refresh_on_toggle_widget(){if("wps_"==this.value.substring(0,4)){var t=this.value.replace("wps_",""),i=t.replace("_postbox","");wp_statistics_get_widget_contents(i,t)}}function wp_statistics_goto_more(){var t=this.id;return void 0!==wp_statistics_destinations[t]&&(window.location.href=wp_statistics_destinations[t]),!1}
|
1 |
+
function wp_statistics_get_widget_contents(t,i){var s={action:"wp_statistics_get_widget_contents",widget:t};container=jQuery("#"+i),container.is(":visible")&&jQuery.ajax({url:ajaxurl,type:"post",data:s,datatype:"json"}).always(function(t){jQuery("#"+i).html("").html(t)}).fail(function(i){container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(t,coontaier_id)})}function wp_statistics_refresh_widget(){var t=this.id.replace("wps_","");return t=t.replace("_refresh_button",""),container_id=t.replace(".","_")+"_postbox",container=jQuery("#"+container_id),container.is(":visible")&&(container.html(wp_statistics_loading_image),wp_statistics_get_widget_contents(t,container_id)),!1}function wp_statistics_refresh_on_toggle_widget(){if("wps_"==this.value.substring(0,4)){var t=this.value.replace("wps_",""),i=t.replace("_postbox","");wp_statistics_get_widget_contents(i,t)}}function wp_statistics_goto_more(){var t=this.id;return void 0!==wp_statistics_destinations[t]&&(window.location.href=wp_statistics_destinations[t]),!1}
|
includes/classes/hits.class.php
CHANGED
@@ -51,14 +51,29 @@ class Hits extends WP_Statistics {
|
|
51 |
}
|
52 |
|
53 |
// Create a IP Tools instance from the current IP address for use later.
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
// Let's check to see if our subnet matches a private IP address range, if so go ahead and set the location information now.
|
57 |
if( $this->get_option( 'private_country_code' ) != '000' && $this->get_option( 'private_country_code' ) != '' ) {
|
58 |
$private_subnets = array( '10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', '127.0.0.1/24', 'fc00::/7' );
|
59 |
|
60 |
foreach( $private_subnets as $psub ) {
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
$this->location = $this->get_option( 'private_country_code' );
|
63 |
break;
|
64 |
}
|
@@ -156,7 +171,16 @@ class Hits extends WP_Statistics {
|
|
156 |
|
157 |
// The shortest ip address is 1.1.1.1, anything less must be a malformed entry.
|
158 |
if( strlen( $subnet ) > 6 ) {
|
159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
$this->exclusion_match = TRUE;
|
161 |
$this->exclusion_reason = 'ip match';
|
162 |
|
51 |
}
|
52 |
|
53 |
// Create a IP Tools instance from the current IP address for use later.
|
54 |
+
// Fall back to the localhost if it can't be parsed.
|
55 |
+
try {
|
56 |
+
$ip = new IP( $this->ip );
|
57 |
+
}
|
58 |
+
catch( Exception $e ) {
|
59 |
+
$ip = new IP( '127.0.0.1' );
|
60 |
+
}
|
61 |
|
62 |
// Let's check to see if our subnet matches a private IP address range, if so go ahead and set the location information now.
|
63 |
if( $this->get_option( 'private_country_code' ) != '000' && $this->get_option( 'private_country_code' ) != '' ) {
|
64 |
$private_subnets = array( '10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', '127.0.0.1/24', 'fc00::/7' );
|
65 |
|
66 |
foreach( $private_subnets as $psub ) {
|
67 |
+
$contains_ip = false;
|
68 |
+
|
69 |
+
try {
|
70 |
+
$contains_ip = Range::parse( $psub )->contains( $ip );
|
71 |
+
}
|
72 |
+
catch( Exception $e ) {
|
73 |
+
$contains_ip = false;
|
74 |
+
}
|
75 |
+
|
76 |
+
if( $contains_ip ) {
|
77 |
$this->location = $this->get_option( 'private_country_code' );
|
78 |
break;
|
79 |
}
|
171 |
|
172 |
// The shortest ip address is 1.1.1.1, anything less must be a malformed entry.
|
173 |
if( strlen( $subnet ) > 6 ) {
|
174 |
+
$range_prased = false;
|
175 |
+
|
176 |
+
try {
|
177 |
+
$range_prased = Range::parse( $subnet )->contains( $ip );
|
178 |
+
}
|
179 |
+
catch( Exception $e ) {
|
180 |
+
$range_parased = false;
|
181 |
+
}
|
182 |
+
|
183 |
+
if( $range_prased ) {
|
184 |
$this->exclusion_match = TRUE;
|
185 |
$this->exclusion_reason = 'ip match';
|
186 |
|
languages/wp_statistics-ar.mo
CHANGED
Binary file
|
languages/wp_statistics-ar.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: ar\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: ar\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-ary.mo
CHANGED
Binary file
|
languages/wp_statistics-ary.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: ar_MA\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: ar_MA\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-bg_BG.mo
CHANGED
Binary file
|
languages/wp_statistics-bg_BG.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: bg\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: bg\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-bn_BD.mo
CHANGED
Binary file
|
languages/wp_statistics-bn_BD.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: bn\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: bn\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-bs.mo
CHANGED
Binary file
|
languages/wp_statistics-bs.po
CHANGED
@@ -2,26 +2,26 @@
|
|
2 |
# This file is distributed under the same license as the WP Statistics package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"PO-Revision-Date: 2016-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: bs_BA\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
14 |
#: wp-statistics/includes/log/widgets/summary.php:52
|
15 |
msgid "Last 365 Days"
|
16 |
-
msgstr ""
|
17 |
|
18 |
#: wp-statistics/includes/log/widgets/summary.php:46
|
19 |
msgid "Last 30 Days"
|
20 |
-
msgstr ""
|
21 |
|
22 |
#: wp-statistics/includes/log/widgets/summary.php:40
|
23 |
msgid "Last 7 Days"
|
24 |
-
msgstr ""
|
25 |
|
26 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:158
|
27 |
msgid "PHP IPv6 Enabled"
|
@@ -41,19 +41,19 @@ msgstr ""
|
|
41 |
|
42 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:125
|
43 |
msgid "For IPv6 addresses use the fc00::/7 format."
|
44 |
-
msgstr ""
|
45 |
|
46 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:129
|
47 |
msgid "Add fc00::/7"
|
48 |
-
msgstr ""
|
49 |
|
50 |
#: wp-statistics/widget.php:46 wp-statistics/widget.php:263
|
51 |
msgid "Todays Visits"
|
52 |
-
msgstr ""
|
53 |
|
54 |
#: wp-statistics/widget.php:53 wp-statistics/widget.php:266
|
55 |
msgid "Todays Visitors"
|
56 |
-
msgstr ""
|
57 |
|
58 |
#: wp-statistics/widget.php:60
|
59 |
msgid "Yesterdays Visits"
|
@@ -65,11 +65,11 @@ msgstr ""
|
|
65 |
|
66 |
#: wp-statistics/widget.php:74 wp-statistics/widget.php:275
|
67 |
msgid "Last 7 Days Visits"
|
68 |
-
msgstr ""
|
69 |
|
70 |
#: wp-statistics/widget.php:81 wp-statistics/widget.php:278
|
71 |
msgid "Last 30 Days Visits"
|
72 |
-
msgstr ""
|
73 |
|
74 |
#: wp-statistics/widget.php:88 wp-statistics/widget.php:281
|
75 |
msgid "Last 365 Days Visits"
|
@@ -77,11 +77,11 @@ msgstr ""
|
|
77 |
|
78 |
#: wp-statistics/widget.php:95 wp-statistics/widget.php:284
|
79 |
msgid "Total Visits"
|
80 |
-
msgstr ""
|
81 |
|
82 |
#: wp-statistics/widget.php:102 wp-statistics/widget.php:287
|
83 |
msgid "Total Visitors"
|
84 |
-
msgstr ""
|
85 |
|
86 |
#: wp-statistics/widget.php:269
|
87 |
msgid "Yesterdays visits"
|
@@ -93,7 +93,7 @@ msgstr "Nije pronađen odgovarajući dodatak!"
|
|
93 |
|
94 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:191
|
95 |
msgid "Zlib gzopen()"
|
96 |
-
msgstr "Zlib gzopen()"
|
97 |
|
98 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:196
|
99 |
msgid "If the gzopen() function is installed. gzopen() is required for the GeoIP database to be downloaded successfully."
|
@@ -101,7 +101,7 @@ msgstr "Ako je gzopen() funkcija instalirana, gzopen() je obavezan da bi GeoIP b
|
|
101 |
|
102 |
#: wp-statistics/wps-updates.php:16
|
103 |
msgid "Error the download_url() or gzopen() functions do not exist!"
|
104 |
-
msgstr "
|
105 |
|
106 |
#: wp-statistics/wps-updates.php:45
|
107 |
msgid "Error setting permissions of the GeoIP database directory, make sure your web server has permissions to write to directories in : %s"
|
@@ -125,12 +125,12 @@ msgstr "Molimo kontaktirajte vašu hosting firmu da urade update na podržanu ve
|
|
125 |
|
126 |
#: wp-statistics/ajax.php:293
|
127 |
msgid "ERROR: Widget not found!"
|
128 |
-
msgstr "
|
129 |
|
130 |
#: wp-statistics/dashboard.php:109 wp-statistics/editor.php:66
|
131 |
#: wp-statistics/includes/log/log.php:20
|
132 |
msgid "Loading..."
|
133 |
-
msgstr "
|
134 |
|
135 |
#: wp-statistics/dashboard.php:127 wp-statistics/editor.php:84
|
136 |
#: wp-statistics/includes/log/log.php:2
|
@@ -140,7 +140,7 @@ msgstr "Ponovo učitavam..."
|
|
140 |
#: wp-statistics/includes/log/top-visitors.php:41
|
141 |
#: wp-statistics/wp-statistics.php:452
|
142 |
msgid "Top Visitors"
|
143 |
-
msgstr "Top
|
144 |
|
145 |
#: wp-statistics/wp-statistics.php:208
|
146 |
msgid "optimization page"
|
@@ -149,7 +149,7 @@ msgstr "optimizacijska stranica"
|
|
149 |
#: wp-statistics/includes/settings/tabs/wps-maintenance.php:35
|
150 |
#: wp-statistics/includes/settings/tabs/wps-maintenance.php:63
|
151 |
msgid "Enabled"
|
152 |
-
msgstr "
|
153 |
|
154 |
#: wp-statistics/includes/settings/tabs/wps-maintenance.php:30
|
155 |
msgid "Purge Old Data Daily"
|
@@ -181,7 +181,7 @@ msgstr "ID članka / stranice na kojoj želite statistiku"
|
|
181 |
|
182 |
#: wp-statistics/shortcode.php:181
|
183 |
msgid "Post/Page ID"
|
184 |
-
msgstr "
|
185 |
|
186 |
#: wp-statistics/includes/functions/functions.php:435
|
187 |
msgid "Ask.com"
|
@@ -193,15 +193,15 @@ msgstr "Vremenski okvir da biste dobili statistiku za, strtotime() (http://php.n
|
|
193 |
|
194 |
#: wp-statistics/wp-statistics.php:182
|
195 |
msgid "visitor tracking"
|
196 |
-
msgstr "praćenje
|
197 |
|
198 |
#: wp-statistics/wp-statistics.php:183
|
199 |
msgid "geoip collection"
|
200 |
-
msgstr "geoip
|
201 |
|
202 |
#: wp-statistics/wp-statistics.php:199
|
203 |
msgid "visit database index"
|
204 |
-
msgstr "
|
205 |
|
206 |
#: wp-statistics/wp-statistics.php:208
|
207 |
msgid "Database updates are required, please go to %s and update the following: %s"
|
@@ -209,7 +209,7 @@ msgstr "Nadogradnja baze je obavezno, molimo vas posjetite %s i nadogradite slje
|
|
209 |
|
210 |
#: wp-statistics/wp-statistics.php:199
|
211 |
msgid "countries database index"
|
212 |
-
msgstr "
|
213 |
|
214 |
#: wp-statistics/wp-statistics.php:192
|
215 |
msgid "search table"
|
@@ -217,7 +217,7 @@ msgstr ""
|
|
217 |
|
218 |
#: wp-statistics/wp-statistics.php:186
|
219 |
msgid "settings page"
|
220 |
-
msgstr ""
|
221 |
|
222 |
#: wp-statistics/wp-statistics.php:186 wp-statistics/wp-statistics.php:208
|
223 |
msgid ","
|
@@ -742,7 +742,7 @@ msgstr ""
|
|
742 |
|
743 |
#: wp-statistics/includes/settings/tabs/wps-general.php:259
|
744 |
msgid "By default WP Statistics displays an alert if any of the core features are disabled on every admin page, this option will disable these notices."
|
745 |
-
msgstr ""
|
746 |
|
747 |
#: wp-statistics/includes/settings/tabs/wps-general.php:265
|
748 |
msgid "Delete the manual"
|
@@ -754,7 +754,7 @@ msgstr ""
|
|
754 |
|
755 |
#: wp-statistics/includes/settings/tabs/wps-general.php:276
|
756 |
msgid "Search Engines"
|
757 |
-
msgstr ""
|
758 |
|
759 |
#: wp-statistics/includes/settings/tabs/wps-general.php:293
|
760 |
msgid "Disabling all search engines is not allowed, doing so will result in all search engines being active."
|
@@ -766,7 +766,7 @@ msgstr ""
|
|
766 |
|
767 |
#: wp-statistics/includes/settings/tabs/wps-general.php:309
|
768 |
msgid "Disable %s from data collection and reporting."
|
769 |
-
msgstr ""
|
770 |
|
771 |
#: wp-statistics/includes/settings/tabs/wps-general.php:315
|
772 |
msgid "Charts"
|
@@ -778,23 +778,23 @@ msgstr ""
|
|
778 |
|
779 |
#: wp-statistics/includes/settings/tabs/wps-general.php:326
|
780 |
msgid "Add a total line to charts with multiple values, like the search engine referrals"
|
781 |
-
msgstr ""
|
782 |
|
783 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:32
|
784 |
msgid "GeoIP settings"
|
785 |
-
msgstr ""
|
786 |
|
787 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:37
|
788 |
msgid "IP location services provided by GeoLite2 data created by MaxMind, available from %s."
|
789 |
-
msgstr ""
|
790 |
|
791 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:47
|
792 |
msgid "GeoIP collection"
|
793 |
-
msgstr ""
|
794 |
|
795 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:53
|
796 |
msgid "For get more information and location (country) from visitor, enable this feature."
|
797 |
-
msgstr ""
|
798 |
|
799 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:59
|
800 |
msgid "Update GeoIP Info"
|
@@ -802,15 +802,15 @@ msgstr ""
|
|
802 |
|
803 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:64
|
804 |
msgid "Download GeoIP Database"
|
805 |
-
msgstr ""
|
806 |
|
807 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:71
|
808 |
msgid "Schedule monthly update of GeoIP DB"
|
809 |
-
msgstr ""
|
810 |
|
811 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:97
|
812 |
msgid "Download of the GeoIP database will be scheduled for 2 days after the first Tuesday of the month."
|
813 |
-
msgstr ""
|
814 |
|
815 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:98
|
816 |
msgid "This option will also download the database if the local filesize is less than 1k (which usually means the stub that comes with the plugin is still in place)."
|
@@ -826,15 +826,15 @@ msgstr ""
|
|
826 |
|
827 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:116
|
828 |
msgid "Country code for private IP addresses"
|
829 |
-
msgstr ""
|
830 |
|
831 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:121
|
832 |
msgid "The international standard two letter country code (ie. US = United States, CA = Canada, etc.) for private (non-routable) IP addresses (ie. 10.0.0.1, 192.158.1.1, 127.0.0.1, etc.). Use \"000\" (three zeros) to use \"Unknown\" as the country code."
|
833 |
-
msgstr ""
|
834 |
|
835 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:132
|
836 |
msgid "GeoIP collection is disabled due to the following reasons:"
|
837 |
-
msgstr ""
|
838 |
|
839 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:135
|
840 |
msgid "GeoIP collection requires PHP %s or above, it is currently disabled due to the installed PHP version being "
|
@@ -842,11 +842,11 @@ msgstr ""
|
|
842 |
|
843 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:140
|
844 |
msgid "GeoIP collection requires the cURL PHP extension and it is not loaded on your version of PHP!"
|
845 |
-
msgstr ""
|
846 |
|
847 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:146
|
848 |
msgid "GeoIP collection requires the BC Math PHP extension and it is not loaded on your version of PHP!"
|
849 |
-
msgstr ""
|
850 |
|
851 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:152
|
852 |
msgid "PHP safe mode detected! GeoIP collection is not supported with PHP's safe mode enabled!"
|
@@ -866,11 +866,11 @@ msgstr ""
|
|
866 |
|
867 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:44
|
868 |
msgid "Common Report Options"
|
869 |
-
msgstr ""
|
870 |
|
871 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:49
|
872 |
msgid "E-mail addresses"
|
873 |
-
msgstr ""
|
874 |
|
875 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:54
|
876 |
msgid "A comma separated list of e-mail addresses to send reports to."
|
@@ -883,20 +883,20 @@ msgstr ""
|
|
883 |
#: wp-statistics/includes/log/exclusions.php:24
|
884 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:64
|
885 |
msgid "Browscap"
|
886 |
-
msgstr ""
|
887 |
|
888 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:70
|
889 |
msgid "Send a report whenever the browscap.ini is updated."
|
890 |
-
msgstr ""
|
891 |
|
892 |
#: wp-statistics/includes/log/exclusions.php:24
|
893 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:76
|
894 |
msgid "GeoIP"
|
895 |
-
msgstr ""
|
896 |
|
897 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:82
|
898 |
msgid "Send a report whenever the GeoIP database is updated."
|
899 |
-
msgstr ""
|
900 |
|
901 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:88
|
902 |
msgid "Pruning"
|
@@ -908,11 +908,11 @@ msgstr ""
|
|
908 |
|
909 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:100
|
910 |
msgid "Upgrade"
|
911 |
-
msgstr ""
|
912 |
|
913 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:106
|
914 |
msgid "Send a report whenever the plugin is upgraded."
|
915 |
-
msgstr ""
|
916 |
|
917 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:111
|
918 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:116
|
@@ -922,7 +922,7 @@ msgstr ""
|
|
922 |
|
923 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:129
|
924 |
msgid "Schedule"
|
925 |
-
msgstr ""
|
926 |
|
927 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:153
|
928 |
msgid "Select how often to receive statistical report."
|
@@ -934,23 +934,23 @@ msgstr ""
|
|
934 |
|
935 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:165
|
936 |
msgid "Email"
|
937 |
-
msgstr ""
|
938 |
|
939 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:167
|
940 |
msgid "SMS"
|
941 |
-
msgstr ""
|
942 |
|
943 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:170
|
944 |
msgid "Select delivery method for statistical report."
|
945 |
-
msgstr ""
|
946 |
|
947 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:173
|
948 |
msgid "Note: To send SMS text messages please install the %s plugin."
|
949 |
-
msgstr ""
|
950 |
|
951 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:173
|
952 |
msgid "WordPress SMS"
|
953 |
-
msgstr ""
|
954 |
|
955 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:180
|
956 |
msgid "Report body"
|
@@ -958,7 +958,7 @@ msgstr ""
|
|
958 |
|
959 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:185
|
960 |
msgid "Enter the contents of the report."
|
961 |
-
msgstr ""
|
962 |
|
963 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:187
|
964 |
msgid "Any shortcode supported by your installation of WordPress, include all shortcodes for WP Statistics (see the admin manual for a list of codes available) are supported in the body of the message. Here are some examples:"
|
@@ -975,7 +975,7 @@ msgstr ""
|
|
975 |
|
976 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:190
|
977 |
msgid "Today Visit"
|
978 |
-
msgstr ""
|
979 |
|
980 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:191
|
981 |
msgid "Yesterday Visitor"
|
@@ -983,7 +983,7 @@ msgstr ""
|
|
983 |
|
984 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:192
|
985 |
msgid "Yesterday Visit"
|
986 |
-
msgstr ""
|
987 |
|
988 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:193
|
989 |
msgid "Total Visitor"
|
@@ -1003,37 +1003,37 @@ msgstr ""
|
|
1003 |
|
1004 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:20
|
1005 |
msgid "Dashboard"
|
1006 |
-
msgstr ""
|
1007 |
|
1008 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:24
|
1009 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:44
|
1010 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:64
|
1011 |
msgid "The following items are global to all users."
|
1012 |
-
msgstr ""
|
1013 |
|
1014 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:29
|
1015 |
msgid "Disable dashboard widgets"
|
1016 |
-
msgstr ""
|
1017 |
|
1018 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:35
|
1019 |
msgid "Disable the dashboard widgets."
|
1020 |
-
msgstr ""
|
1021 |
|
1022 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:40
|
1023 |
msgid "Page/Post Editor"
|
1024 |
-
msgstr ""
|
1025 |
|
1026 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:49
|
1027 |
msgid "Disable post/page editor widget"
|
1028 |
-
msgstr ""
|
1029 |
|
1030 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:55
|
1031 |
msgid "Disable the page/post editor widget."
|
1032 |
-
msgstr ""
|
1033 |
|
1034 |
#: wp-statistics/includes/functions/functions.php:440
|
1035 |
msgid "Google"
|
1036 |
-
msgstr ""
|
1037 |
|
1038 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:69
|
1039 |
msgid "Disable map"
|
@@ -1041,11 +1041,11 @@ msgstr ""
|
|
1041 |
|
1042 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:75
|
1043 |
msgid "Disable the map display"
|
1044 |
-
msgstr ""
|
1045 |
|
1046 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:15
|
1047 |
msgid "WP Statisitcs Removal"
|
1048 |
-
msgstr ""
|
1049 |
|
1050 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:20
|
1051 |
msgid "Uninstalling WP Statistics will not remove the data and settings, you can use this option to remove the WP Statistics data from your install before uninstalling the plugin."
|
@@ -1053,19 +1053,19 @@ msgstr ""
|
|
1053 |
|
1054 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:23
|
1055 |
msgid "Once you submit this form the settings will be deleted during the page load, however WP Statistics will still show up in your Admin menu until another page load is executed."
|
1056 |
-
msgstr ""
|
1057 |
|
1058 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:29
|
1059 |
msgid "Remove data and settings"
|
1060 |
-
msgstr ""
|
1061 |
|
1062 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:34
|
1063 |
msgid "Remove"
|
1064 |
-
msgstr ""
|
1065 |
|
1066 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:35
|
1067 |
msgid "Remove data and settings, this action cannot be undone."
|
1068 |
-
msgstr ""
|
1069 |
|
1070 |
#: wp-statistics/includes/settings/wps-settings.php:100
|
1071 |
msgid "General"
|
@@ -1073,19 +1073,19 @@ msgstr ""
|
|
1073 |
|
1074 |
#: wp-statistics/includes/settings/wps-settings.php:101
|
1075 |
msgid "Notifications"
|
1076 |
-
msgstr ""
|
1077 |
|
1078 |
#: wp-statistics/includes/settings/wps-settings.php:102
|
1079 |
msgid "Dashboard/Overview"
|
1080 |
-
msgstr ""
|
1081 |
|
1082 |
#: wp-statistics/includes/settings/wps-settings.php:106
|
1083 |
msgid "Maintenance"
|
1084 |
-
msgstr ""
|
1085 |
|
1086 |
#: wp-statistics/includes/settings/wps-settings.php:107
|
1087 |
msgid "Removal"
|
1088 |
-
msgstr ""
|
1089 |
|
1090 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:85
|
1091 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:237
|
@@ -1096,24 +1096,24 @@ msgstr ""
|
|
1096 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:84
|
1097 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:42
|
1098 |
msgid "Update"
|
1099 |
-
msgstr ""
|
1100 |
|
1101 |
#: wp-statistics/schedule.php:10
|
1102 |
msgid "Once Weekly"
|
1103 |
-
msgstr ""
|
1104 |
|
1105 |
#: wp-statistics/schedule.php:17
|
1106 |
msgid "Once Every 2 Weeks"
|
1107 |
-
msgstr ""
|
1108 |
|
1109 |
#: wp-statistics/schedule.php:24
|
1110 |
msgid "Once Every 4 Weeks"
|
1111 |
-
msgstr ""
|
1112 |
|
1113 |
#: wp-statistics/widget.php:14 wp-statistics/wp-statistics.php:410
|
1114 |
#: wp-statistics/wp-statistics.php:487
|
1115 |
msgid "Statistics"
|
1116 |
-
msgstr ""
|
1117 |
|
1118 |
#: wp-statistics/widget.php:15
|
1119 |
msgid "Show site stats in sidebar."
|
@@ -1129,7 +1129,7 @@ msgstr ""
|
|
1129 |
|
1130 |
#: wp-statistics/widget.php:124 wp-statistics/widget.php:313
|
1131 |
msgid "Total Posts"
|
1132 |
-
msgstr ""
|
1133 |
|
1134 |
#: wp-statistics/widget.php:131 wp-statistics/widget.php:316
|
1135 |
msgid "Total Pages"
|
@@ -1137,15 +1137,15 @@ msgstr ""
|
|
1137 |
|
1138 |
#: wp-statistics/widget.php:138 wp-statistics/widget.php:319
|
1139 |
msgid "Total Comments"
|
1140 |
-
msgstr ""
|
1141 |
|
1142 |
#: wp-statistics/widget.php:145 wp-statistics/widget.php:322
|
1143 |
msgid "Total Spams"
|
1144 |
-
msgstr ""
|
1145 |
|
1146 |
#: wp-statistics/widget.php:152 wp-statistics/widget.php:325
|
1147 |
msgid "Total Users"
|
1148 |
-
msgstr ""
|
1149 |
|
1150 |
#: wp-statistics/widget.php:159 wp-statistics/widget.php:328
|
1151 |
msgid "Average Posts"
|
@@ -1166,11 +1166,11 @@ msgstr ""
|
|
1166 |
|
1167 |
#: wp-statistics/widget.php:253
|
1168 |
msgid "Name"
|
1169 |
-
msgstr ""
|
1170 |
|
1171 |
#: wp-statistics/widget.php:257
|
1172 |
msgid "Items"
|
1173 |
-
msgstr ""
|
1174 |
|
1175 |
#: wp-statistics/wp-statistics.php:664
|
1176 |
msgid "Yesterday visit"
|
@@ -1178,28 +1178,28 @@ msgstr ""
|
|
1178 |
|
1179 |
#: wp-statistics/widget.php:296
|
1180 |
msgid "Select type of search engine"
|
1181 |
-
msgstr ""
|
1182 |
|
1183 |
#: wp-statistics/wp-statistics.php:124
|
1184 |
msgid "WP Statistics has been removed, please disable and delete it."
|
1185 |
-
msgstr ""
|
1186 |
|
1187 |
#: wp-statistics/wp-statistics.php:56
|
1188 |
msgid "WP Statistics"
|
1189 |
-
msgstr ""
|
1190 |
|
1191 |
#: wp-statistics/wp-statistics.php:57
|
1192 |
msgid "Complete statistics for your WordPress site."
|
1193 |
-
msgstr ""
|
1194 |
|
1195 |
#: wp-statistics/wp-statistics.php:315 wp-statistics/wp-statistics.php:430
|
1196 |
#: wp-statistics/wp-statistics.php:541
|
1197 |
msgid "Settings"
|
1198 |
-
msgstr ""
|
1199 |
|
1200 |
#: wp-statistics/wp-statistics.php:327
|
1201 |
msgid "Click here to visit the plugin on WordPress.org"
|
1202 |
-
msgstr ""
|
1203 |
|
1204 |
#: wp-statistics/wp-statistics.php:327
|
1205 |
msgid "Visit WordPress.org page"
|
@@ -1207,11 +1207,11 @@ msgstr ""
|
|
1207 |
|
1208 |
#: wp-statistics/wp-statistics.php:330
|
1209 |
msgid "Click here to rate and review this plugin on WordPress.org"
|
1210 |
-
msgstr ""
|
1211 |
|
1212 |
#: wp-statistics/wp-statistics.php:330
|
1213 |
msgid "Rate this plugin"
|
1214 |
-
msgstr ""
|
1215 |
|
1216 |
#: wp-statistics/wp-statistics.php:374
|
1217 |
msgid "WP Statistics - Hits"
|
@@ -1220,11 +1220,11 @@ msgstr ""
|
|
1220 |
#: wp-statistics/wp-statistics.php:413 wp-statistics/wp-statistics.php:490
|
1221 |
#: wp-statistics/wp-statistics.php:528
|
1222 |
msgid "Overview"
|
1223 |
-
msgstr ""
|
1224 |
|
1225 |
#: wp-statistics/wp-statistics.php:419 wp-statistics/wp-statistics.php:533
|
1226 |
msgid "Online"
|
1227 |
-
msgstr ""
|
1228 |
|
1229 |
#: wp-statistics/wp-statistics.php:421 wp-statistics/wp-statistics.php:535
|
1230 |
msgid "Referrers"
|
@@ -1233,23 +1233,23 @@ msgstr ""
|
|
1233 |
#: wp-statistics/shortcode.php:142 wp-statistics/wp-statistics.php:422
|
1234 |
#: wp-statistics/wp-statistics.php:536
|
1235 |
msgid "Searches"
|
1236 |
-
msgstr ""
|
1237 |
|
1238 |
#: wp-statistics/wp-statistics.php:423 wp-statistics/wp-statistics.php:537
|
1239 |
msgid "Search Words"
|
1240 |
-
msgstr ""
|
1241 |
|
1242 |
#: wp-statistics/wp-statistics.php:424 wp-statistics/wp-statistics.php:538
|
1243 |
msgid "Top Visitors Today"
|
1244 |
-
msgstr ""
|
1245 |
|
1246 |
#: wp-statistics/wp-statistics.php:429 wp-statistics/wp-statistics.php:540
|
1247 |
msgid "Optimization"
|
1248 |
-
msgstr ""
|
1249 |
|
1250 |
#: wp-statistics/wp-statistics.php:435 wp-statistics/wp-statistics.php:504
|
1251 |
msgid "Manual"
|
1252 |
-
msgstr ""
|
1253 |
|
1254 |
#: wp-statistics/wp-statistics.php:519
|
1255 |
msgid "Site"
|
@@ -1257,7 +1257,7 @@ msgstr ""
|
|
1257 |
|
1258 |
#: wp-statistics/wp-statistics.php:520
|
1259 |
msgid "Options"
|
1260 |
-
msgstr ""
|
1261 |
|
1262 |
#: wp-statistics/wp-statistics.php:646
|
1263 |
msgid "Today visitor"
|
@@ -1265,7 +1265,7 @@ msgstr ""
|
|
1265 |
|
1266 |
#: wp-statistics/wp-statistics.php:652
|
1267 |
msgid "Today visit"
|
1268 |
-
msgstr ""
|
1269 |
|
1270 |
#: wp-statistics/wp-statistics.php:658
|
1271 |
msgid "Yesterday visitor"
|
@@ -1273,15 +1273,15 @@ msgstr ""
|
|
1273 |
|
1274 |
#: wp-statistics/wp-statistics.php:670
|
1275 |
msgid "View Stats"
|
1276 |
-
msgstr ""
|
1277 |
|
1278 |
#: wp-statistics/wp-statistics.php:694
|
1279 |
msgid "Download ODF file"
|
1280 |
-
msgstr ""
|
1281 |
|
1282 |
#: wp-statistics/wp-statistics.php:695
|
1283 |
msgid "Download HTML file"
|
1284 |
-
msgstr ""
|
1285 |
|
1286 |
#: wp-statistics/wp-statistics.php:699
|
1287 |
msgid "Manual file not found."
|
@@ -1290,19 +1290,19 @@ msgstr ""
|
|
1290 |
#: wp-statistics/wp-statistics.php:766 wp-statistics/wp-statistics.php:893
|
1291 |
#: wp-statistics/wp-statistics.php:929
|
1292 |
msgid "You do not have sufficient permissions to access this page."
|
1293 |
-
msgstr ""
|
1294 |
|
1295 |
#: wp-statistics/wp-statistics.php:303
|
1296 |
msgid "WP Statistics %s installed on"
|
1297 |
-
msgstr ""
|
1298 |
|
1299 |
#: wp-statistics/wps-updates.php:54
|
1300 |
msgid "Error downloading GeoIP database from: %s - %s"
|
1301 |
-
msgstr ""
|
1302 |
|
1303 |
#: wp-statistics/wps-updates.php:65
|
1304 |
msgid "Error could not open downloaded GeoIP database for reading: %s"
|
1305 |
-
msgstr ""
|
1306 |
|
1307 |
#: wp-statistics/wps-updates.php:72
|
1308 |
msgid "Error could not open destination GeoIP database for writing %s"
|
@@ -1310,11 +1310,11 @@ msgstr ""
|
|
1310 |
|
1311 |
#: wp-statistics/wps-updates.php:88
|
1312 |
msgid "GeoIP Database updated successfully!"
|
1313 |
-
msgstr ""
|
1314 |
|
1315 |
#: wp-statistics/wps-updates.php:113
|
1316 |
msgid "GeoIP update on"
|
1317 |
-
msgstr ""
|
1318 |
|
1319 |
#: wp-statistics/wps-updates.php:180
|
1320 |
msgid "Error downloading browscap database from: %s - %s"
|
@@ -1322,15 +1322,15 @@ msgstr ""
|
|
1322 |
|
1323 |
#: wp-statistics/wps-updates.php:289
|
1324 |
msgid "browscap database updated successfully!"
|
1325 |
-
msgstr ""
|
1326 |
|
1327 |
#: wp-statistics/wps-updates.php:299
|
1328 |
msgid "browscap database updated failed! Cache file too large, reverting to previous browscap.ini."
|
1329 |
-
msgstr ""
|
1330 |
|
1331 |
#: wp-statistics/wps-updates.php:307
|
1332 |
msgid "browscap database updated failed! New browscap.ini is mis-identifing user agents as crawlers, reverting to previous browscap.ini."
|
1333 |
-
msgstr ""
|
1334 |
|
1335 |
#: wp-statistics/wps-updates.php:329
|
1336 |
msgid "browscap already at current version!"
|
@@ -1347,31 +1347,31 @@ msgstr ""
|
|
1347 |
#: wp-statistics/dashboard.php:57
|
1348 |
#: wp-statistics/includes/log/widgets/browsers.php:41
|
1349 |
msgid "Top 10 Browsers"
|
1350 |
-
msgstr ""
|
1351 |
|
1352 |
#: wp-statistics/dashboard.php:58 wp-statistics/wp-statistics.php:473
|
1353 |
msgid "Top 10 Countries"
|
1354 |
-
msgstr ""
|
1355 |
|
1356 |
#: wp-statistics/dashboard.php:59
|
1357 |
msgid "Today's Visitor Map"
|
1358 |
-
msgstr ""
|
1359 |
|
1360 |
#: wp-statistics/dashboard.php:60 wp-statistics/editor.php:46
|
1361 |
#: wp-statistics/includes/log/hit-statistics.php:8
|
1362 |
#: wp-statistics/wp-statistics.php:448
|
1363 |
msgid "Hit Statistics"
|
1364 |
-
msgstr ""
|
1365 |
|
1366 |
#: wp-statistics/dashboard.php:61 wp-statistics/wp-statistics.php:463
|
1367 |
msgid "Top 10 Pages"
|
1368 |
-
msgstr ""
|
1369 |
|
1370 |
#: wp-statistics/dashboard.php:62
|
1371 |
#: wp-statistics/includes/log/last-visitor.php:36
|
1372 |
#: wp-statistics/wp-statistics.php:455
|
1373 |
msgid "Recent Visitors"
|
1374 |
-
msgstr ""
|
1375 |
|
1376 |
#: wp-statistics/dashboard.php:63
|
1377 |
#: wp-statistics/includes/log/top-referring.php:59
|
@@ -1389,7 +1389,7 @@ msgstr ""
|
|
1389 |
|
1390 |
#: wp-statistics/dashboard.php:65 wp-statistics/wp-statistics.php:468
|
1391 |
msgid "Summary"
|
1392 |
-
msgstr ""
|
1393 |
|
1394 |
#: wp-statistics/dashboard.php:66 wp-statistics/includes/log/last-search.php:31
|
1395 |
#: wp-statistics/wp-statistics.php:454
|
@@ -1398,7 +1398,7 @@ msgstr ""
|
|
1398 |
|
1399 |
#: wp-statistics/dashboard.php:67
|
1400 |
msgid "Top 10 Visitors Today"
|
1401 |
-
msgstr ""
|
1402 |
|
1403 |
#: wp-statistics/editor.php:58
|
1404 |
msgid "This post is not yet published."
|
@@ -1410,7 +1410,7 @@ msgstr ""
|
|
1410 |
|
1411 |
#: wp-statistics/includes/functions/geoip-populate.php:48
|
1412 |
msgid "Updated %s GeoIP records in the visitors database."
|
1413 |
-
msgstr ""
|
1414 |
|
1415 |
#: wp-statistics/includes/functions/purge.php:21
|
1416 |
#: wp-statistics/includes/functions/purge.php:39
|
@@ -1426,7 +1426,7 @@ msgstr ""
|
|
1426 |
#: wp-statistics/includes/functions/purge.php:63
|
1427 |
#: wp-statistics/includes/functions/purge.php:96
|
1428 |
msgid "No records found to purge from %s!"
|
1429 |
-
msgstr ""
|
1430 |
|
1431 |
#: wp-statistics/includes/functions/purge-hits.php:45
|
1432 |
#: wp-statistics/includes/functions/purge.php:109
|
@@ -1459,7 +1459,7 @@ msgstr ""
|
|
1459 |
#: wp-statistics/includes/log/top-referring.php:77
|
1460 |
#: wp-statistics/includes/log/top-visitors.php:40
|
1461 |
msgid "Click to toggle"
|
1462 |
-
msgstr ""
|
1463 |
|
1464 |
#: wp-statistics/includes/log/all-browsers.php:30
|
1465 |
#: wp-statistics/wp-statistics.php:415 wp-statistics/wp-statistics.php:469
|
@@ -1491,7 +1491,7 @@ msgstr ""
|
|
1491 |
|
1492 |
#: wp-statistics/includes/log/exclusions.php:64
|
1493 |
msgid "Exclusions Statistics"
|
1494 |
-
msgstr ""
|
1495 |
|
1496 |
#: wp-statistics/includes/functions/functions.php:895
|
1497 |
msgid "10 Days"
|
@@ -1507,23 +1507,23 @@ msgstr ""
|
|
1507 |
|
1508 |
#: wp-statistics/includes/functions/functions.php:895
|
1509 |
msgid "2 Months"
|
1510 |
-
msgstr ""
|
1511 |
|
1512 |
#: wp-statistics/includes/functions/functions.php:895
|
1513 |
msgid "3 Months"
|
1514 |
-
msgstr ""
|
1515 |
|
1516 |
#: wp-statistics/includes/functions/functions.php:895
|
1517 |
msgid "6 Months"
|
1518 |
-
msgstr ""
|
1519 |
|
1520 |
#: wp-statistics/includes/functions/functions.php:895
|
1521 |
msgid "9 Months"
|
1522 |
-
msgstr ""
|
1523 |
|
1524 |
#: wp-statistics/includes/functions/functions.php:895
|
1525 |
msgid "1 Year"
|
1526 |
-
msgstr ""
|
1527 |
|
1528 |
#: wp-statistics/includes/log/exclusions.php:73
|
1529 |
msgid "Exclusions Statistical Chart"
|
@@ -1531,7 +1531,7 @@ msgstr ""
|
|
1531 |
|
1532 |
#: wp-statistics/includes/log/exclusions.php:95
|
1533 |
msgid "Excluded hits in the last"
|
1534 |
-
msgstr ""
|
1535 |
|
1536 |
#: wp-statistics/includes/log/exclusions.php:95
|
1537 |
#: wp-statistics/includes/log/hit-statistics.php:66
|
@@ -1540,7 +1540,7 @@ msgstr ""
|
|
1540 |
#: wp-statistics/includes/log/widgets/search.php:42
|
1541 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:208
|
1542 |
msgid "days"
|
1543 |
-
msgstr ""
|
1544 |
|
1545 |
#: wp-statistics/includes/log/exclusions.php:116
|
1546 |
msgid "Number of excluded hits"
|
@@ -1553,12 +1553,12 @@ msgstr ""
|
|
1553 |
#: wp-statistics/includes/log/hit-statistics.php:66
|
1554 |
#: wp-statistics/includes/log/widgets/hits.php:44
|
1555 |
msgid "Hits in the last"
|
1556 |
-
msgstr ""
|
1557 |
|
1558 |
#: wp-statistics/includes/log/hit-statistics.php:87
|
1559 |
#: wp-statistics/includes/log/widgets/hits.php:65
|
1560 |
msgid "Number of visits and visitors"
|
1561 |
-
msgstr ""
|
1562 |
|
1563 |
#: wp-statistics/includes/log/hit-statistics.php:101
|
1564 |
#: wp-statistics/includes/log/hit-statistics.php:170
|
@@ -1566,7 +1566,7 @@ msgstr ""
|
|
1566 |
#: wp-statistics/includes/log/widgets/quickstats.php:24
|
1567 |
#: wp-statistics/includes/log/widgets/summary.php:24
|
1568 |
msgid "Visit"
|
1569 |
-
msgstr ""
|
1570 |
|
1571 |
#: wp-statistics/includes/log/hit-statistics.php:101
|
1572 |
#: wp-statistics/includes/log/hit-statistics.php:171
|
@@ -1574,7 +1574,7 @@ msgstr ""
|
|
1574 |
#: wp-statistics/includes/log/widgets/quickstats.php:23
|
1575 |
#: wp-statistics/includes/log/widgets/summary.php:23
|
1576 |
msgid "Visitor"
|
1577 |
-
msgstr ""
|
1578 |
|
1579 |
#: wp-statistics/includes/log/last-search.php:65
|
1580 |
msgid "Latest Search Word Statistics"
|
@@ -1587,7 +1587,7 @@ msgstr ""
|
|
1587 |
#: wp-statistics/includes/log/widgets/recent.php:14
|
1588 |
#: wp-statistics/includes/log/widgets/words.php:27
|
1589 |
msgid "#hash#"
|
1590 |
-
msgstr ""
|
1591 |
|
1592 |
#: wp-statistics/includes/log/last-search.php:115
|
1593 |
#: wp-statistics/includes/log/last-visitor.php:106
|
@@ -1597,7 +1597,7 @@ msgstr ""
|
|
1597 |
#: wp-statistics/includes/log/widgets/words.php:42
|
1598 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:60
|
1599 |
msgid "Map"
|
1600 |
-
msgstr ""
|
1601 |
|
1602 |
#: wp-statistics/includes/log/last-search.php:159
|
1603 |
#: wp-statistics/includes/log/last-visitor.php:139
|
@@ -1605,7 +1605,7 @@ msgstr ""
|
|
1605 |
#: wp-statistics/includes/log/top-pages.php:205
|
1606 |
#: wp-statistics/includes/log/top-referring.php:153
|
1607 |
msgid "Page"
|
1608 |
-
msgstr ""
|
1609 |
|
1610 |
#: wp-statistics/includes/log/last-search.php:159
|
1611 |
#: wp-statistics/includes/log/last-visitor.php:139
|
@@ -1613,7 +1613,7 @@ msgstr ""
|
|
1613 |
#: wp-statistics/includes/log/top-pages.php:205
|
1614 |
#: wp-statistics/includes/log/top-referring.php:153
|
1615 |
msgid "From"
|
1616 |
-
msgstr ""
|
1617 |
|
1618 |
#: wp-statistics/includes/log/last-search.php:47
|
1619 |
#: wp-statistics/includes/log/last-visitor.php:38
|
@@ -1622,7 +1622,7 @@ msgstr ""
|
|
1622 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:192
|
1623 |
#: wp-statistics/widget.php:309
|
1624 |
msgid "All"
|
1625 |
-
msgstr ""
|
1626 |
|
1627 |
#: wp-statistics/includes/log/last-visitor.php:68
|
1628 |
msgid "Recent Visitor Statistics"
|
@@ -1635,7 +1635,7 @@ msgstr ""
|
|
1635 |
|
1636 |
#: wp-statistics/includes/log/online.php:75
|
1637 |
msgid "Online for "
|
1638 |
-
msgstr ""
|
1639 |
|
1640 |
#: wp-statistics/includes/log/page-statistics.php:26
|
1641 |
msgid "Page Trend for Post ID"
|
@@ -1658,7 +1658,7 @@ msgstr ""
|
|
1658 |
#: wp-statistics/includes/log/search-statistics.php:90
|
1659 |
#: wp-statistics/includes/log/widgets/search.php:63
|
1660 |
msgid "Number of referrals"
|
1661 |
-
msgstr ""
|
1662 |
|
1663 |
#: wp-statistics/includes/log/exclusions.php:24
|
1664 |
#: wp-statistics/includes/log/search-statistics.php:104
|
@@ -1673,25 +1673,25 @@ msgstr ""
|
|
1673 |
#: wp-statistics/includes/log/top-countries.php:18
|
1674 |
#: wp-statistics/includes/log/top-countries.php:27
|
1675 |
msgid "Top Countries"
|
1676 |
-
msgstr ""
|
1677 |
|
1678 |
#: wp-statistics/includes/log/top-countries.php:31
|
1679 |
#: wp-statistics/includes/log/widgets/countries.php:9
|
1680 |
#: wp-statistics/includes/log/widgets/top.visitors.php:11
|
1681 |
msgid "Rank"
|
1682 |
-
msgstr ""
|
1683 |
|
1684 |
#: wp-statistics/includes/log/top-countries.php:32
|
1685 |
#: wp-statistics/includes/log/widgets/countries.php:10
|
1686 |
#: wp-statistics/includes/log/widgets/top.visitors.php:13
|
1687 |
msgid "Flag"
|
1688 |
-
msgstr ""
|
1689 |
|
1690 |
#: wp-statistics/includes/log/top-countries.php:33
|
1691 |
#: wp-statistics/includes/log/widgets/countries.php:11
|
1692 |
#: wp-statistics/includes/log/widgets/top.visitors.php:14
|
1693 |
msgid "Country"
|
1694 |
-
msgstr ""
|
1695 |
|
1696 |
#: wp-statistics/includes/log/top-countries.php:34
|
1697 |
#: wp-statistics/includes/log/widgets/countries.php:12
|
@@ -1705,7 +1705,7 @@ msgstr ""
|
|
1705 |
|
1706 |
#: wp-statistics/includes/log/top-pages.php:30
|
1707 |
msgid "Top 5 Pages Trends"
|
1708 |
-
msgstr ""
|
1709 |
|
1710 |
#: wp-statistics/includes/log/top-pages.php:67
|
1711 |
msgid "Top 5 Page Trending Stats"
|
@@ -1719,7 +1719,7 @@ msgstr ""
|
|
1719 |
#: wp-statistics/includes/log/top-pages.php:184
|
1720 |
#: wp-statistics/includes/log/widgets/pages.php:13
|
1721 |
msgid "No page title found"
|
1722 |
-
msgstr ""
|
1723 |
|
1724 |
#: wp-statistics/includes/log/top-pages.php:187
|
1725 |
#: wp-statistics/includes/log/widgets/pages.php:16
|
@@ -1728,11 +1728,11 @@ msgstr ""
|
|
1728 |
#: wp-statistics/includes/settings/tabs/wps-general.php:127
|
1729 |
#: wp-statistics/shortcode.php:139
|
1730 |
msgid "Visits"
|
1731 |
-
msgstr ""
|
1732 |
|
1733 |
#: wp-statistics/includes/log/top-referring.php:4
|
1734 |
msgid "To be added soon"
|
1735 |
-
msgstr ""
|
1736 |
|
1737 |
#: wp-statistics/includes/log/top-referring.php:79
|
1738 |
msgid "Referring sites from"
|
@@ -1741,7 +1741,7 @@ msgstr ""
|
|
1741 |
#: wp-statistics/includes/log/top-referring.php:137
|
1742 |
#: wp-statistics/includes/log/widgets/referring.php:35
|
1743 |
msgid "References"
|
1744 |
-
msgstr ""
|
1745 |
|
1746 |
#: wp-statistics/includes/log/top-visitors.php:12
|
1747 |
msgid "Top 100 Visitors Today"
|
@@ -1753,7 +1753,7 @@ msgstr ""
|
|
1753 |
|
1754 |
#: wp-statistics/includes/log/widgets/about.php:11
|
1755 |
msgid "Website"
|
1756 |
-
msgstr ""
|
1757 |
|
1758 |
#: wp-statistics/includes/log/widgets/about.php:12
|
1759 |
msgid "Rate and Review"
|
@@ -1761,12 +1761,12 @@ msgstr ""
|
|
1761 |
|
1762 |
#: wp-statistics/includes/log/widgets/about.php:16
|
1763 |
msgid "More Information"
|
1764 |
-
msgstr ""
|
1765 |
|
1766 |
#: wp-statistics/includes/log/widgets/about.php:25
|
1767 |
#: wp-statistics/includes/settings/tabs/wps-about.php:12
|
1768 |
msgid "This product includes GeoLite2 data created by MaxMind, available from %s."
|
1769 |
-
msgstr ""
|
1770 |
|
1771 |
#: wp-statistics/includes/log/widgets/browsers.php:34
|
1772 |
msgid "Other"
|
@@ -1778,45 +1778,45 @@ msgstr ""
|
|
1778 |
|
1779 |
#: wp-statistics/includes/log/widgets/referring.php:36
|
1780 |
msgid "Address"
|
1781 |
-
msgstr ""
|
1782 |
|
1783 |
#: wp-statistics/includes/log/widgets/quickstats.php:12
|
1784 |
msgid "User(s) Online"
|
1785 |
-
msgstr ""
|
1786 |
|
1787 |
#: wp-statistics/includes/log/widgets/quickstats.php:28
|
1788 |
#: wp-statistics/includes/log/widgets/quickstats.php:80
|
1789 |
#: wp-statistics/includes/log/widgets/summary.php:28
|
1790 |
#: wp-statistics/includes/log/widgets/summary.php:80
|
1791 |
msgid "Today"
|
1792 |
-
msgstr ""
|
1793 |
|
1794 |
#: wp-statistics/includes/log/widgets/quickstats.php:34
|
1795 |
#: wp-statistics/includes/log/widgets/quickstats.php:81
|
1796 |
#: wp-statistics/includes/log/widgets/summary.php:34
|
1797 |
#: wp-statistics/includes/log/widgets/summary.php:81
|
1798 |
msgid "Yesterday"
|
1799 |
-
msgstr ""
|
1800 |
|
1801 |
#: wp-statistics/includes/log/widgets/quickstats.php:99
|
1802 |
#: wp-statistics/includes/log/widgets/summary.php:99
|
1803 |
msgid "Daily Total"
|
1804 |
-
msgstr ""
|
1805 |
|
1806 |
#: wp-statistics/includes/log/widgets/quickstats.php:118
|
1807 |
#: wp-statistics/includes/log/widgets/summary.php:118
|
1808 |
msgid "Current Time and Date"
|
1809 |
-
msgstr ""
|
1810 |
|
1811 |
#: wp-statistics/includes/log/widgets/quickstats.php:118
|
1812 |
#: wp-statistics/includes/log/widgets/summary.php:118
|
1813 |
msgid "(Adjustment)"
|
1814 |
-
msgstr ""
|
1815 |
|
1816 |
#: wp-statistics/includes/log/widgets/quickstats.php:122
|
1817 |
#: wp-statistics/includes/log/widgets/summary.php:122
|
1818 |
msgid "Date: %s"
|
1819 |
-
msgstr ""
|
1820 |
|
1821 |
#: wp-statistics/includes/log/widgets/quickstats.php:126
|
1822 |
#: wp-statistics/includes/log/widgets/summary.php:126
|
@@ -1832,23 +1832,23 @@ msgstr ""
|
|
1832 |
|
1833 |
#: wp-statistics/includes/log/widgets/top.visitors.php:15
|
1834 |
msgid "IP"
|
1835 |
-
msgstr ""
|
1836 |
|
1837 |
#: wp-statistics/includes/log/widgets/top.visitors.php:17
|
1838 |
msgid "Agent"
|
1839 |
-
msgstr ""
|
1840 |
|
1841 |
#: wp-statistics/includes/log/widgets/top.visitors.php:19
|
1842 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:302
|
1843 |
msgid "Version"
|
1844 |
-
msgstr ""
|
1845 |
|
1846 |
#: wp-statistics/ajax.php:41 wp-statistics/ajax.php:71
|
1847 |
#: wp-statistics/ajax.php:129 wp-statistics/ajax.php:154
|
1848 |
#: wp-statistics/ajax.php:184 wp-statistics/ajax.php:296
|
1849 |
#: wp-statistics/includes/optimization/wps-optimization.php:6
|
1850 |
msgid "Access denied!"
|
1851 |
-
msgstr ""
|
1852 |
|
1853 |
#: wp-statistics/ajax.php:31
|
1854 |
msgid "%s agent data deleted successfully."
|
@@ -1877,7 +1877,7 @@ msgstr ""
|
|
1877 |
|
1878 |
#: wp-statistics/includes/functions/functions.php:1003
|
1879 |
msgid "Error, %s not emptied!"
|
1880 |
-
msgstr ""
|
1881 |
|
1882 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:5
|
1883 |
msgid "Database Setup"
|
@@ -1889,7 +1889,7 @@ msgstr ""
|
|
1889 |
|
1890 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:14
|
1891 |
msgid "Install Now!"
|
1892 |
-
msgstr ""
|
1893 |
|
1894 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:15
|
1895 |
msgid "If for some reason your installation of WP Statistics is missing the database tables or other core items, this will re-execute the install process."
|
@@ -1897,13 +1897,13 @@ msgstr ""
|
|
1897 |
|
1898 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:20
|
1899 |
msgid "Database Index"
|
1900 |
-
msgstr ""
|
1901 |
|
1902 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:25
|
1903 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:21
|
1904 |
#: wp-statistics/wp-statistics.php:416 wp-statistics/wp-statistics.php:530
|
1905 |
msgid "Countries"
|
1906 |
-
msgstr ""
|
1907 |
|
1908 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:42
|
1909 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:74
|
@@ -1934,11 +1934,11 @@ msgstr ""
|
|
1934 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:8
|
1935 |
#: wp-statistics/includes/optimization/wps-optimization.php:235
|
1936 |
msgid "Export"
|
1937 |
-
msgstr ""
|
1938 |
|
1939 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:13
|
1940 |
msgid "Export from"
|
1941 |
-
msgstr ""
|
1942 |
|
1943 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:18
|
1944 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:37
|
@@ -1948,27 +1948,27 @@ msgstr ""
|
|
1948 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:134
|
1949 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:164
|
1950 |
msgid "Please select"
|
1951 |
-
msgstr ""
|
1952 |
|
1953 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:26
|
1954 |
msgid "Select the table for the output file."
|
1955 |
-
msgstr ""
|
1956 |
|
1957 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:32
|
1958 |
msgid "Export To"
|
1959 |
-
msgstr ""
|
1960 |
|
1961 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:42
|
1962 |
msgid "Select the output file type."
|
1963 |
-
msgstr ""
|
1964 |
|
1965 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:48
|
1966 |
msgid "Include Header Row"
|
1967 |
-
msgstr ""
|
1968 |
|
1969 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:53
|
1970 |
msgid "Include a header row as the first line of the exported file."
|
1971 |
-
msgstr ""
|
1972 |
|
1973 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:54
|
1974 |
msgid "Start Now!"
|
@@ -1976,7 +1976,7 @@ msgstr ""
|
|
1976 |
|
1977 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:15
|
1978 |
msgid "Historical Values"
|
1979 |
-
msgstr ""
|
1980 |
|
1981 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:20
|
1982 |
msgid "Note: As you have just purged the database you must reload this page for these numbers to be correct."
|
@@ -1988,7 +1988,7 @@ msgstr ""
|
|
1988 |
#: wp-statistics/shortcode.php:140 wp-statistics/wp-statistics.php:425
|
1989 |
#: wp-statistics/wp-statistics.php:539
|
1990 |
msgid "Visitors"
|
1991 |
-
msgstr ""
|
1992 |
|
1993 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:31
|
1994 |
msgid "Number of historical number of visitors to the site (current value is %s)."
|
@@ -2000,7 +2000,7 @@ msgstr ""
|
|
2000 |
|
2001 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:48
|
2002 |
msgid "Update now!"
|
2003 |
-
msgstr ""
|
2004 |
|
2005 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:10
|
2006 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:43
|
@@ -2008,11 +2008,11 @@ msgstr ""
|
|
2008 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:107
|
2009 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:141
|
2010 |
msgid "Are you sure?"
|
2011 |
-
msgstr ""
|
2012 |
|
2013 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:175
|
2014 |
msgid "Data"
|
2015 |
-
msgstr ""
|
2016 |
|
2017 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:180
|
2018 |
msgid "Empty Table"
|
@@ -2020,7 +2020,7 @@ msgstr ""
|
|
2020 |
|
2021 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:194
|
2022 |
msgid "All data table will be lost."
|
2023 |
-
msgstr ""
|
2024 |
|
2025 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:195
|
2026 |
msgid "Clear now!"
|
@@ -2028,7 +2028,7 @@ msgstr ""
|
|
2028 |
|
2029 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:203
|
2030 |
msgid "Purge records older than"
|
2031 |
-
msgstr ""
|
2032 |
|
2033 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:209
|
2034 |
msgid "Deleted user statistics data older than the selected number of days. Minimum value is 30 days."
|
@@ -2037,11 +2037,11 @@ msgstr ""
|
|
2037 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:210
|
2038 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:225
|
2039 |
msgid "Purge now!"
|
2040 |
-
msgstr ""
|
2041 |
|
2042 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:232
|
2043 |
msgid "Delete User Agent Types"
|
2044 |
-
msgstr ""
|
2045 |
|
2046 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:237
|
2047 |
msgid "Delete Agents"
|
@@ -2049,41 +2049,41 @@ msgstr ""
|
|
2049 |
|
2050 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:252
|
2051 |
msgid "All visitor data will be lost for this agent type."
|
2052 |
-
msgstr ""
|
2053 |
|
2054 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:253
|
2055 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:277
|
2056 |
msgid "Delete now!"
|
2057 |
-
msgstr ""
|
2058 |
|
2059 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:261
|
2060 |
msgid "Delete Platforms"
|
2061 |
-
msgstr ""
|
2062 |
|
2063 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:276
|
2064 |
msgid "All visitor data will be lost for this platform type."
|
2065 |
-
msgstr ""
|
2066 |
|
2067 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:17
|
2068 |
msgid "Resources"
|
2069 |
-
msgstr ""
|
2070 |
|
2071 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:22
|
2072 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:27
|
2073 |
msgid "Memory usage in PHP"
|
2074 |
-
msgstr ""
|
2075 |
|
2076 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:26
|
2077 |
msgid "Byte"
|
2078 |
-
msgstr ""
|
2079 |
|
2080 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:33
|
2081 |
msgid "PHP Memory Limit"
|
2082 |
-
msgstr ""
|
2083 |
|
2084 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:38
|
2085 |
msgid "The memory limit a script is allowed to consume, set in php.ini."
|
2086 |
-
msgstr ""
|
2087 |
|
2088 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:44
|
2089 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:55
|
@@ -2103,7 +2103,7 @@ msgstr ""
|
|
2103 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:103
|
2104 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:114
|
2105 |
msgid "Row"
|
2106 |
-
msgstr ""
|
2107 |
|
2108 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:49
|
2109 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:60
|
@@ -2113,11 +2113,11 @@ msgstr ""
|
|
2113 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:104
|
2114 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:115
|
2115 |
msgid "Number of rows"
|
2116 |
-
msgstr ""
|
2117 |
|
2118 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:120
|
2119 |
msgid "Version Info"
|
2120 |
-
msgstr ""
|
2121 |
|
2122 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:125
|
2123 |
msgid "WP Statistics Version"
|
@@ -2137,7 +2137,7 @@ msgstr ""
|
|
2137 |
|
2138 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:147
|
2139 |
msgid "PHP Safe Mode"
|
2140 |
-
msgstr ""
|
2141 |
|
2142 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:152
|
2143 |
msgid "Is PHP Safe Mode active. The GeoIP code is not supported in Safe Mode."
|
@@ -2145,11 +2145,11 @@ msgstr ""
|
|
2145 |
|
2146 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:169
|
2147 |
msgid "jQuery Version"
|
2148 |
-
msgstr ""
|
2149 |
|
2150 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:174
|
2151 |
msgid "The jQuery version you are running."
|
2152 |
-
msgstr ""
|
2153 |
|
2154 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:180
|
2155 |
msgid "cURL Version"
|
@@ -2165,11 +2165,11 @@ msgstr ""
|
|
2165 |
|
2166 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:195
|
2167 |
msgid "Installed"
|
2168 |
-
msgstr ""
|
2169 |
|
2170 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:195
|
2171 |
msgid "Not installed"
|
2172 |
-
msgstr ""
|
2173 |
|
2174 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:201
|
2175 |
msgid "File Info"
|
@@ -2177,7 +2177,7 @@ msgstr ""
|
|
2177 |
|
2178 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:206
|
2179 |
msgid "GeoIP Database"
|
2180 |
-
msgstr ""
|
2181 |
|
2182 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:215
|
2183 |
msgid "Database file does not exist."
|
@@ -2187,23 +2187,23 @@ msgstr ""
|
|
2187 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:236
|
2188 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:255
|
2189 |
msgid ", created on "
|
2190 |
-
msgstr ""
|
2191 |
|
2192 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:219
|
2193 |
msgid "The file size and date of the GeoIP database."
|
2194 |
-
msgstr ""
|
2195 |
|
2196 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:225
|
2197 |
msgid "browscap.ini File"
|
2198 |
-
msgstr ""
|
2199 |
|
2200 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:234
|
2201 |
msgid "browscap.ini file does not exist."
|
2202 |
-
msgstr ""
|
2203 |
|
2204 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:238
|
2205 |
msgid "The file size and date of the browscap.ini file."
|
2206 |
-
msgstr ""
|
2207 |
|
2208 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:244
|
2209 |
msgid "browscap Cache File"
|
@@ -2211,7 +2211,7 @@ msgstr ""
|
|
2211 |
|
2212 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:253
|
2213 |
msgid "browscap cache file does not exist."
|
2214 |
-
msgstr ""
|
2215 |
|
2216 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:257
|
2217 |
msgid "The file size and date of the browscap cache file."
|
@@ -2219,11 +2219,11 @@ msgstr ""
|
|
2219 |
|
2220 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:262
|
2221 |
msgid "Client Info"
|
2222 |
-
msgstr ""
|
2223 |
|
2224 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:267
|
2225 |
msgid "Client IP"
|
2226 |
-
msgstr ""
|
2227 |
|
2228 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:272
|
2229 |
msgid "The client IP address."
|
@@ -2239,7 +2239,7 @@ msgstr ""
|
|
2239 |
|
2240 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:289
|
2241 |
msgid "Browser"
|
2242 |
-
msgstr ""
|
2243 |
|
2244 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:296
|
2245 |
msgid "The detected client browser."
|
@@ -2247,11 +2247,11 @@ msgstr ""
|
|
2247 |
|
2248 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:307
|
2249 |
msgid "The detected client browser version."
|
2250 |
-
msgstr ""
|
2251 |
|
2252 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:318
|
2253 |
msgid "The detected client platform."
|
2254 |
-
msgstr ""
|
2255 |
|
2256 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:4
|
2257 |
msgid "This will replace all IP addresses in the database with hash values and cannot be undo, are you sure?"
|
@@ -2259,7 +2259,7 @@ msgstr ""
|
|
2259 |
|
2260 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:16
|
2261 |
msgid "GeoIP Options"
|
2262 |
-
msgstr ""
|
2263 |
|
2264 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:26
|
2265 |
msgid "Updates any unknown location data in the database, this may take a while"
|
@@ -2268,20 +2268,20 @@ msgstr ""
|
|
2268 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:31
|
2269 |
#: wp-statistics/includes/settings/tabs/wps-general.php:66
|
2270 |
msgid "IP Addresses"
|
2271 |
-
msgstr ""
|
2272 |
|
2273 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:36
|
2274 |
#: wp-statistics/includes/settings/tabs/wps-general.php:71
|
2275 |
msgid "Hash IP Addresses"
|
2276 |
-
msgstr ""
|
2277 |
|
2278 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:41
|
2279 |
msgid "Replace IP addresses in the database with hash values, you will not be able to recover the IP addresses in the future to populate location information afterwards and this may take a while"
|
2280 |
-
msgstr ""
|
2281 |
|
2282 |
#: wp-statistics/includes/optimization/wps-optimization.php:43
|
2283 |
msgid "IP Addresses replaced with hash values."
|
2284 |
-
msgstr ""
|
2285 |
|
2286 |
#: wp-statistics/includes/optimization/wps-optimization.php:51
|
2287 |
msgid "Install routine complete."
|
@@ -2289,7 +2289,7 @@ msgstr ""
|
|
2289 |
|
2290 |
#: wp-statistics/includes/optimization/wps-optimization.php:234
|
2291 |
msgid "Resources/Information"
|
2292 |
-
msgstr ""
|
2293 |
|
2294 |
#: wp-statistics/includes/optimization/wps-optimization.php:236
|
2295 |
msgid "Purging"
|
@@ -2297,23 +2297,23 @@ msgstr ""
|
|
2297 |
|
2298 |
#: wp-statistics/includes/optimization/wps-optimization.php:237
|
2299 |
msgid "Database"
|
2300 |
-
msgstr ""
|
2301 |
|
2302 |
#: wp-statistics/includes/optimization/wps-optimization.php:238
|
2303 |
msgid "Updates"
|
2304 |
-
msgstr ""
|
2305 |
|
2306 |
#: wp-statistics/includes/optimization/wps-optimization.php:239
|
2307 |
msgid "Historical"
|
2308 |
-
msgstr ""
|
2309 |
|
2310 |
#: wp-statistics/includes/settings/tabs/wps-about.php:8
|
2311 |
msgid "WP Statistics V%s"
|
2312 |
-
msgstr ""
|
2313 |
|
2314 |
#: wp-statistics/includes/settings/tabs/wps-about.php:28
|
2315 |
msgid "Visit Us Online"
|
2316 |
-
msgstr ""
|
2317 |
|
2318 |
#: wp-statistics/includes/settings/tabs/wps-about.php:32
|
2319 |
msgid "Come visit our great new %s and keep up to date on the latest news about WP Statistics."
|
@@ -2321,7 +2321,7 @@ msgstr ""
|
|
2321 |
|
2322 |
#: wp-statistics/includes/settings/tabs/wps-about.php:32
|
2323 |
msgid "website"
|
2324 |
-
msgstr ""
|
2325 |
|
2326 |
#: wp-statistics/includes/settings/tabs/wps-about.php:36
|
2327 |
msgid "Rate and Review at WordPress.org"
|
@@ -2329,11 +2329,11 @@ msgstr ""
|
|
2329 |
|
2330 |
#: wp-statistics/includes/settings/tabs/wps-about.php:40
|
2331 |
msgid "Thanks for installing WP Statistics, we encourage you to submit a "
|
2332 |
-
msgstr ""
|
2333 |
|
2334 |
#: wp-statistics/includes/settings/tabs/wps-about.php:40
|
2335 |
msgid "rating and review"
|
2336 |
-
msgstr ""
|
2337 |
|
2338 |
#: wp-statistics/includes/settings/tabs/wps-about.php:40
|
2339 |
msgid "over at WordPress.org. Your feedback is greatly appreciated!"
|
@@ -2341,7 +2341,7 @@ msgstr ""
|
|
2341 |
|
2342 |
#: wp-statistics/includes/settings/tabs/wps-about.php:44
|
2343 |
msgid "Translations"
|
2344 |
-
msgstr ""
|
2345 |
|
2346 |
#: wp-statistics/includes/settings/tabs/wps-about.php:48
|
2347 |
msgid "WP Statistics supports internationalization and we encourage our users to submit translations, please visit our %s to see the current status and %s if you would like to help."
|
@@ -2357,7 +2357,7 @@ msgstr ""
|
|
2357 |
|
2358 |
#: wp-statistics/includes/settings/tabs/wps-about.php:52
|
2359 |
msgid "Support"
|
2360 |
-
msgstr ""
|
2361 |
|
2362 |
#: wp-statistics/includes/settings/tabs/wps-about.php:57
|
2363 |
msgid "We're sorry you're having problem with WP Statistics and we're happy to help out. Here are a few things to do before contacting us:"
|
@@ -2370,11 +2370,11 @@ msgstr ""
|
|
2370 |
|
2371 |
#: wp-statistics/includes/settings/tabs/wps-about.php:60
|
2372 |
msgid "FAQs"
|
2373 |
-
msgstr ""
|
2374 |
|
2375 |
#: wp-statistics/includes/settings/tabs/wps-about.php:61
|
2376 |
msgid "manual"
|
2377 |
-
msgstr ""
|
2378 |
|
2379 |
#: wp-statistics/includes/settings/tabs/wps-about.php:62
|
2380 |
msgid "Have you search the %s for a similar issue?"
|
@@ -2382,11 +2382,11 @@ msgstr ""
|
|
2382 |
|
2383 |
#: wp-statistics/includes/settings/tabs/wps-about.php:62
|
2384 |
msgid "support forum"
|
2385 |
-
msgstr ""
|
2386 |
|
2387 |
#: wp-statistics/includes/settings/tabs/wps-about.php:63
|
2388 |
msgid "Have you search the Internet for any error messages you are receiving?"
|
2389 |
-
msgstr ""
|
2390 |
|
2391 |
#: wp-statistics/includes/settings/tabs/wps-about.php:64
|
2392 |
msgid "Make sure you have access to your PHP error logs."
|
@@ -2394,47 +2394,47 @@ msgstr ""
|
|
2394 |
|
2395 |
#: wp-statistics/includes/settings/tabs/wps-about.php:67
|
2396 |
msgid "And a few things to double-check:"
|
2397 |
-
msgstr ""
|
2398 |
|
2399 |
#: wp-statistics/includes/settings/tabs/wps-about.php:70
|
2400 |
msgid "How's your memory_limit in php.ini?"
|
2401 |
-
msgstr ""
|
2402 |
|
2403 |
#: wp-statistics/includes/settings/tabs/wps-about.php:71
|
2404 |
msgid "Have you tried disabling any other plugins you may have installed?"
|
2405 |
-
msgstr ""
|
2406 |
|
2407 |
#: wp-statistics/includes/settings/tabs/wps-about.php:72
|
2408 |
msgid "Have you tried using the default WordPress theme?"
|
2409 |
-
msgstr ""
|
2410 |
|
2411 |
#: wp-statistics/includes/settings/tabs/wps-about.php:73
|
2412 |
msgid "Have you double checked the plugin settings?"
|
2413 |
-
msgstr ""
|
2414 |
|
2415 |
#: wp-statistics/includes/settings/tabs/wps-about.php:74
|
2416 |
msgid "Do you have all the required PHP extensions installed?"
|
2417 |
-
msgstr ""
|
2418 |
|
2419 |
#: wp-statistics/includes/settings/tabs/wps-about.php:75
|
2420 |
msgid "Are you getting a blank or incomplete page displayed in your browser? Did you view the source for the page and check for any fatal errors?"
|
2421 |
-
msgstr ""
|
2422 |
|
2423 |
#: wp-statistics/includes/settings/tabs/wps-about.php:76
|
2424 |
msgid "Have you checked your PHP and web server error logs?"
|
2425 |
-
msgstr ""
|
2426 |
|
2427 |
#: wp-statistics/includes/settings/tabs/wps-about.php:79
|
2428 |
msgid "Still not having any luck?"
|
2429 |
-
msgstr ""
|
2430 |
|
2431 |
#: wp-statistics/includes/settings/tabs/wps-about.php:79
|
2432 |
msgid "Then please open a new thread on the %s and we'll respond as soon as possible."
|
2433 |
-
msgstr ""
|
2434 |
|
2435 |
#: wp-statistics/includes/settings/tabs/wps-about.php:79
|
2436 |
msgid "WordPress.org support forum"
|
2437 |
-
msgstr ""
|
2438 |
|
2439 |
#: wp-statistics/includes/settings/tabs/wps-about.php:83
|
2440 |
msgid "Alternatively %s support is available as well."
|
@@ -2442,11 +2442,11 @@ msgstr ""
|
|
2442 |
|
2443 |
#: wp-statistics/includes/settings/tabs/wps-about.php:83
|
2444 |
msgid "Farsi"
|
2445 |
-
msgstr ""
|
2446 |
|
2447 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:21
|
2448 |
msgid "WP Statistics Honey Pot Page"
|
2449 |
-
msgstr ""
|
2450 |
|
2451 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:22
|
2452 |
msgid "This is the honey pot for WP Statistics to use, do not delete."
|
@@ -2459,11 +2459,11 @@ msgstr ""
|
|
2459 |
|
2460 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:52
|
2461 |
msgid "Required user level to view WP Statistics"
|
2462 |
-
msgstr ""
|
2463 |
|
2464 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:67
|
2465 |
msgid "Required user level to manage WP Statistics"
|
2466 |
-
msgstr ""
|
2467 |
|
2468 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:75
|
2469 |
msgid "See the %s for details on capability levels."
|
@@ -2501,7 +2501,7 @@ msgstr ""
|
|
2501 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:136
|
2502 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:153
|
2503 |
msgid "Enable"
|
2504 |
-
msgstr ""
|
2505 |
|
2506 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:53
|
2507 |
msgid "This will record all the excluded hits in a separate table with the reasons why it was excluded but no other information. This will generate a lot of data but is useful if you want to see the total number of hits your site gets, not just actual user visits."
|
@@ -2517,7 +2517,7 @@ msgstr ""
|
|
2517 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:213
|
2518 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:220
|
2519 |
msgid "Exclude"
|
2520 |
-
msgstr ""
|
2521 |
|
2522 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:75
|
2523 |
msgid "Exclude %s role from data collection."
|
@@ -2525,11 +2525,11 @@ msgstr ""
|
|
2525 |
|
2526 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:81
|
2527 |
msgid "IP/Robot Exclusions"
|
2528 |
-
msgstr ""
|
2529 |
|
2530 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:85
|
2531 |
msgid "Robot list"
|
2532 |
-
msgstr ""
|
2533 |
|
2534 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:98
|
2535 |
msgid "A list of words (one per line) to match against to detect robots. Entries must be at least 4 characters long or they will be ignored."
|
@@ -2537,7 +2537,7 @@ msgstr ""
|
|
2537 |
|
2538 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:99
|
2539 |
msgid "Reset to Default"
|
2540 |
-
msgstr ""
|
2541 |
|
2542 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:104
|
2543 |
msgid "Force robot list update after upgrades"
|
@@ -2557,23 +2557,23 @@ msgstr ""
|
|
2557 |
|
2558 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:120
|
2559 |
msgid "Excluded IP address list"
|
2560 |
-
msgstr ""
|
2561 |
|
2562 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:126
|
2563 |
msgid "Add 10.0.0.0"
|
2564 |
-
msgstr ""
|
2565 |
|
2566 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:127
|
2567 |
msgid "Add 172.16.0.0"
|
2568 |
-
msgstr ""
|
2569 |
|
2570 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:128
|
2571 |
msgid "Add 192.168.0.0"
|
2572 |
-
msgstr ""
|
2573 |
|
2574 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:134
|
2575 |
msgid "Use honey pot"
|
2576 |
-
msgstr ""
|
2577 |
|
2578 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:137
|
2579 |
msgid "Use a honey pot page to identify robots."
|
@@ -2581,11 +2581,11 @@ msgstr ""
|
|
2581 |
|
2582 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:142
|
2583 |
msgid "Honey pot post id"
|
2584 |
-
msgstr ""
|
2585 |
|
2586 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:145
|
2587 |
msgid "The post id to use for the honeypot page."
|
2588 |
-
msgstr ""
|
2589 |
|
2590 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:146
|
2591 |
msgid "Create a new honey pot page"
|
@@ -2601,7 +2601,7 @@ msgstr ""
|
|
2601 |
|
2602 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:166
|
2603 |
msgid "A list of country codes (one per line, two letters each) to exclude from statistics collection. Use \"000\" (three zeros) to exclude unknown countries."
|
2604 |
-
msgstr ""
|
2605 |
|
2606 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:171
|
2607 |
msgid "Included countries list"
|
@@ -2637,7 +2637,7 @@ msgstr ""
|
|
2637 |
|
2638 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:200
|
2639 |
msgid "Exclude the login page for registering as a hit."
|
2640 |
-
msgstr ""
|
2641 |
|
2642 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:204
|
2643 |
msgid "Excluded admin pages"
|
@@ -2649,19 +2649,19 @@ msgstr ""
|
|
2649 |
|
2650 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:211
|
2651 |
msgid "Excluded RSS feeds"
|
2652 |
-
msgstr ""
|
2653 |
|
2654 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:214
|
2655 |
msgid "Exclude the RSS feeds for registering as a hit."
|
2656 |
-
msgstr ""
|
2657 |
|
2658 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:162
|
2659 |
msgid "browscap settings"
|
2660 |
-
msgstr ""
|
2661 |
|
2662 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:167
|
2663 |
msgid "browscap usage"
|
2664 |
-
msgstr ""
|
2665 |
|
2666 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:52
|
2667 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:76
|
@@ -2696,11 +2696,11 @@ msgstr ""
|
|
2696 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:54
|
2697 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:74
|
2698 |
msgid "Active"
|
2699 |
-
msgstr ""
|
2700 |
|
2701 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:173
|
2702 |
msgid "The browscap database will be downloaded and used to detect robots."
|
2703 |
-
msgstr ""
|
2704 |
|
2705 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:179
|
2706 |
msgid "Update browscap Info"
|
@@ -2708,43 +2708,43 @@ msgstr ""
|
|
2708 |
|
2709 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:184
|
2710 |
msgid "Download browscap Database"
|
2711 |
-
msgstr ""
|
2712 |
|
2713 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:65
|
2714 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:185
|
2715 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:249
|
2716 |
msgid "Save changes on this page to download the update."
|
2717 |
-
msgstr ""
|
2718 |
|
2719 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:191
|
2720 |
msgid "Schedule weekly update of browscap DB"
|
2721 |
-
msgstr ""
|
2722 |
|
2723 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:79
|
2724 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:199
|
2725 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:263
|
2726 |
msgid "Next update will be"
|
2727 |
-
msgstr ""
|
2728 |
|
2729 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:215
|
2730 |
msgid "Download of the browscap database will be scheduled for once a week."
|
2731 |
-
msgstr ""
|
2732 |
|
2733 |
#: wp-statistics/includes/settings/tabs/wps-general.php:50
|
2734 |
msgid "This will delete the manual when you save the settings, are you sure?"
|
2735 |
-
msgstr ""
|
2736 |
|
2737 |
#: wp-statistics/includes/settings/tabs/wps-general.php:77
|
2738 |
msgid "This feature will not store IP addresses in the database but instead used a unique hash. The \"Store entire user agent string\" setting will be disabled if this is selected. You will not be able to recover the IP addresses in the future to recover location information if this is enabled."
|
2739 |
-
msgstr ""
|
2740 |
|
2741 |
#: wp-statistics/includes/log/widgets/summary.php:12
|
2742 |
#: wp-statistics/includes/settings/tabs/wps-general.php:82
|
2743 |
#: wp-statistics/shortcode.php:138 wp-statistics/widget.php:39
|
2744 |
#: wp-statistics/widget.php:260
|
2745 |
msgid "Users Online"
|
2746 |
-
msgstr ""
|
2747 |
|
2748 |
#: wp-statistics/includes/settings/tabs/wps-general.php:87
|
2749 |
msgid "User online"
|
2750 |
-
msgstr ""
|
2 |
# This file is distributed under the same license as the WP Statistics package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2016-11-04 15:40:15+0000\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: bs_BA\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
14 |
#: wp-statistics/includes/log/widgets/summary.php:52
|
15 |
msgid "Last 365 Days"
|
16 |
+
msgstr "Posljednjih 365 dana"
|
17 |
|
18 |
#: wp-statistics/includes/log/widgets/summary.php:46
|
19 |
msgid "Last 30 Days"
|
20 |
+
msgstr "Zadnjih 30 dana"
|
21 |
|
22 |
#: wp-statistics/includes/log/widgets/summary.php:40
|
23 |
msgid "Last 7 Days"
|
24 |
+
msgstr "Zadnjih 7 dana"
|
25 |
|
26 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:158
|
27 |
msgid "PHP IPv6 Enabled"
|
41 |
|
42 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:125
|
43 |
msgid "For IPv6 addresses use the fc00::/7 format."
|
44 |
+
msgstr "Za IPv6 adrese koriste fc00 :: / 7 formatu."
|
45 |
|
46 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:129
|
47 |
msgid "Add fc00::/7"
|
48 |
+
msgstr "Dodaj fc00 :: / 7"
|
49 |
|
50 |
#: wp-statistics/widget.php:46 wp-statistics/widget.php:263
|
51 |
msgid "Todays Visits"
|
52 |
+
msgstr "Današnji Poseta"
|
53 |
|
54 |
#: wp-statistics/widget.php:53 wp-statistics/widget.php:266
|
55 |
msgid "Todays Visitors"
|
56 |
+
msgstr "Današnji posjetitelji"
|
57 |
|
58 |
#: wp-statistics/widget.php:60
|
59 |
msgid "Yesterdays Visits"
|
65 |
|
66 |
#: wp-statistics/widget.php:74 wp-statistics/widget.php:275
|
67 |
msgid "Last 7 Days Visits"
|
68 |
+
msgstr "Zadnjih 7 dana Poseta"
|
69 |
|
70 |
#: wp-statistics/widget.php:81 wp-statistics/widget.php:278
|
71 |
msgid "Last 30 Days Visits"
|
72 |
+
msgstr "Zadnjih 30 dana Poseta"
|
73 |
|
74 |
#: wp-statistics/widget.php:88 wp-statistics/widget.php:281
|
75 |
msgid "Last 365 Days Visits"
|
77 |
|
78 |
#: wp-statistics/widget.php:95 wp-statistics/widget.php:284
|
79 |
msgid "Total Visits"
|
80 |
+
msgstr "Ukupno posjeta"
|
81 |
|
82 |
#: wp-statistics/widget.php:102 wp-statistics/widget.php:287
|
83 |
msgid "Total Visitors"
|
84 |
+
msgstr "Ukupno posjetitelja"
|
85 |
|
86 |
#: wp-statistics/widget.php:269
|
87 |
msgid "Yesterdays visits"
|
93 |
|
94 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:191
|
95 |
msgid "Zlib gzopen()"
|
96 |
+
msgstr "Zlib gzopen ()"
|
97 |
|
98 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:196
|
99 |
msgid "If the gzopen() function is installed. gzopen() is required for the GeoIP database to be downloaded successfully."
|
101 |
|
102 |
#: wp-statistics/wps-updates.php:16
|
103 |
msgid "Error the download_url() or gzopen() functions do not exist!"
|
104 |
+
msgstr "Error download_url () ili gzopen () funkcije ne postoje!"
|
105 |
|
106 |
#: wp-statistics/wps-updates.php:45
|
107 |
msgid "Error setting permissions of the GeoIP database directory, make sure your web server has permissions to write to directories in : %s"
|
125 |
|
126 |
#: wp-statistics/ajax.php:293
|
127 |
msgid "ERROR: Widget not found!"
|
128 |
+
msgstr "GREŠKA: Widget nije pronađen!"
|
129 |
|
130 |
#: wp-statistics/dashboard.php:109 wp-statistics/editor.php:66
|
131 |
#: wp-statistics/includes/log/log.php:20
|
132 |
msgid "Loading..."
|
133 |
+
msgstr "Loading ..."
|
134 |
|
135 |
#: wp-statistics/dashboard.php:127 wp-statistics/editor.php:84
|
136 |
#: wp-statistics/includes/log/log.php:2
|
140 |
#: wp-statistics/includes/log/top-visitors.php:41
|
141 |
#: wp-statistics/wp-statistics.php:452
|
142 |
msgid "Top Visitors"
|
143 |
+
msgstr "Top posjetitelji"
|
144 |
|
145 |
#: wp-statistics/wp-statistics.php:208
|
146 |
msgid "optimization page"
|
149 |
#: wp-statistics/includes/settings/tabs/wps-maintenance.php:35
|
150 |
#: wp-statistics/includes/settings/tabs/wps-maintenance.php:63
|
151 |
msgid "Enabled"
|
152 |
+
msgstr "omogućeno"
|
153 |
|
154 |
#: wp-statistics/includes/settings/tabs/wps-maintenance.php:30
|
155 |
msgid "Purge Old Data Daily"
|
181 |
|
182 |
#: wp-statistics/shortcode.php:181
|
183 |
msgid "Post/Page ID"
|
184 |
+
msgstr "Post / Page ID"
|
185 |
|
186 |
#: wp-statistics/includes/functions/functions.php:435
|
187 |
msgid "Ask.com"
|
193 |
|
194 |
#: wp-statistics/wp-statistics.php:182
|
195 |
msgid "visitor tracking"
|
196 |
+
msgstr "praćenje posjetitelja"
|
197 |
|
198 |
#: wp-statistics/wp-statistics.php:183
|
199 |
msgid "geoip collection"
|
200 |
+
msgstr "kolekcija geoip"
|
201 |
|
202 |
#: wp-statistics/wp-statistics.php:199
|
203 |
msgid "visit database index"
|
204 |
+
msgstr "posjeta indeks baze podataka"
|
205 |
|
206 |
#: wp-statistics/wp-statistics.php:208
|
207 |
msgid "Database updates are required, please go to %s and update the following: %s"
|
209 |
|
210 |
#: wp-statistics/wp-statistics.php:199
|
211 |
msgid "countries database index"
|
212 |
+
msgstr "indeks baze podataka zemalja"
|
213 |
|
214 |
#: wp-statistics/wp-statistics.php:192
|
215 |
msgid "search table"
|
217 |
|
218 |
#: wp-statistics/wp-statistics.php:186
|
219 |
msgid "settings page"
|
220 |
+
msgstr "stranica postavke"
|
221 |
|
222 |
#: wp-statistics/wp-statistics.php:186 wp-statistics/wp-statistics.php:208
|
223 |
msgid ","
|
742 |
|
743 |
#: wp-statistics/includes/settings/tabs/wps-general.php:259
|
744 |
msgid "By default WP Statistics displays an alert if any of the core features are disabled on every admin page, this option will disable these notices."
|
745 |
+
msgstr "Po defaultu WP Statistika pokazuje upozorenje ako bilo koji od glavnih karakteristika su isključeni na svakoj admin stranici, ova opcija će ove obavijesti onemogućiti."
|
746 |
|
747 |
#: wp-statistics/includes/settings/tabs/wps-general.php:265
|
748 |
msgid "Delete the manual"
|
754 |
|
755 |
#: wp-statistics/includes/settings/tabs/wps-general.php:276
|
756 |
msgid "Search Engines"
|
757 |
+
msgstr "tražilice"
|
758 |
|
759 |
#: wp-statistics/includes/settings/tabs/wps-general.php:293
|
760 |
msgid "Disabling all search engines is not allowed, doing so will result in all search engines being active."
|
766 |
|
767 |
#: wp-statistics/includes/settings/tabs/wps-general.php:309
|
768 |
msgid "Disable %s from data collection and reporting."
|
769 |
+
msgstr "Onemogućiti\"%\".strtolower($m[1]) od prikupljanja podataka i izvještavanja."
|
770 |
|
771 |
#: wp-statistics/includes/settings/tabs/wps-general.php:315
|
772 |
msgid "Charts"
|
778 |
|
779 |
#: wp-statistics/includes/settings/tabs/wps-general.php:326
|
780 |
msgid "Add a total line to charts with multiple values, like the search engine referrals"
|
781 |
+
msgstr "Dodajte ukupno linije za grafikone sa višestrukim vrijednostima, kao što su referali tražilica"
|
782 |
|
783 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:32
|
784 |
msgid "GeoIP settings"
|
785 |
+
msgstr "postavke GeoIP"
|
786 |
|
787 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:37
|
788 |
msgid "IP location services provided by GeoLite2 data created by MaxMind, available from %s."
|
789 |
+
msgstr "usluge IP lokacija koje GeoLite2 podaci stvorio MaxMind, dostupan od\"%\".strtolower($m[1])."
|
790 |
|
791 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:47
|
792 |
msgid "GeoIP collection"
|
793 |
+
msgstr "GeoIP kolekcije"
|
794 |
|
795 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:53
|
796 |
msgid "For get more information and location (country) from visitor, enable this feature."
|
797 |
+
msgstr "Za više informacija i lokacija (Država) od posjetitelja, omogućili ovu funkciju."
|
798 |
|
799 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:59
|
800 |
msgid "Update GeoIP Info"
|
802 |
|
803 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:64
|
804 |
msgid "Download GeoIP Database"
|
805 |
+
msgstr "Download GeoIP baza"
|
806 |
|
807 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:71
|
808 |
msgid "Schedule monthly update of GeoIP DB"
|
809 |
+
msgstr "Zakazati mjesečno ažuriranje GeoIP DB"
|
810 |
|
811 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:97
|
812 |
msgid "Download of the GeoIP database will be scheduled for 2 days after the first Tuesday of the month."
|
813 |
+
msgstr "Preuzimanje baze podataka GeoIP će biti zakazana za 2 dana nakon prvog utorka u mjesecu."
|
814 |
|
815 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:98
|
816 |
msgid "This option will also download the database if the local filesize is less than 1k (which usually means the stub that comes with the plugin is still in place)."
|
826 |
|
827 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:116
|
828 |
msgid "Country code for private IP addresses"
|
829 |
+
msgstr "Pozivni broj za privatne IP adrese"
|
830 |
|
831 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:121
|
832 |
msgid "The international standard two letter country code (ie. US = United States, CA = Canada, etc.) for private (non-routable) IP addresses (ie. 10.0.0.1, 192.158.1.1, 127.0.0.1, etc.). Use \"000\" (three zeros) to use \"Unknown\" as the country code."
|
833 |
+
msgstr "Međunarodni standard dva slova kod zemlje (npr. SAD = Sjedinjene Države, CA = Kanada, itd) za privatne (nerutabilne) IP adrese (npr. 10.0.0.1, 192.158.1.1, 127.0.0.1, itd). Koristite "000" (tri nule) za korištenje "Unknown" kao kod zemlje."
|
834 |
|
835 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:132
|
836 |
msgid "GeoIP collection is disabled due to the following reasons:"
|
837 |
+
msgstr "kolekcija GeoIP je onemogućen zbog sljedećih razloga:"
|
838 |
|
839 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:135
|
840 |
msgid "GeoIP collection requires PHP %s or above, it is currently disabled due to the installed PHP version being "
|
842 |
|
843 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:140
|
844 |
msgid "GeoIP collection requires the cURL PHP extension and it is not loaded on your version of PHP!"
|
845 |
+
msgstr "GeoIP kolekcije zahtijeva cURL PHP proširenje i nije učitan na vašu verziju PHP-a!"
|
846 |
|
847 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:146
|
848 |
msgid "GeoIP collection requires the BC Math PHP extension and it is not loaded on your version of PHP!"
|
849 |
+
msgstr "GeoIP kolekcije zahtijeva BC Math PHP ekstenzija i nije učitan na vašu verziju PHP-a!"
|
850 |
|
851 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:152
|
852 |
msgid "PHP safe mode detected! GeoIP collection is not supported with PHP's safe mode enabled!"
|
866 |
|
867 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:44
|
868 |
msgid "Common Report Options"
|
869 |
+
msgstr "Zajednički izvještaj opcije"
|
870 |
|
871 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:49
|
872 |
msgid "E-mail addresses"
|
873 |
+
msgstr "E-mail adrese"
|
874 |
|
875 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:54
|
876 |
msgid "A comma separated list of e-mail addresses to send reports to."
|
883 |
#: wp-statistics/includes/log/exclusions.php:24
|
884 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:64
|
885 |
msgid "Browscap"
|
886 |
+
msgstr "Browscap"
|
887 |
|
888 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:70
|
889 |
msgid "Send a report whenever the browscap.ini is updated."
|
890 |
+
msgstr "Pošalji izvještaj kad god se ažurira na browscap.ini."
|
891 |
|
892 |
#: wp-statistics/includes/log/exclusions.php:24
|
893 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:76
|
894 |
msgid "GeoIP"
|
895 |
+
msgstr "GeoIP"
|
896 |
|
897 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:82
|
898 |
msgid "Send a report whenever the GeoIP database is updated."
|
899 |
+
msgstr "Pošalji izvještaj kad god se ažurira baze podataka GeoIP."
|
900 |
|
901 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:88
|
902 |
msgid "Pruning"
|
908 |
|
909 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:100
|
910 |
msgid "Upgrade"
|
911 |
+
msgstr "nadogradnja"
|
912 |
|
913 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:106
|
914 |
msgid "Send a report whenever the plugin is upgraded."
|
915 |
+
msgstr "Pošalji izvještaj kad god je nadograđen plugina."
|
916 |
|
917 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:111
|
918 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:116
|
922 |
|
923 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:129
|
924 |
msgid "Schedule"
|
925 |
+
msgstr "Raspored"
|
926 |
|
927 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:153
|
928 |
msgid "Select how often to receive statistical report."
|
934 |
|
935 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:165
|
936 |
msgid "Email"
|
937 |
+
msgstr "E-mail"
|
938 |
|
939 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:167
|
940 |
msgid "SMS"
|
941 |
+
msgstr "SMS"
|
942 |
|
943 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:170
|
944 |
msgid "Select delivery method for statistical report."
|
945 |
+
msgstr "Izaberite način isporuke za statistički izvještaj."
|
946 |
|
947 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:173
|
948 |
msgid "Note: To send SMS text messages please install the %s plugin."
|
949 |
+
msgstr "Napomena: Da biste poslali SMS tekstualne poruke instalirajte\"%\".strtolower($m[1]) plugin."
|
950 |
|
951 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:173
|
952 |
msgid "WordPress SMS"
|
953 |
+
msgstr "WordPress SMS"
|
954 |
|
955 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:180
|
956 |
msgid "Report body"
|
958 |
|
959 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:185
|
960 |
msgid "Enter the contents of the report."
|
961 |
+
msgstr "Unesite sadržaj izvještaja."
|
962 |
|
963 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:187
|
964 |
msgid "Any shortcode supported by your installation of WordPress, include all shortcodes for WP Statistics (see the admin manual for a list of codes available) are supported in the body of the message. Here are some examples:"
|
975 |
|
976 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:190
|
977 |
msgid "Today Visit"
|
978 |
+
msgstr "Danas Posjeta"
|
979 |
|
980 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:191
|
981 |
msgid "Yesterday Visitor"
|
983 |
|
984 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:192
|
985 |
msgid "Yesterday Visit"
|
986 |
+
msgstr "Jučer Posjeta"
|
987 |
|
988 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:193
|
989 |
msgid "Total Visitor"
|
1003 |
|
1004 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:20
|
1005 |
msgid "Dashboard"
|
1006 |
+
msgstr "komandna tabla"
|
1007 |
|
1008 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:24
|
1009 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:44
|
1010 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:64
|
1011 |
msgid "The following items are global to all users."
|
1012 |
+
msgstr "Sljedeće stavke su globalni svim korisnicima."
|
1013 |
|
1014 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:29
|
1015 |
msgid "Disable dashboard widgets"
|
1016 |
+
msgstr "Onemogućiti dashboard widgeti"
|
1017 |
|
1018 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:35
|
1019 |
msgid "Disable the dashboard widgets."
|
1020 |
+
msgstr "Onemogućite dashboard widgeti."
|
1021 |
|
1022 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:40
|
1023 |
msgid "Page/Post Editor"
|
1024 |
+
msgstr "Stranica / Post Urednik"
|
1025 |
|
1026 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:49
|
1027 |
msgid "Disable post/page editor widget"
|
1028 |
+
msgstr "Isključi post / urednik stranice widget"
|
1029 |
|
1030 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:55
|
1031 |
msgid "Disable the page/post editor widget."
|
1032 |
+
msgstr "Onemogućite stranicu / post urednik widget."
|
1033 |
|
1034 |
#: wp-statistics/includes/functions/functions.php:440
|
1035 |
msgid "Google"
|
1036 |
+
msgstr "Google"
|
1037 |
|
1038 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:69
|
1039 |
msgid "Disable map"
|
1041 |
|
1042 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:75
|
1043 |
msgid "Disable the map display"
|
1044 |
+
msgstr "Onemogućiti prikaz mape"
|
1045 |
|
1046 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:15
|
1047 |
msgid "WP Statisitcs Removal"
|
1048 |
+
msgstr "WP Statisitcs uklanjanje"
|
1049 |
|
1050 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:20
|
1051 |
msgid "Uninstalling WP Statistics will not remove the data and settings, you can use this option to remove the WP Statistics data from your install before uninstalling the plugin."
|
1053 |
|
1054 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:23
|
1055 |
msgid "Once you submit this form the settings will be deleted during the page load, however WP Statistics will still show up in your Admin menu until another page load is executed."
|
1056 |
+
msgstr "Nakon što pošaljete ovaj obrazac postavke će biti izbrisana tokom učitavanje stranice, međutim WP Statistika i dalje se pojavi u vašem Admin meniju dok drugi učitavanje stranice se izvršava."
|
1057 |
|
1058 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:29
|
1059 |
msgid "Remove data and settings"
|
1060 |
+
msgstr "Uklonite podataka i postavki"
|
1061 |
|
1062 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:34
|
1063 |
msgid "Remove"
|
1064 |
+
msgstr "ukloniti"
|
1065 |
|
1066 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:35
|
1067 |
msgid "Remove data and settings, this action cannot be undone."
|
1068 |
+
msgstr "Uklonite podataka i podešavanja, ova akcija se ne može poništiti."
|
1069 |
|
1070 |
#: wp-statistics/includes/settings/wps-settings.php:100
|
1071 |
msgid "General"
|
1073 |
|
1074 |
#: wp-statistics/includes/settings/wps-settings.php:101
|
1075 |
msgid "Notifications"
|
1076 |
+
msgstr "Obavijesti"
|
1077 |
|
1078 |
#: wp-statistics/includes/settings/wps-settings.php:102
|
1079 |
msgid "Dashboard/Overview"
|
1080 |
+
msgstr "Dashboard / Pregled"
|
1081 |
|
1082 |
#: wp-statistics/includes/settings/wps-settings.php:106
|
1083 |
msgid "Maintenance"
|
1084 |
+
msgstr "održavanje"
|
1085 |
|
1086 |
#: wp-statistics/includes/settings/wps-settings.php:107
|
1087 |
msgid "Removal"
|
1088 |
+
msgstr "uklanjanje"
|
1089 |
|
1090 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:85
|
1091 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:237
|
1096 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:84
|
1097 |
#: wp-statistics/includes/settings/tabs/wps-removal.php:42
|
1098 |
msgid "Update"
|
1099 |
+
msgstr "ažuriranje"
|
1100 |
|
1101 |
#: wp-statistics/schedule.php:10
|
1102 |
msgid "Once Weekly"
|
1103 |
+
msgstr "jednom nedeljno"
|
1104 |
|
1105 |
#: wp-statistics/schedule.php:17
|
1106 |
msgid "Once Every 2 Weeks"
|
1107 |
+
msgstr "Jednom u 2 tjedna"
|
1108 |
|
1109 |
#: wp-statistics/schedule.php:24
|
1110 |
msgid "Once Every 4 Weeks"
|
1111 |
+
msgstr "Jednom svake 4 nedelje"
|
1112 |
|
1113 |
#: wp-statistics/widget.php:14 wp-statistics/wp-statistics.php:410
|
1114 |
#: wp-statistics/wp-statistics.php:487
|
1115 |
msgid "Statistics"
|
1116 |
+
msgstr "statistika"
|
1117 |
|
1118 |
#: wp-statistics/widget.php:15
|
1119 |
msgid "Show site stats in sidebar."
|
1129 |
|
1130 |
#: wp-statistics/widget.php:124 wp-statistics/widget.php:313
|
1131 |
msgid "Total Posts"
|
1132 |
+
msgstr "Ukupno postova"
|
1133 |
|
1134 |
#: wp-statistics/widget.php:131 wp-statistics/widget.php:316
|
1135 |
msgid "Total Pages"
|
1137 |
|
1138 |
#: wp-statistics/widget.php:138 wp-statistics/widget.php:319
|
1139 |
msgid "Total Comments"
|
1140 |
+
msgstr "Ukupno Komentari"
|
1141 |
|
1142 |
#: wp-statistics/widget.php:145 wp-statistics/widget.php:322
|
1143 |
msgid "Total Spams"
|
1144 |
+
msgstr "Ukupno spamovi"
|
1145 |
|
1146 |
#: wp-statistics/widget.php:152 wp-statistics/widget.php:325
|
1147 |
msgid "Total Users"
|
1148 |
+
msgstr "Ukupno korisnika"
|
1149 |
|
1150 |
#: wp-statistics/widget.php:159 wp-statistics/widget.php:328
|
1151 |
msgid "Average Posts"
|
1166 |
|
1167 |
#: wp-statistics/widget.php:253
|
1168 |
msgid "Name"
|
1169 |
+
msgstr "ime"
|
1170 |
|
1171 |
#: wp-statistics/widget.php:257
|
1172 |
msgid "Items"
|
1173 |
+
msgstr "Predmeti"
|
1174 |
|
1175 |
#: wp-statistics/wp-statistics.php:664
|
1176 |
msgid "Yesterday visit"
|
1178 |
|
1179 |
#: wp-statistics/widget.php:296
|
1180 |
msgid "Select type of search engine"
|
1181 |
+
msgstr "Izaberite tip tražilice"
|
1182 |
|
1183 |
#: wp-statistics/wp-statistics.php:124
|
1184 |
msgid "WP Statistics has been removed, please disable and delete it."
|
1185 |
+
msgstr "WP Statistika je uklonjen, molimo vas onemogućiti i izbrisati."
|
1186 |
|
1187 |
#: wp-statistics/wp-statistics.php:56
|
1188 |
msgid "WP Statistics"
|
1189 |
+
msgstr "WP Statistika"
|
1190 |
|
1191 |
#: wp-statistics/wp-statistics.php:57
|
1192 |
msgid "Complete statistics for your WordPress site."
|
1193 |
+
msgstr "Kompletna statistika za WordPress site."
|
1194 |
|
1195 |
#: wp-statistics/wp-statistics.php:315 wp-statistics/wp-statistics.php:430
|
1196 |
#: wp-statistics/wp-statistics.php:541
|
1197 |
msgid "Settings"
|
1198 |
+
msgstr "Postavke"
|
1199 |
|
1200 |
#: wp-statistics/wp-statistics.php:327
|
1201 |
msgid "Click here to visit the plugin on WordPress.org"
|
1202 |
+
msgstr "Kliknite ovdje da posjetite plugin na WordPress.org"
|
1203 |
|
1204 |
#: wp-statistics/wp-statistics.php:327
|
1205 |
msgid "Visit WordPress.org page"
|
1207 |
|
1208 |
#: wp-statistics/wp-statistics.php:330
|
1209 |
msgid "Click here to rate and review this plugin on WordPress.org"
|
1210 |
+
msgstr "Kliknite ovdje da biste ocijenili i komentar o ovom plugin na WordPress.org"
|
1211 |
|
1212 |
#: wp-statistics/wp-statistics.php:330
|
1213 |
msgid "Rate this plugin"
|
1214 |
+
msgstr "Ocijenite ovaj plugin"
|
1215 |
|
1216 |
#: wp-statistics/wp-statistics.php:374
|
1217 |
msgid "WP Statistics - Hits"
|
1220 |
#: wp-statistics/wp-statistics.php:413 wp-statistics/wp-statistics.php:490
|
1221 |
#: wp-statistics/wp-statistics.php:528
|
1222 |
msgid "Overview"
|
1223 |
+
msgstr "pregled"
|
1224 |
|
1225 |
#: wp-statistics/wp-statistics.php:419 wp-statistics/wp-statistics.php:533
|
1226 |
msgid "Online"
|
1227 |
+
msgstr "online"
|
1228 |
|
1229 |
#: wp-statistics/wp-statistics.php:421 wp-statistics/wp-statistics.php:535
|
1230 |
msgid "Referrers"
|
1233 |
#: wp-statistics/shortcode.php:142 wp-statistics/wp-statistics.php:422
|
1234 |
#: wp-statistics/wp-statistics.php:536
|
1235 |
msgid "Searches"
|
1236 |
+
msgstr "pretrage"
|
1237 |
|
1238 |
#: wp-statistics/wp-statistics.php:423 wp-statistics/wp-statistics.php:537
|
1239 |
msgid "Search Words"
|
1240 |
+
msgstr "riječi za pretraživanje"
|
1241 |
|
1242 |
#: wp-statistics/wp-statistics.php:424 wp-statistics/wp-statistics.php:538
|
1243 |
msgid "Top Visitors Today"
|
1244 |
+
msgstr "Top Posjetioci Danas"
|
1245 |
|
1246 |
#: wp-statistics/wp-statistics.php:429 wp-statistics/wp-statistics.php:540
|
1247 |
msgid "Optimization"
|
1248 |
+
msgstr "optimizacija"
|
1249 |
|
1250 |
#: wp-statistics/wp-statistics.php:435 wp-statistics/wp-statistics.php:504
|
1251 |
msgid "Manual"
|
1252 |
+
msgstr "priručnik"
|
1253 |
|
1254 |
#: wp-statistics/wp-statistics.php:519
|
1255 |
msgid "Site"
|
1257 |
|
1258 |
#: wp-statistics/wp-statistics.php:520
|
1259 |
msgid "Options"
|
1260 |
+
msgstr "mogućnosti"
|
1261 |
|
1262 |
#: wp-statistics/wp-statistics.php:646
|
1263 |
msgid "Today visitor"
|
1265 |
|
1266 |
#: wp-statistics/wp-statistics.php:652
|
1267 |
msgid "Today visit"
|
1268 |
+
msgstr "Danas posjeta"
|
1269 |
|
1270 |
#: wp-statistics/wp-statistics.php:658
|
1271 |
msgid "Yesterday visitor"
|
1273 |
|
1274 |
#: wp-statistics/wp-statistics.php:670
|
1275 |
msgid "View Stats"
|
1276 |
+
msgstr "Pogledaj statistiku"
|
1277 |
|
1278 |
#: wp-statistics/wp-statistics.php:694
|
1279 |
msgid "Download ODF file"
|
1280 |
+
msgstr "Preuzmite ODF datoteku"
|
1281 |
|
1282 |
#: wp-statistics/wp-statistics.php:695
|
1283 |
msgid "Download HTML file"
|
1284 |
+
msgstr "Preuzmite HTML datoteke"
|
1285 |
|
1286 |
#: wp-statistics/wp-statistics.php:699
|
1287 |
msgid "Manual file not found."
|
1290 |
#: wp-statistics/wp-statistics.php:766 wp-statistics/wp-statistics.php:893
|
1291 |
#: wp-statistics/wp-statistics.php:929
|
1292 |
msgid "You do not have sufficient permissions to access this page."
|
1293 |
+
msgstr "Ti nemaju dovoljno dozvolu da pristupite ovoj stranici."
|
1294 |
|
1295 |
#: wp-statistics/wp-statistics.php:303
|
1296 |
msgid "WP Statistics %s installed on"
|
1297 |
+
msgstr "WP Statistika\"%\".strtolower($m[1]) instaliran na"
|
1298 |
|
1299 |
#: wp-statistics/wps-updates.php:54
|
1300 |
msgid "Error downloading GeoIP database from: %s - %s"
|
1301 |
+
msgstr "Greška pri preuzimanju GeoIP baze podataka iz:\"%\".strtolower($m[1]) -\"%\".strtolower($m[1])"
|
1302 |
|
1303 |
#: wp-statistics/wps-updates.php:65
|
1304 |
msgid "Error could not open downloaded GeoIP database for reading: %s"
|
1305 |
+
msgstr "Greška nije mogao otvoriti preuzete GeoIP baze podataka za čitanje:\"%\".strtolower($m[1])"
|
1306 |
|
1307 |
#: wp-statistics/wps-updates.php:72
|
1308 |
msgid "Error could not open destination GeoIP database for writing %s"
|
1310 |
|
1311 |
#: wp-statistics/wps-updates.php:88
|
1312 |
msgid "GeoIP Database updated successfully!"
|
1313 |
+
msgstr "GeoIP baza ažurirana uspješno!"
|
1314 |
|
1315 |
#: wp-statistics/wps-updates.php:113
|
1316 |
msgid "GeoIP update on"
|
1317 |
+
msgstr "GeoIP ažurirati na"
|
1318 |
|
1319 |
#: wp-statistics/wps-updates.php:180
|
1320 |
msgid "Error downloading browscap database from: %s - %s"
|
1322 |
|
1323 |
#: wp-statistics/wps-updates.php:289
|
1324 |
msgid "browscap database updated successfully!"
|
1325 |
+
msgstr "browscap ažuriranje baze podataka uspješno!"
|
1326 |
|
1327 |
#: wp-statistics/wps-updates.php:299
|
1328 |
msgid "browscap database updated failed! Cache file too large, reverting to previous browscap.ini."
|
1329 |
+
msgstr "browscap ažuriranje baze podataka nije uspjelo! Cache datoteka prevelika, vraćanja na prethodni browscap.ini."
|
1330 |
|
1331 |
#: wp-statistics/wps-updates.php:307
|
1332 |
msgid "browscap database updated failed! New browscap.ini is mis-identifing user agents as crawlers, reverting to previous browscap.ini."
|
1333 |
+
msgstr "browscap ažuriranje baze podataka nije uspjelo! Novi browscap.ini je mis-identifing korisnički agenti kao crawlers, vraćanja na prethodni browscap.ini."
|
1334 |
|
1335 |
#: wp-statistics/wps-updates.php:329
|
1336 |
msgid "browscap already at current version!"
|
1347 |
#: wp-statistics/dashboard.php:57
|
1348 |
#: wp-statistics/includes/log/widgets/browsers.php:41
|
1349 |
msgid "Top 10 Browsers"
|
1350 |
+
msgstr "Top 10 preglednici"
|
1351 |
|
1352 |
#: wp-statistics/dashboard.php:58 wp-statistics/wp-statistics.php:473
|
1353 |
msgid "Top 10 Countries"
|
1354 |
+
msgstr "Top 10 zemalja"
|
1355 |
|
1356 |
#: wp-statistics/dashboard.php:59
|
1357 |
msgid "Today's Visitor Map"
|
1358 |
+
msgstr "Današnji posetilaca"
|
1359 |
|
1360 |
#: wp-statistics/dashboard.php:60 wp-statistics/editor.php:46
|
1361 |
#: wp-statistics/includes/log/hit-statistics.php:8
|
1362 |
#: wp-statistics/wp-statistics.php:448
|
1363 |
msgid "Hit Statistics"
|
1364 |
+
msgstr "hit Statistika"
|
1365 |
|
1366 |
#: wp-statistics/dashboard.php:61 wp-statistics/wp-statistics.php:463
|
1367 |
msgid "Top 10 Pages"
|
1368 |
+
msgstr "Top 10 Stranice"
|
1369 |
|
1370 |
#: wp-statistics/dashboard.php:62
|
1371 |
#: wp-statistics/includes/log/last-visitor.php:36
|
1372 |
#: wp-statistics/wp-statistics.php:455
|
1373 |
msgid "Recent Visitors"
|
1374 |
+
msgstr "Nedavni posjetitelji"
|
1375 |
|
1376 |
#: wp-statistics/dashboard.php:63
|
1377 |
#: wp-statistics/includes/log/top-referring.php:59
|
1389 |
|
1390 |
#: wp-statistics/dashboard.php:65 wp-statistics/wp-statistics.php:468
|
1391 |
msgid "Summary"
|
1392 |
+
msgstr "Sažetak"
|
1393 |
|
1394 |
#: wp-statistics/dashboard.php:66 wp-statistics/includes/log/last-search.php:31
|
1395 |
#: wp-statistics/wp-statistics.php:454
|
1398 |
|
1399 |
#: wp-statistics/dashboard.php:67
|
1400 |
msgid "Top 10 Visitors Today"
|
1401 |
+
msgstr "Top 10 Posjetioci Danas"
|
1402 |
|
1403 |
#: wp-statistics/editor.php:58
|
1404 |
msgid "This post is not yet published."
|
1410 |
|
1411 |
#: wp-statistics/includes/functions/geoip-populate.php:48
|
1412 |
msgid "Updated %s GeoIP records in the visitors database."
|
1413 |
+
msgstr "Ažurirano\"%\".strtolower($m[1]) GeoIP zapisa u bazi podataka posjetitelja."
|
1414 |
|
1415 |
#: wp-statistics/includes/functions/purge.php:21
|
1416 |
#: wp-statistics/includes/functions/purge.php:39
|
1426 |
#: wp-statistics/includes/functions/purge.php:63
|
1427 |
#: wp-statistics/includes/functions/purge.php:96
|
1428 |
msgid "No records found to purge from %s!"
|
1429 |
+
msgstr "Podaci nisu pronađeni da očisti od\"%\".strtolower($m[1])!"
|
1430 |
|
1431 |
#: wp-statistics/includes/functions/purge-hits.php:45
|
1432 |
#: wp-statistics/includes/functions/purge.php:109
|
1459 |
#: wp-statistics/includes/log/top-referring.php:77
|
1460 |
#: wp-statistics/includes/log/top-visitors.php:40
|
1461 |
msgid "Click to toggle"
|
1462 |
+
msgstr "Kliknite za prebacivanje"
|
1463 |
|
1464 |
#: wp-statistics/includes/log/all-browsers.php:30
|
1465 |
#: wp-statistics/wp-statistics.php:415 wp-statistics/wp-statistics.php:469
|
1491 |
|
1492 |
#: wp-statistics/includes/log/exclusions.php:64
|
1493 |
msgid "Exclusions Statistics"
|
1494 |
+
msgstr "Isključenja Statistika"
|
1495 |
|
1496 |
#: wp-statistics/includes/functions/functions.php:895
|
1497 |
msgid "10 Days"
|
1507 |
|
1508 |
#: wp-statistics/includes/functions/functions.php:895
|
1509 |
msgid "2 Months"
|
1510 |
+
msgstr "2 mjeseci"
|
1511 |
|
1512 |
#: wp-statistics/includes/functions/functions.php:895
|
1513 |
msgid "3 Months"
|
1514 |
+
msgstr "3 mjeseca"
|
1515 |
|
1516 |
#: wp-statistics/includes/functions/functions.php:895
|
1517 |
msgid "6 Months"
|
1518 |
+
msgstr "6 mjeseci"
|
1519 |
|
1520 |
#: wp-statistics/includes/functions/functions.php:895
|
1521 |
msgid "9 Months"
|
1522 |
+
msgstr "9 mjeseci"
|
1523 |
|
1524 |
#: wp-statistics/includes/functions/functions.php:895
|
1525 |
msgid "1 Year"
|
1526 |
+
msgstr "1 godina"
|
1527 |
|
1528 |
#: wp-statistics/includes/log/exclusions.php:73
|
1529 |
msgid "Exclusions Statistical Chart"
|
1531 |
|
1532 |
#: wp-statistics/includes/log/exclusions.php:95
|
1533 |
msgid "Excluded hits in the last"
|
1534 |
+
msgstr "Isključeni hitova u posljednjih"
|
1535 |
|
1536 |
#: wp-statistics/includes/log/exclusions.php:95
|
1537 |
#: wp-statistics/includes/log/hit-statistics.php:66
|
1540 |
#: wp-statistics/includes/log/widgets/search.php:42
|
1541 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:208
|
1542 |
msgid "days"
|
1543 |
+
msgstr "dani"
|
1544 |
|
1545 |
#: wp-statistics/includes/log/exclusions.php:116
|
1546 |
msgid "Number of excluded hits"
|
1553 |
#: wp-statistics/includes/log/hit-statistics.php:66
|
1554 |
#: wp-statistics/includes/log/widgets/hits.php:44
|
1555 |
msgid "Hits in the last"
|
1556 |
+
msgstr "Hitova u posljednjih"
|
1557 |
|
1558 |
#: wp-statistics/includes/log/hit-statistics.php:87
|
1559 |
#: wp-statistics/includes/log/widgets/hits.php:65
|
1560 |
msgid "Number of visits and visitors"
|
1561 |
+
msgstr "Broj posjeta i posjetitelja"
|
1562 |
|
1563 |
#: wp-statistics/includes/log/hit-statistics.php:101
|
1564 |
#: wp-statistics/includes/log/hit-statistics.php:170
|
1566 |
#: wp-statistics/includes/log/widgets/quickstats.php:24
|
1567 |
#: wp-statistics/includes/log/widgets/summary.php:24
|
1568 |
msgid "Visit"
|
1569 |
+
msgstr "posjeta"
|
1570 |
|
1571 |
#: wp-statistics/includes/log/hit-statistics.php:101
|
1572 |
#: wp-statistics/includes/log/hit-statistics.php:171
|
1574 |
#: wp-statistics/includes/log/widgets/quickstats.php:23
|
1575 |
#: wp-statistics/includes/log/widgets/summary.php:23
|
1576 |
msgid "Visitor"
|
1577 |
+
msgstr "posjetilac"
|
1578 |
|
1579 |
#: wp-statistics/includes/log/last-search.php:65
|
1580 |
msgid "Latest Search Word Statistics"
|
1587 |
#: wp-statistics/includes/log/widgets/recent.php:14
|
1588 |
#: wp-statistics/includes/log/widgets/words.php:27
|
1589 |
msgid "#hash#"
|
1590 |
+
msgstr "# Hash #"
|
1591 |
|
1592 |
#: wp-statistics/includes/log/last-search.php:115
|
1593 |
#: wp-statistics/includes/log/last-visitor.php:106
|
1597 |
#: wp-statistics/includes/log/widgets/words.php:42
|
1598 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:60
|
1599 |
msgid "Map"
|
1600 |
+
msgstr "karta"
|
1601 |
|
1602 |
#: wp-statistics/includes/log/last-search.php:159
|
1603 |
#: wp-statistics/includes/log/last-visitor.php:139
|
1605 |
#: wp-statistics/includes/log/top-pages.php:205
|
1606 |
#: wp-statistics/includes/log/top-referring.php:153
|
1607 |
msgid "Page"
|
1608 |
+
msgstr "stranica"
|
1609 |
|
1610 |
#: wp-statistics/includes/log/last-search.php:159
|
1611 |
#: wp-statistics/includes/log/last-visitor.php:139
|
1613 |
#: wp-statistics/includes/log/top-pages.php:205
|
1614 |
#: wp-statistics/includes/log/top-referring.php:153
|
1615 |
msgid "From"
|
1616 |
+
msgstr "od"
|
1617 |
|
1618 |
#: wp-statistics/includes/log/last-search.php:47
|
1619 |
#: wp-statistics/includes/log/last-visitor.php:38
|
1622 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:192
|
1623 |
#: wp-statistics/widget.php:309
|
1624 |
msgid "All"
|
1625 |
+
msgstr "sve"
|
1626 |
|
1627 |
#: wp-statistics/includes/log/last-visitor.php:68
|
1628 |
msgid "Recent Visitor Statistics"
|
1635 |
|
1636 |
#: wp-statistics/includes/log/online.php:75
|
1637 |
msgid "Online for "
|
1638 |
+
msgstr "online za"
|
1639 |
|
1640 |
#: wp-statistics/includes/log/page-statistics.php:26
|
1641 |
msgid "Page Trend for Post ID"
|
1658 |
#: wp-statistics/includes/log/search-statistics.php:90
|
1659 |
#: wp-statistics/includes/log/widgets/search.php:63
|
1660 |
msgid "Number of referrals"
|
1661 |
+
msgstr "Broj referala"
|
1662 |
|
1663 |
#: wp-statistics/includes/log/exclusions.php:24
|
1664 |
#: wp-statistics/includes/log/search-statistics.php:104
|
1673 |
#: wp-statistics/includes/log/top-countries.php:18
|
1674 |
#: wp-statistics/includes/log/top-countries.php:27
|
1675 |
msgid "Top Countries"
|
1676 |
+
msgstr "Top Zemlje"
|
1677 |
|
1678 |
#: wp-statistics/includes/log/top-countries.php:31
|
1679 |
#: wp-statistics/includes/log/widgets/countries.php:9
|
1680 |
#: wp-statistics/includes/log/widgets/top.visitors.php:11
|
1681 |
msgid "Rank"
|
1682 |
+
msgstr "rang"
|
1683 |
|
1684 |
#: wp-statistics/includes/log/top-countries.php:32
|
1685 |
#: wp-statistics/includes/log/widgets/countries.php:10
|
1686 |
#: wp-statistics/includes/log/widgets/top.visitors.php:13
|
1687 |
msgid "Flag"
|
1688 |
+
msgstr "zastava"
|
1689 |
|
1690 |
#: wp-statistics/includes/log/top-countries.php:33
|
1691 |
#: wp-statistics/includes/log/widgets/countries.php:11
|
1692 |
#: wp-statistics/includes/log/widgets/top.visitors.php:14
|
1693 |
msgid "Country"
|
1694 |
+
msgstr "zemlja"
|
1695 |
|
1696 |
#: wp-statistics/includes/log/top-countries.php:34
|
1697 |
#: wp-statistics/includes/log/widgets/countries.php:12
|
1705 |
|
1706 |
#: wp-statistics/includes/log/top-pages.php:30
|
1707 |
msgid "Top 5 Pages Trends"
|
1708 |
+
msgstr "Top 5 stranica Trendovi"
|
1709 |
|
1710 |
#: wp-statistics/includes/log/top-pages.php:67
|
1711 |
msgid "Top 5 Page Trending Stats"
|
1719 |
#: wp-statistics/includes/log/top-pages.php:184
|
1720 |
#: wp-statistics/includes/log/widgets/pages.php:13
|
1721 |
msgid "No page title found"
|
1722 |
+
msgstr "Bez naslova stranica pronađena"
|
1723 |
|
1724 |
#: wp-statistics/includes/log/top-pages.php:187
|
1725 |
#: wp-statistics/includes/log/widgets/pages.php:16
|
1728 |
#: wp-statistics/includes/settings/tabs/wps-general.php:127
|
1729 |
#: wp-statistics/shortcode.php:139
|
1730 |
msgid "Visits"
|
1731 |
+
msgstr "posjeta"
|
1732 |
|
1733 |
#: wp-statistics/includes/log/top-referring.php:4
|
1734 |
msgid "To be added soon"
|
1735 |
+
msgstr "Treba dodati uskoro"
|
1736 |
|
1737 |
#: wp-statistics/includes/log/top-referring.php:79
|
1738 |
msgid "Referring sites from"
|
1741 |
#: wp-statistics/includes/log/top-referring.php:137
|
1742 |
#: wp-statistics/includes/log/widgets/referring.php:35
|
1743 |
msgid "References"
|
1744 |
+
msgstr "reference"
|
1745 |
|
1746 |
#: wp-statistics/includes/log/top-visitors.php:12
|
1747 |
msgid "Top 100 Visitors Today"
|
1753 |
|
1754 |
#: wp-statistics/includes/log/widgets/about.php:11
|
1755 |
msgid "Website"
|
1756 |
+
msgstr "sajt"
|
1757 |
|
1758 |
#: wp-statistics/includes/log/widgets/about.php:12
|
1759 |
msgid "Rate and Review"
|
1761 |
|
1762 |
#: wp-statistics/includes/log/widgets/about.php:16
|
1763 |
msgid "More Information"
|
1764 |
+
msgstr "Više informacija"
|
1765 |
|
1766 |
#: wp-statistics/includes/log/widgets/about.php:25
|
1767 |
#: wp-statistics/includes/settings/tabs/wps-about.php:12
|
1768 |
msgid "This product includes GeoLite2 data created by MaxMind, available from %s."
|
1769 |
+
msgstr "Ovaj proizvod sadrži GeoLite2 podataka nastala MaxMind, dostupan od\"%\".strtolower($m[1])."
|
1770 |
|
1771 |
#: wp-statistics/includes/log/widgets/browsers.php:34
|
1772 |
msgid "Other"
|
1778 |
|
1779 |
#: wp-statistics/includes/log/widgets/referring.php:36
|
1780 |
msgid "Address"
|
1781 |
+
msgstr "adresa"
|
1782 |
|
1783 |
#: wp-statistics/includes/log/widgets/quickstats.php:12
|
1784 |
msgid "User(s) Online"
|
1785 |
+
msgstr "Korisnik (a) online"
|
1786 |
|
1787 |
#: wp-statistics/includes/log/widgets/quickstats.php:28
|
1788 |
#: wp-statistics/includes/log/widgets/quickstats.php:80
|
1789 |
#: wp-statistics/includes/log/widgets/summary.php:28
|
1790 |
#: wp-statistics/includes/log/widgets/summary.php:80
|
1791 |
msgid "Today"
|
1792 |
+
msgstr "danas"
|
1793 |
|
1794 |
#: wp-statistics/includes/log/widgets/quickstats.php:34
|
1795 |
#: wp-statistics/includes/log/widgets/quickstats.php:81
|
1796 |
#: wp-statistics/includes/log/widgets/summary.php:34
|
1797 |
#: wp-statistics/includes/log/widgets/summary.php:81
|
1798 |
msgid "Yesterday"
|
1799 |
+
msgstr "juče"
|
1800 |
|
1801 |
#: wp-statistics/includes/log/widgets/quickstats.php:99
|
1802 |
#: wp-statistics/includes/log/widgets/summary.php:99
|
1803 |
msgid "Daily Total"
|
1804 |
+
msgstr "Dnevno Ukupno"
|
1805 |
|
1806 |
#: wp-statistics/includes/log/widgets/quickstats.php:118
|
1807 |
#: wp-statistics/includes/log/widgets/summary.php:118
|
1808 |
msgid "Current Time and Date"
|
1809 |
+
msgstr "Trenutno vrijeme i datum"
|
1810 |
|
1811 |
#: wp-statistics/includes/log/widgets/quickstats.php:118
|
1812 |
#: wp-statistics/includes/log/widgets/summary.php:118
|
1813 |
msgid "(Adjustment)"
|
1814 |
+
msgstr "(Podešavanje)"
|
1815 |
|
1816 |
#: wp-statistics/includes/log/widgets/quickstats.php:122
|
1817 |
#: wp-statistics/includes/log/widgets/summary.php:122
|
1818 |
msgid "Date: %s"
|
1819 |
+
msgstr "Datum:\"%\".strtolower($m[1])"
|
1820 |
|
1821 |
#: wp-statistics/includes/log/widgets/quickstats.php:126
|
1822 |
#: wp-statistics/includes/log/widgets/summary.php:126
|
1832 |
|
1833 |
#: wp-statistics/includes/log/widgets/top.visitors.php:15
|
1834 |
msgid "IP"
|
1835 |
+
msgstr "IP"
|
1836 |
|
1837 |
#: wp-statistics/includes/log/widgets/top.visitors.php:17
|
1838 |
msgid "Agent"
|
1839 |
+
msgstr "agent"
|
1840 |
|
1841 |
#: wp-statistics/includes/log/widgets/top.visitors.php:19
|
1842 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:302
|
1843 |
msgid "Version"
|
1844 |
+
msgstr "verzija"
|
1845 |
|
1846 |
#: wp-statistics/ajax.php:41 wp-statistics/ajax.php:71
|
1847 |
#: wp-statistics/ajax.php:129 wp-statistics/ajax.php:154
|
1848 |
#: wp-statistics/ajax.php:184 wp-statistics/ajax.php:296
|
1849 |
#: wp-statistics/includes/optimization/wps-optimization.php:6
|
1850 |
msgid "Access denied!"
|
1851 |
+
msgstr "Pristup odbijen!"
|
1852 |
|
1853 |
#: wp-statistics/ajax.php:31
|
1854 |
msgid "%s agent data deleted successfully."
|
1877 |
|
1878 |
#: wp-statistics/includes/functions/functions.php:1003
|
1879 |
msgid "Error, %s not emptied!"
|
1880 |
+
msgstr "Greška,\"%\".strtolower($m[1]) ne prazni!"
|
1881 |
|
1882 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:5
|
1883 |
msgid "Database Setup"
|
1889 |
|
1890 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:14
|
1891 |
msgid "Install Now!"
|
1892 |
+
msgstr "Instalirati sada!"
|
1893 |
|
1894 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:15
|
1895 |
msgid "If for some reason your installation of WP Statistics is missing the database tables or other core items, this will re-execute the install process."
|
1897 |
|
1898 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:20
|
1899 |
msgid "Database Index"
|
1900 |
+
msgstr "Indeks baza"
|
1901 |
|
1902 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:25
|
1903 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:21
|
1904 |
#: wp-statistics/wp-statistics.php:416 wp-statistics/wp-statistics.php:530
|
1905 |
msgid "Countries"
|
1906 |
+
msgstr "zemlje"
|
1907 |
|
1908 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:42
|
1909 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-database.php:74
|
1934 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:8
|
1935 |
#: wp-statistics/includes/optimization/wps-optimization.php:235
|
1936 |
msgid "Export"
|
1937 |
+
msgstr "izvoz"
|
1938 |
|
1939 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:13
|
1940 |
msgid "Export from"
|
1941 |
+
msgstr "izvoz iz"
|
1942 |
|
1943 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:18
|
1944 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:37
|
1948 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:134
|
1949 |
#: wp-statistics/includes/settings/tabs/wps-notifications.php:164
|
1950 |
msgid "Please select"
|
1951 |
+
msgstr "Molimo odaberite"
|
1952 |
|
1953 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:26
|
1954 |
msgid "Select the table for the output file."
|
1955 |
+
msgstr "Odaberite tablicu za izlaznu datoteku."
|
1956 |
|
1957 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:32
|
1958 |
msgid "Export To"
|
1959 |
+
msgstr "izvoz u"
|
1960 |
|
1961 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:42
|
1962 |
msgid "Select the output file type."
|
1963 |
+
msgstr "Odaberite vrstu izlazne datoteke."
|
1964 |
|
1965 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:48
|
1966 |
msgid "Include Header Row"
|
1967 |
+
msgstr "Uključiti Header Row"
|
1968 |
|
1969 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:53
|
1970 |
msgid "Include a header row as the first line of the exported file."
|
1971 |
+
msgstr "Uključiti redak zaglavlja kao prva linija izvezene datoteke."
|
1972 |
|
1973 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-export.php:54
|
1974 |
msgid "Start Now!"
|
1976 |
|
1977 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:15
|
1978 |
msgid "Historical Values"
|
1979 |
+
msgstr "Povijesni Vrijednosti"
|
1980 |
|
1981 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:20
|
1982 |
msgid "Note: As you have just purged the database you must reload this page for these numbers to be correct."
|
1988 |
#: wp-statistics/shortcode.php:140 wp-statistics/wp-statistics.php:425
|
1989 |
#: wp-statistics/wp-statistics.php:539
|
1990 |
msgid "Visitors"
|
1991 |
+
msgstr "Posjetitelja"
|
1992 |
|
1993 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:31
|
1994 |
msgid "Number of historical number of visitors to the site (current value is %s)."
|
2000 |
|
2001 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-historical.php:48
|
2002 |
msgid "Update now!"
|
2003 |
+
msgstr "Update sada!"
|
2004 |
|
2005 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:10
|
2006 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:43
|
2008 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:107
|
2009 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:141
|
2010 |
msgid "Are you sure?"
|
2011 |
+
msgstr "Jesi li siguran?"
|
2012 |
|
2013 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:175
|
2014 |
msgid "Data"
|
2015 |
+
msgstr "podaci"
|
2016 |
|
2017 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:180
|
2018 |
msgid "Empty Table"
|
2020 |
|
2021 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:194
|
2022 |
msgid "All data table will be lost."
|
2023 |
+
msgstr "Sve sto podaci će biti izgubljeni."
|
2024 |
|
2025 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:195
|
2026 |
msgid "Clear now!"
|
2028 |
|
2029 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:203
|
2030 |
msgid "Purge records older than"
|
2031 |
+
msgstr "Purge zapise starije od"
|
2032 |
|
2033 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:209
|
2034 |
msgid "Deleted user statistics data older than the selected number of days. Minimum value is 30 days."
|
2037 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:210
|
2038 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:225
|
2039 |
msgid "Purge now!"
|
2040 |
+
msgstr "Purge sada!"
|
2041 |
|
2042 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:232
|
2043 |
msgid "Delete User Agent Types"
|
2044 |
+
msgstr "Brisanje korisnika Tipovi agenta"
|
2045 |
|
2046 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:237
|
2047 |
msgid "Delete Agents"
|
2049 |
|
2050 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:252
|
2051 |
msgid "All visitor data will be lost for this agent type."
|
2052 |
+
msgstr "Svi podaci posjetitelja će biti izgubljen za ovu vrstu agent."
|
2053 |
|
2054 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:253
|
2055 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:277
|
2056 |
msgid "Delete now!"
|
2057 |
+
msgstr "Izbriši sada!"
|
2058 |
|
2059 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:261
|
2060 |
msgid "Delete Platforms"
|
2061 |
+
msgstr "Brisanje Platforme"
|
2062 |
|
2063 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-purging.php:276
|
2064 |
msgid "All visitor data will be lost for this platform type."
|
2065 |
+
msgstr "Svi podaci posjetitelja će biti izgubljen za ovu vrstu platforme."
|
2066 |
|
2067 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:17
|
2068 |
msgid "Resources"
|
2069 |
+
msgstr "sredstva"
|
2070 |
|
2071 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:22
|
2072 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:27
|
2073 |
msgid "Memory usage in PHP"
|
2074 |
+
msgstr "korištenje memorije u PHP"
|
2075 |
|
2076 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:26
|
2077 |
msgid "Byte"
|
2078 |
+
msgstr "bajt"
|
2079 |
|
2080 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:33
|
2081 |
msgid "PHP Memory Limit"
|
2082 |
+
msgstr "PHP ograničenje memorije"
|
2083 |
|
2084 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:38
|
2085 |
msgid "The memory limit a script is allowed to consume, set in php.ini."
|
2086 |
+
msgstr "Ograničenje memorije skripte je dozvoljeno konzumirati, postavljen u php.ini."
|
2087 |
|
2088 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:44
|
2089 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:55
|
2103 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:103
|
2104 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:114
|
2105 |
msgid "Row"
|
2106 |
+
msgstr "red"
|
2107 |
|
2108 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:49
|
2109 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:60
|
2113 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:104
|
2114 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:115
|
2115 |
msgid "Number of rows"
|
2116 |
+
msgstr "Broj redova"
|
2117 |
|
2118 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:120
|
2119 |
msgid "Version Info"
|
2120 |
+
msgstr "verzija Info"
|
2121 |
|
2122 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:125
|
2123 |
msgid "WP Statistics Version"
|
2137 |
|
2138 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:147
|
2139 |
msgid "PHP Safe Mode"
|
2140 |
+
msgstr "PHP Safe Mode"
|
2141 |
|
2142 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:152
|
2143 |
msgid "Is PHP Safe Mode active. The GeoIP code is not supported in Safe Mode."
|
2145 |
|
2146 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:169
|
2147 |
msgid "jQuery Version"
|
2148 |
+
msgstr "jQuery verzija"
|
2149 |
|
2150 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:174
|
2151 |
msgid "The jQuery version you are running."
|
2152 |
+
msgstr "JQuery verzija radite."
|
2153 |
|
2154 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:180
|
2155 |
msgid "cURL Version"
|
2165 |
|
2166 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:195
|
2167 |
msgid "Installed"
|
2168 |
+
msgstr "instalirana"
|
2169 |
|
2170 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:195
|
2171 |
msgid "Not installed"
|
2172 |
+
msgstr "nije instaliran"
|
2173 |
|
2174 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:201
|
2175 |
msgid "File Info"
|
2177 |
|
2178 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:206
|
2179 |
msgid "GeoIP Database"
|
2180 |
+
msgstr "GeoIP baza"
|
2181 |
|
2182 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:215
|
2183 |
msgid "Database file does not exist."
|
2187 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:236
|
2188 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:255
|
2189 |
msgid ", created on "
|
2190 |
+
msgstr ", Stvoreno na"
|
2191 |
|
2192 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:219
|
2193 |
msgid "The file size and date of the GeoIP database."
|
2194 |
+
msgstr "Veličina datoteke i datum baze podataka GeoIP."
|
2195 |
|
2196 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:225
|
2197 |
msgid "browscap.ini File"
|
2198 |
+
msgstr "browscap.ini File"
|
2199 |
|
2200 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:234
|
2201 |
msgid "browscap.ini file does not exist."
|
2202 |
+
msgstr "browscap.ini datoteka ne postoji."
|
2203 |
|
2204 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:238
|
2205 |
msgid "The file size and date of the browscap.ini file."
|
2206 |
+
msgstr "Veličina datoteke i datum browscap.ini datoteke."
|
2207 |
|
2208 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:244
|
2209 |
msgid "browscap Cache File"
|
2211 |
|
2212 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:253
|
2213 |
msgid "browscap cache file does not exist."
|
2214 |
+
msgstr "browscap cache datoteka ne postoji."
|
2215 |
|
2216 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:257
|
2217 |
msgid "The file size and date of the browscap cache file."
|
2219 |
|
2220 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:262
|
2221 |
msgid "Client Info"
|
2222 |
+
msgstr "klijent Info"
|
2223 |
|
2224 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:267
|
2225 |
msgid "Client IP"
|
2226 |
+
msgstr "klijent IP"
|
2227 |
|
2228 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:272
|
2229 |
msgid "The client IP address."
|
2239 |
|
2240 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:289
|
2241 |
msgid "Browser"
|
2242 |
+
msgstr "Pretraživač"
|
2243 |
|
2244 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:296
|
2245 |
msgid "The detected client browser."
|
2247 |
|
2248 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:307
|
2249 |
msgid "The detected client browser version."
|
2250 |
+
msgstr "Otkriveni verzija web pregledniku."
|
2251 |
|
2252 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-resources.php:318
|
2253 |
msgid "The detected client platform."
|
2254 |
+
msgstr "Otkrivenih klijent platformi."
|
2255 |
|
2256 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:4
|
2257 |
msgid "This will replace all IP addresses in the database with hash values and cannot be undo, are you sure?"
|
2259 |
|
2260 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:16
|
2261 |
msgid "GeoIP Options"
|
2262 |
+
msgstr "GeoIP Mogućnosti"
|
2263 |
|
2264 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:26
|
2265 |
msgid "Updates any unknown location data in the database, this may take a while"
|
2268 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:31
|
2269 |
#: wp-statistics/includes/settings/tabs/wps-general.php:66
|
2270 |
msgid "IP Addresses"
|
2271 |
+
msgstr "IP adrese"
|
2272 |
|
2273 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:36
|
2274 |
#: wp-statistics/includes/settings/tabs/wps-general.php:71
|
2275 |
msgid "Hash IP Addresses"
|
2276 |
+
msgstr "Hash IP adrese"
|
2277 |
|
2278 |
#: wp-statistics/includes/optimization/tabs/wps-optimization-updates.php:41
|
2279 |
msgid "Replace IP addresses in the database with hash values, you will not be able to recover the IP addresses in the future to populate location information afterwards and this may take a while"
|
2280 |
+
msgstr "Zamijenite IP adrese u bazi podataka sa hash vrijednosti, nećete biti u mogućnosti da se oporavim IP adrese u budućnosti nakon toga popunite informacije o lokaciji i to može potrajati"
|
2281 |
|
2282 |
#: wp-statistics/includes/optimization/wps-optimization.php:43
|
2283 |
msgid "IP Addresses replaced with hash values."
|
2284 |
+
msgstr "IP adrese zamijenio sa hash vrijednosti."
|
2285 |
|
2286 |
#: wp-statistics/includes/optimization/wps-optimization.php:51
|
2287 |
msgid "Install routine complete."
|
2289 |
|
2290 |
#: wp-statistics/includes/optimization/wps-optimization.php:234
|
2291 |
msgid "Resources/Information"
|
2292 |
+
msgstr "Resources / Informacije"
|
2293 |
|
2294 |
#: wp-statistics/includes/optimization/wps-optimization.php:236
|
2295 |
msgid "Purging"
|
2297 |
|
2298 |
#: wp-statistics/includes/optimization/wps-optimization.php:237
|
2299 |
msgid "Database"
|
2300 |
+
msgstr "baza podataka"
|
2301 |
|
2302 |
#: wp-statistics/includes/optimization/wps-optimization.php:238
|
2303 |
msgid "Updates"
|
2304 |
+
msgstr "ažuriranja"
|
2305 |
|
2306 |
#: wp-statistics/includes/optimization/wps-optimization.php:239
|
2307 |
msgid "Historical"
|
2308 |
+
msgstr "istorijski"
|
2309 |
|
2310 |
#: wp-statistics/includes/settings/tabs/wps-about.php:8
|
2311 |
msgid "WP Statistics V%s"
|
2312 |
+
msgstr "WP Statistika V\"%\".strtolower($m[1])"
|
2313 |
|
2314 |
#: wp-statistics/includes/settings/tabs/wps-about.php:28
|
2315 |
msgid "Visit Us Online"
|
2316 |
+
msgstr "Posjetite nas online"
|
2317 |
|
2318 |
#: wp-statistics/includes/settings/tabs/wps-about.php:32
|
2319 |
msgid "Come visit our great new %s and keep up to date on the latest news about WP Statistics."
|
2321 |
|
2322 |
#: wp-statistics/includes/settings/tabs/wps-about.php:32
|
2323 |
msgid "website"
|
2324 |
+
msgstr "sajt"
|
2325 |
|
2326 |
#: wp-statistics/includes/settings/tabs/wps-about.php:36
|
2327 |
msgid "Rate and Review at WordPress.org"
|
2329 |
|
2330 |
#: wp-statistics/includes/settings/tabs/wps-about.php:40
|
2331 |
msgid "Thanks for installing WP Statistics, we encourage you to submit a "
|
2332 |
+
msgstr "Hvala za instaliranje WP statistiku, preporučujemo vam da podnese"
|
2333 |
|
2334 |
#: wp-statistics/includes/settings/tabs/wps-about.php:40
|
2335 |
msgid "rating and review"
|
2336 |
+
msgstr "preporuku i pregled"
|
2337 |
|
2338 |
#: wp-statistics/includes/settings/tabs/wps-about.php:40
|
2339 |
msgid "over at WordPress.org. Your feedback is greatly appreciated!"
|
2341 |
|
2342 |
#: wp-statistics/includes/settings/tabs/wps-about.php:44
|
2343 |
msgid "Translations"
|
2344 |
+
msgstr "Prijevodi"
|
2345 |
|
2346 |
#: wp-statistics/includes/settings/tabs/wps-about.php:48
|
2347 |
msgid "WP Statistics supports internationalization and we encourage our users to submit translations, please visit our %s to see the current status and %s if you would like to help."
|
2357 |
|
2358 |
#: wp-statistics/includes/settings/tabs/wps-about.php:52
|
2359 |
msgid "Support"
|
2360 |
+
msgstr "podrška"
|
2361 |
|
2362 |
#: wp-statistics/includes/settings/tabs/wps-about.php:57
|
2363 |
msgid "We're sorry you're having problem with WP Statistics and we're happy to help out. Here are a few things to do before contacting us:"
|
2370 |
|
2371 |
#: wp-statistics/includes/settings/tabs/wps-about.php:60
|
2372 |
msgid "FAQs"
|
2373 |
+
msgstr "Pitanja i odgovori"
|
2374 |
|
2375 |
#: wp-statistics/includes/settings/tabs/wps-about.php:61
|
2376 |
msgid "manual"
|
2377 |
+
msgstr "priručnik"
|
2378 |
|
2379 |
#: wp-statistics/includes/settings/tabs/wps-about.php:62
|
2380 |
msgid "Have you search the %s for a similar issue?"
|
2382 |
|
2383 |
#: wp-statistics/includes/settings/tabs/wps-about.php:62
|
2384 |
msgid "support forum"
|
2385 |
+
msgstr "forum podrške"
|
2386 |
|
2387 |
#: wp-statistics/includes/settings/tabs/wps-about.php:63
|
2388 |
msgid "Have you search the Internet for any error messages you are receiving?"
|
2389 |
+
msgstr "Jeste li pretraživati Internet za bilo kakvu grešku primate?"
|
2390 |
|
2391 |
#: wp-statistics/includes/settings/tabs/wps-about.php:64
|
2392 |
msgid "Make sure you have access to your PHP error logs."
|
2394 |
|
2395 |
#: wp-statistics/includes/settings/tabs/wps-about.php:67
|
2396 |
msgid "And a few things to double-check:"
|
2397 |
+
msgstr "I nekoliko stvari da proverim:"
|
2398 |
|
2399 |
#: wp-statistics/includes/settings/tabs/wps-about.php:70
|
2400 |
msgid "How's your memory_limit in php.ini?"
|
2401 |
+
msgstr "Kako ti je memory_limit u php.ini?"
|
2402 |
|
2403 |
#: wp-statistics/includes/settings/tabs/wps-about.php:71
|
2404 |
msgid "Have you tried disabling any other plugins you may have installed?"
|
2405 |
+
msgstr "Da li ste pokušali onemogućiti bilo koji drugi plugin ste možda instaliran?"
|
2406 |
|
2407 |
#: wp-statistics/includes/settings/tabs/wps-about.php:72
|
2408 |
msgid "Have you tried using the default WordPress theme?"
|
2409 |
+
msgstr "Jeste li pokušali koristeći zadani WordPress temu?"
|
2410 |
|
2411 |
#: wp-statistics/includes/settings/tabs/wps-about.php:73
|
2412 |
msgid "Have you double checked the plugin settings?"
|
2413 |
+
msgstr "Jeste li proverili postavke plugin?"
|
2414 |
|
2415 |
#: wp-statistics/includes/settings/tabs/wps-about.php:74
|
2416 |
msgid "Do you have all the required PHP extensions installed?"
|
2417 |
+
msgstr "Da li instalirali sve potrebne ekstenzije PHP?"
|
2418 |
|
2419 |
#: wp-statistics/includes/settings/tabs/wps-about.php:75
|
2420 |
msgid "Are you getting a blank or incomplete page displayed in your browser? Did you view the source for the page and check for any fatal errors?"
|
2421 |
+
msgstr "Da li dobiti praznu ili nepotpune stranice prikazuju u vašem browser? Da li ste videli izvor za stranicu i provjerite za bilo kakve fatalne greške?"
|
2422 |
|
2423 |
#: wp-statistics/includes/settings/tabs/wps-about.php:76
|
2424 |
msgid "Have you checked your PHP and web server error logs?"
|
2425 |
+
msgstr "Jesi li proverio PHP i web server greška za rezanje?"
|
2426 |
|
2427 |
#: wp-statistics/includes/settings/tabs/wps-about.php:79
|
2428 |
msgid "Still not having any luck?"
|
2429 |
+
msgstr "Ipak nemaju nikakve sreće?"
|
2430 |
|
2431 |
#: wp-statistics/includes/settings/tabs/wps-about.php:79
|
2432 |
msgid "Then please open a new thread on the %s and we'll respond as soon as possible."
|
2433 |
+
msgstr "Onda molim te otvori novu temu na\"%\".strtolower($m[1]), a mi ćemo odgovoriti u najkraćem mogućem roku."
|
2434 |
|
2435 |
#: wp-statistics/includes/settings/tabs/wps-about.php:79
|
2436 |
msgid "WordPress.org support forum"
|
2437 |
+
msgstr "WordPress.org forum podrške"
|
2438 |
|
2439 |
#: wp-statistics/includes/settings/tabs/wps-about.php:83
|
2440 |
msgid "Alternatively %s support is available as well."
|
2442 |
|
2443 |
#: wp-statistics/includes/settings/tabs/wps-about.php:83
|
2444 |
msgid "Farsi"
|
2445 |
+
msgstr "Perzijski"
|
2446 |
|
2447 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:21
|
2448 |
msgid "WP Statistics Honey Pot Page"
|
2449 |
+
msgstr "WP Statistika Honey Pot Page"
|
2450 |
|
2451 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:22
|
2452 |
msgid "This is the honey pot for WP Statistics to use, do not delete."
|
2459 |
|
2460 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:52
|
2461 |
msgid "Required user level to view WP Statistics"
|
2462 |
+
msgstr "Potreban nivo korisniku da vidi WP statistiku"
|
2463 |
|
2464 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:67
|
2465 |
msgid "Required user level to manage WP Statistics"
|
2466 |
+
msgstr "Potreban nivo korisniku da upravlja WP statistiku"
|
2467 |
|
2468 |
#: wp-statistics/includes/settings/tabs/wps-access-level.php:75
|
2469 |
msgid "See the %s for details on capability levels."
|
2501 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:136
|
2502 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:153
|
2503 |
msgid "Enable"
|
2504 |
+
msgstr "omogućiti"
|
2505 |
|
2506 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:53
|
2507 |
msgid "This will record all the excluded hits in a separate table with the reasons why it was excluded but no other information. This will generate a lot of data but is useful if you want to see the total number of hits your site gets, not just actual user visits."
|
2517 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:213
|
2518 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:220
|
2519 |
msgid "Exclude"
|
2520 |
+
msgstr "isključiti"
|
2521 |
|
2522 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:75
|
2523 |
msgid "Exclude %s role from data collection."
|
2525 |
|
2526 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:81
|
2527 |
msgid "IP/Robot Exclusions"
|
2528 |
+
msgstr "IP / Robot Isključenja"
|
2529 |
|
2530 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:85
|
2531 |
msgid "Robot list"
|
2532 |
+
msgstr "lista Robot"
|
2533 |
|
2534 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:98
|
2535 |
msgid "A list of words (one per line) to match against to detect robots. Entries must be at least 4 characters long or they will be ignored."
|
2537 |
|
2538 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:99
|
2539 |
msgid "Reset to Default"
|
2540 |
+
msgstr "Vrati na Uobičajeno"
|
2541 |
|
2542 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:104
|
2543 |
msgid "Force robot list update after upgrades"
|
2557 |
|
2558 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:120
|
2559 |
msgid "Excluded IP address list"
|
2560 |
+
msgstr "Izuzete IP adresa lista"
|
2561 |
|
2562 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:126
|
2563 |
msgid "Add 10.0.0.0"
|
2564 |
+
msgstr "Dodaj 10.0.0.0"
|
2565 |
|
2566 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:127
|
2567 |
msgid "Add 172.16.0.0"
|
2568 |
+
msgstr "Dodaj 172.16.0.0"
|
2569 |
|
2570 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:128
|
2571 |
msgid "Add 192.168.0.0"
|
2572 |
+
msgstr "Dodaj 192.168.0.0"
|
2573 |
|
2574 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:134
|
2575 |
msgid "Use honey pot"
|
2576 |
+
msgstr "Koristite Honey Pot"
|
2577 |
|
2578 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:137
|
2579 |
msgid "Use a honey pot page to identify robots."
|
2581 |
|
2582 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:142
|
2583 |
msgid "Honey pot post id"
|
2584 |
+
msgstr "Honey Pot post id"
|
2585 |
|
2586 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:145
|
2587 |
msgid "The post id to use for the honeypot page."
|
2588 |
+
msgstr "Post id koristiti za stranicu Honeypot."
|
2589 |
|
2590 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:146
|
2591 |
msgid "Create a new honey pot page"
|
2601 |
|
2602 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:166
|
2603 |
msgid "A list of country codes (one per line, two letters each) to exclude from statistics collection. Use \"000\" (three zeros) to exclude unknown countries."
|
2604 |
+
msgstr "Lista kodova zemlje (jedan po liniji, dva pisma svaki) da isključi iz kolekcije statistika. Koristite "000" (tri nule) da isključi nepoznate zemlje."
|
2605 |
|
2606 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:171
|
2607 |
msgid "Included countries list"
|
2637 |
|
2638 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:200
|
2639 |
msgid "Exclude the login page for registering as a hit."
|
2640 |
+
msgstr "Isključuje stranicu za prijavu za registraciju kao hit."
|
2641 |
|
2642 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:204
|
2643 |
msgid "Excluded admin pages"
|
2649 |
|
2650 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:211
|
2651 |
msgid "Excluded RSS feeds"
|
2652 |
+
msgstr "Isključeni RSS feed"
|
2653 |
|
2654 |
#: wp-statistics/includes/settings/tabs/wps-exclusions.php:214
|
2655 |
msgid "Exclude the RSS feeds for registering as a hit."
|
2656 |
+
msgstr "Isključi RSS feed za registraciju kao hit."
|
2657 |
|
2658 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:162
|
2659 |
msgid "browscap settings"
|
2660 |
+
msgstr "postavke browscap"
|
2661 |
|
2662 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:167
|
2663 |
msgid "browscap usage"
|
2664 |
+
msgstr "browscap korištenje"
|
2665 |
|
2666 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:52
|
2667 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:76
|
2696 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:54
|
2697 |
#: wp-statistics/includes/settings/tabs/wps-overview-display.php:74
|
2698 |
msgid "Active"
|
2699 |
+
msgstr "aktivan"
|
2700 |
|
2701 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:173
|
2702 |
msgid "The browscap database will be downloaded and used to detect robots."
|
2703 |
+
msgstr "Baza podataka browscap će se preuzeti i koristiti za otkrivanje robota."
|
2704 |
|
2705 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:179
|
2706 |
msgid "Update browscap Info"
|
2708 |
|
2709 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:184
|
2710 |
msgid "Download browscap Database"
|
2711 |
+
msgstr "Preuzimanje browscap baza"
|
2712 |
|
2713 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:65
|
2714 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:185
|
2715 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:249
|
2716 |
msgid "Save changes on this page to download the update."
|
2717 |
+
msgstr "Sačuvajte promjene na ovoj stranici za preuzimanje ažuriranja."
|
2718 |
|
2719 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:191
|
2720 |
msgid "Schedule weekly update of browscap DB"
|
2721 |
+
msgstr "Zakazati nedeljni ažuriranje browscap DB"
|
2722 |
|
2723 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:79
|
2724 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:199
|
2725 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:263
|
2726 |
msgid "Next update will be"
|
2727 |
+
msgstr "Sljedeći update će biti"
|
2728 |
|
2729 |
#: wp-statistics/includes/settings/tabs/wps-externals.php:215
|
2730 |
msgid "Download of the browscap database will be scheduled for once a week."
|
2731 |
+
msgstr "Preuzimanje baze podataka browscap će biti zakazana za jednom tjedno."
|
2732 |
|
2733 |
#: wp-statistics/includes/settings/tabs/wps-general.php:50
|
2734 |
msgid "This will delete the manual when you save the settings, are you sure?"
|
2735 |
+
msgstr "Ovo će izbrisati priručnik kada ste sačuvali postavke, jesi li siguran?"
|
2736 |
|
2737 |
#: wp-statistics/includes/settings/tabs/wps-general.php:77
|
2738 |
msgid "This feature will not store IP addresses in the database but instead used a unique hash. The \"Store entire user agent string\" setting will be disabled if this is selected. You will not be able to recover the IP addresses in the future to recover location information if this is enabled."
|
2739 |
+
msgstr "Ova funkcija neće čuvati IP adrese u bazi podataka, ali umjesto toga koristi jedinstveni hash. "Pohranite čitav korisnički agent string" postavka će biti onemogućen ako je odabrana ova. Nećete biti u mogućnosti da se oporavim IP adrese u budućnosti da se oporavi informacije o lokaciji ako je to omogućeno."
|
2740 |
|
2741 |
#: wp-statistics/includes/log/widgets/summary.php:12
|
2742 |
#: wp-statistics/includes/settings/tabs/wps-general.php:82
|
2743 |
#: wp-statistics/shortcode.php:138 wp-statistics/widget.php:39
|
2744 |
#: wp-statistics/widget.php:260
|
2745 |
msgid "Users Online"
|
2746 |
+
msgstr "korisnici Online"
|
2747 |
|
2748 |
#: wp-statistics/includes/settings/tabs/wps-general.php:87
|
2749 |
msgid "User online"
|
2750 |
+
msgstr "korisnika online"
|
languages/wp_statistics-ckb.mo
CHANGED
Binary file
|
languages/wp_statistics-ckb.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: ku_IQ\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: ku_IQ\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-cs_CZ.mo
CHANGED
Binary file
|
languages/wp_statistics-cs_CZ.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: cs_CZ\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: cs_CZ\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-da_DK.mo
CHANGED
Binary file
|
languages/wp_statistics-da_DK.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: da_DK\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: da_DK\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-de_DE.mo
CHANGED
Binary file
|
languages/wp_statistics-de_DE.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: de\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: de\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-de_de_formal.mo
CHANGED
Binary file
|
languages/wp_statistics-de_de_formal.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: de\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: de\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-eo.mo
CHANGED
Binary file
|
languages/wp_statistics-eo.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: eo\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: eo\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-es_ES.mo
CHANGED
Binary file
|
languages/wp_statistics-es_ES.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: es\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: es\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-fa_IR.mo
CHANGED
Binary file
|
languages/wp_statistics-fa_IR.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: fa\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: fa\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-fr_FR.mo
CHANGED
Binary file
|
languages/wp_statistics-fr_FR.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: fr\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: fr\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-hi.mo
CHANGED
Binary file
|
languages/wp_statistics-hi.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: hi_IN\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: hi_IN\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-hu_HU.mo
CHANGED
Binary file
|
languages/wp_statistics-hu_HU.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: hu\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: hu\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-id_ID.mo
CHANGED
Binary file
|
languages/wp_statistics-id_ID.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: id\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: id\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-it_IT.mo
CHANGED
Binary file
|
languages/wp_statistics-it_IT.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: it\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: it\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-ja.mo
CHANGED
Binary file
|
languages/wp_statistics-ja.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: ja_JP\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: ja_JP\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-nl_NL.mo
CHANGED
Binary file
|
languages/wp_statistics-nl_NL.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: nl\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: nl\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-pl_PL.mo
CHANGED
Binary file
|
languages/wp_statistics-pl_PL.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: pl\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: pl\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-pt_BR.mo
CHANGED
Binary file
|
languages/wp_statistics-pt_BR.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: pt_BR\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: pt_BR\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-ro_RO.mo
CHANGED
Binary file
|
languages/wp_statistics-ro_RO.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: ro\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: ro\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-ru_RU.mo
CHANGED
Binary file
|
languages/wp_statistics-ru_RU.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: ru\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: ru\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-sk_SK.mo
CHANGED
Binary file
|
languages/wp_statistics-sk_SK.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: sk\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: sk\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-sr_RS.mo
CHANGED
Binary file
|
languages/wp_statistics-sr_RS.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: sr_RS\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: sr_RS\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-sv_SE.mo
CHANGED
Binary file
|
languages/wp_statistics-sv_SE.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: sv_SE\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: sv_SE\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-tr_TR.mo
CHANGED
Binary file
|
languages/wp_statistics-tr_TR.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: tr\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: tr\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-uk.mo
CHANGED
Binary file
|
languages/wp_statistics-uk.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: uk_UA\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: uk_UA\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-vi.mo
CHANGED
Binary file
|
languages/wp_statistics-vi.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: vi_VN\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: vi_VN\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-zh_CN.mo
CHANGED
Binary file
|
languages/wp_statistics-zh_CN.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: zh_CN\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: zh_CN\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
languages/wp_statistics-zh_TW.mo
CHANGED
Binary file
|
languages/wp_statistics-zh_TW.po
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
-
"X-Generator: GlotPress/2.
|
11 |
"Language: zh_TW\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
+
"X-Generator: GlotPress/2.3.0-alpha\n"
|
11 |
"Language: zh_TW\n"
|
12 |
"Project-Id-Version: WP Statistics\n"
|
13 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wp-statistics.com/donate/
|
|
4 |
Tags: statistics, stats, visit, visitors, chart, browser, blog, today, yesterday, week, month, year, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.6.1
|
7 |
-
Stable tag: 11.0
|
8 |
License: GPL3
|
9 |
|
10 |
Complete statistics for your WordPress site.
|
@@ -125,7 +125,7 @@ You can also ask MaxMind to unblock your host. Note that automatic updates will
|
|
125 |
|
126 |
= I've activated the plugin but the menus don't show up and nothing happens? =
|
127 |
|
128 |
-
WP Statistics requires PHP 5.
|
129 |
|
130 |
If there is no error message there may be something else wrong, your first thing to try is disabling your other plugins as they can sometimes cause conflicts.
|
131 |
|
@@ -257,6 +257,18 @@ If IPv6 is not enabled, you may see an warning like:
|
|
257 |
|
258 |
Warning: inet_pton() [function.inet-pton]: Unrecognized address 2003:0006:1507:5d71:6114:d8bd:80c2:1090
|
259 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
== Screenshots ==
|
261 |
1. View stats page.
|
262 |
2. View latest search words.
|
@@ -271,9 +283,16 @@ If IPv6 is not enabled, you may see an warning like:
|
|
271 |
|
272 |
== Upgrade Notice ==
|
273 |
= 11.0 =
|
274 |
-
|
275 |
|
276 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
= 11.0 =
|
278 |
* Release Date: October 28, 2016
|
279 |
* Added: IPv6 Support.
|
4 |
Tags: statistics, stats, visit, visitors, chart, browser, blog, today, yesterday, week, month, year, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.6.1
|
7 |
+
Stable tag: 11.0.1
|
8 |
License: GPL3
|
9 |
|
10 |
Complete statistics for your WordPress site.
|
125 |
|
126 |
= I've activated the plugin but the menus don't show up and nothing happens? =
|
127 |
|
128 |
+
WP Statistics requires PHP 5.4, if it has detected an older version of PHP installed it will active cleanly in WordPress but disable all functionality, you will have to upgrade to PHP 5.4 or above for it to function. WP Statistics will display an error on your plugin list just below the WP Statistics entry to let you know.
|
129 |
|
130 |
If there is no error message there may be something else wrong, your first thing to try is disabling your other plugins as they can sometimes cause conflicts.
|
131 |
|
257 |
|
258 |
Warning: inet_pton() [function.inet-pton]: Unrecognized address 2003:0006:1507:5d71:6114:d8bd:80c2:1090
|
259 |
|
260 |
+
= When I upgrade or install WP Statistics 11.0 I get an error message like "Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in..." =
|
261 |
+
|
262 |
+
Since WP Statistics 11.0, PHP 5.4 or above has been required. If you are using an older version of PHP it cannot understand the new syntax included in WP Statistics 11.0 and generates a parse error.
|
263 |
+
|
264 |
+
Your hosting provider should have a newer version of PHP available, sometimes you must activate it through your hosting control panel.
|
265 |
+
|
266 |
+
Since the last release of PHP 5.3 is over 2 years ago (Aug 2014) and is no longer supported or receiving security fixes, if your provider does not support a newer version you should probably be moving hosting providers.
|
267 |
+
|
268 |
+
If you have done an upgrade and you can no longer access your site due to the parse error you will have to manually delete the wp-statistics directory from your wordpress/wp-content/plugins directory, either through your hosting providers control panel or FTP.
|
269 |
+
|
270 |
+
You may also downgrade to WP Statistics 10.3 as a temporary measure, but no new fixes or features will be added to that version and you should move to a newer version of PHP as soon as possible. You can download the 10.3 here: https://downloads.wordpress.org/plugin/wp-statistics.10.3.zip
|
271 |
+
|
272 |
== Screenshots ==
|
273 |
1. View stats page.
|
274 |
2. View latest search words.
|
283 |
|
284 |
== Upgrade Notice ==
|
285 |
= 11.0 =
|
286 |
+
PHP 5.4 is now required for version 11.0 and above! IPv6 is now supported if you have IPv6 support complied in to PHP, if you don't you may see warning messages if you receive visitors from IPv6 addresses (see the FAQ for more information).
|
287 |
|
288 |
== Changelog ==
|
289 |
+
= 11.0.1 =
|
290 |
+
* Release Date: November 7, 2016
|
291 |
+
* Fixed: Don't refresh a widget if it's not visible, fixes the widget being replaced by a spinner that never goes away.
|
292 |
+
* Updated: Minimum PHP version is now 5.4.
|
293 |
+
* Updated: Additional error checks for new IP code.
|
294 |
+
* Updated: jqPlot library to version development version and added DST fix.
|
295 |
+
|
296 |
= 11.0 =
|
297 |
* Release Date: October 28, 2016
|
298 |
* Added: IPv6 Support.
|
wp-statistics.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Plugin Name: WP Statistics
|
4 |
Plugin URI: http://wp-statistics.com/
|
5 |
Description: Complete statistics for your WordPress site.
|
6 |
-
Version: 11.0
|
7 |
-
Author:
|
8 |
Author URI: http://wp-statistics.com/
|
9 |
Text Domain: wp_statistics
|
10 |
Domain Path: /languages/
|
@@ -12,9 +12,9 @@ License: GPL2
|
|
12 |
*/
|
13 |
|
14 |
// These defines are used later for various reasons.
|
15 |
-
define('WP_STATISTICS_VERSION', '11.0');
|
16 |
define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
|
17 |
-
define('WP_STATISTICS_REQUIRED_PHP_VERSION', '5.
|
18 |
define('WP_STATISTICS_REQUIRED_GEOIP_PHP_VERSION', WP_STATISTICS_REQUIRED_PHP_VERSION);
|
19 |
define('WPS_EXPORT_FILE_NAME', 'wp-statistics');
|
20 |
|
3 |
Plugin Name: WP Statistics
|
4 |
Plugin URI: http://wp-statistics.com/
|
5 |
Description: Complete statistics for your WordPress site.
|
6 |
+
Version: 11.0.1
|
7 |
+
Author: Greg Ross & Mostafa Soufi
|
8 |
Author URI: http://wp-statistics.com/
|
9 |
Text Domain: wp_statistics
|
10 |
Domain Path: /languages/
|
12 |
*/
|
13 |
|
14 |
// These defines are used later for various reasons.
|
15 |
+
define('WP_STATISTICS_VERSION', '11.0.1');
|
16 |
define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
|
17 |
+
define('WP_STATISTICS_REQUIRED_PHP_VERSION', '5.4.0');
|
18 |
define('WP_STATISTICS_REQUIRED_GEOIP_PHP_VERSION', WP_STATISTICS_REQUIRED_PHP_VERSION);
|
19 |
define('WPS_EXPORT_FILE_NAME', 'wp-statistics');
|
20 |
|