jquery_cheats 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/app/assets/javascripts/{jqueryCheats.js → jquery_cheats/jquery_cheats.js} +0 -0
  2. data/jquery_cheats.gemspec +1 -1
  3. data/lib/jquery_cheats/engine.rb +6 -0
  4. data/lib/{railtie.rb → jquery_cheats/railtie.rb} +0 -0
  5. data/lib/jquery_cheats.rb +2 -2
  6. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/excanvas.js +1438 -1438
  7. data/vendor/assets/javascripts/jquery_cheats/jqplot/index.js +1 -0
  8. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/jquery.jqplot.js +10901 -10901
  9. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.BezierCurveRenderer.js +311 -311
  10. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.BezierCurveRenderer.min.js +56 -56
  11. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.barRenderer.js +746 -746
  12. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.barRenderer.min.js +56 -56
  13. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.blockRenderer.js +233 -233
  14. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.blockRenderer.min.js +56 -56
  15. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.bubbleRenderer.js +753 -753
  16. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.bubbleRenderer.min.js +56 -56
  17. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasAxisLabelRenderer.js +201 -201
  18. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasAxisLabelRenderer.min.js +56 -56
  19. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasAxisTickRenderer.js +241 -241
  20. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasAxisTickRenderer.min.js +56 -56
  21. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasOverlay.js +863 -863
  22. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasOverlay.min.js +56 -56
  23. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasTextRenderer.js +447 -447
  24. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.canvasTextRenderer.min.js +56 -56
  25. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.categoryAxisRenderer.js +635 -635
  26. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.categoryAxisRenderer.min.js +56 -56
  27. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.ciParser.js +114 -114
  28. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.ciParser.min.js +56 -56
  29. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.cursor.js +1092 -1092
  30. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.cursor.min.js +56 -56
  31. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.dateAxisRenderer.js +702 -702
  32. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.dateAxisRenderer.min.js +56 -56
  33. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.donutRenderer.js +799 -799
  34. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.donutRenderer.min.js +56 -56
  35. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.dragable.js +223 -223
  36. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.dragable.min.js +56 -56
  37. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.enhancedLegendRenderer.js +240 -240
  38. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.enhancedLegendRenderer.min.js +56 -56
  39. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.funnelRenderer.js +937 -937
  40. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.funnelRenderer.min.js +56 -56
  41. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.highlighter.js +453 -453
  42. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.highlighter.min.js +56 -56
  43. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.json2.js +475 -475
  44. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.json2.min.js +56 -56
  45. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.logAxisRenderer.js +527 -527
  46. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.logAxisRenderer.min.js +56 -56
  47. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.mekkoAxisRenderer.js +610 -610
  48. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.mekkoAxisRenderer.min.js +56 -56
  49. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.mekkoRenderer.js +435 -435
  50. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.mekkoRenderer.min.js +56 -56
  51. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.meterGaugeRenderer.js +1028 -1028
  52. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.meterGaugeRenderer.min.js +56 -56
  53. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.ohlcRenderer.js +371 -371
  54. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.ohlcRenderer.min.js +56 -56
  55. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pieRenderer.js +898 -898
  56. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pieRenderer.min.js +56 -56
  57. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pointLabels.js +361 -361
  58. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pointLabels.min.js +56 -56
  59. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pyramidAxisRenderer.js +729 -729
  60. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pyramidAxisRenderer.min.js +56 -56
  61. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pyramidGridRenderer.js +422 -422
  62. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pyramidGridRenderer.min.js +56 -56
  63. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pyramidRenderer.js +489 -489
  64. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.pyramidRenderer.min.js +56 -56
  65. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.trendline.js +221 -221
  66. data/vendor/assets/javascripts/{jqplot → jquery_cheats/jqplot}/plugins/jqplot.trendline.min.js +56 -56
  67. data/vendor/assets/stylesheets/{jquery.jqplot.css → jquery_cheats/jquery.jqplot.css} +259 -259
  68. metadata +68 -67
  69. data/lib/engine.rb +0 -7
@@ -1,57 +1,57 @@
1
- /**
2
- * jqPlot
3
- * Pure JavaScript plotting plugin using jQuery
4
- *
5
- * Version: 1.0.0b2_r1012
6
- *
7
- * Copyright (c) 2009-2011 Chris Leonello
8
- * jqPlot is currently available for use in all personal or commercial projects
9
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
10
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
11
- * choose the license that best suits your project and use it accordingly.
12
- *
13
- * Although not required, the author would appreciate an email letting him
14
- * know of any substantial use of jqPlot. You can reach the author at:
15
- * chris at jqplot dot com or see http://www.jqplot.com/info.php .
16
- *
17
- * If you are feeling kind and generous, consider supporting the project by
18
- * making a donation at: http://www.jqplot.com/donate.php .
19
- *
20
- * sprintf functions contained in jqplot.sprintf.js by Ash Searle:
21
- *
22
- * version 2007.04.27
23
- * author Ash Searle
24
- * http://hexmen.com/blog/2007/03/printf-sprintf/
25
- * http://hexmen.com/js/sprintf.js
26
- * The author (Ash Searle) has placed this code in the public domain:
27
- * "This code is unrestricted: you are free to use it however you like."
28
- *
29
- * included jsDate library by Chris Leonello:
30
- *
31
- * Copyright (c) 2010-2011 Chris Leonello
32
- *
33
- * jsDate is currently available for use in all personal or commercial projects
34
- * under both the MIT and GPL version 2.0 licenses. This means that you can
35
- * choose the license that best suits your project and use it accordingly.
36
- *
37
- * jsDate borrows many concepts and ideas from the Date Instance
38
- * Methods by Ken Snyder along with some parts of Ken's actual code.
39
- *
40
- * Ken's origianl Date Instance Methods and copyright notice:
41
- *
42
- * Ken Snyder (ken d snyder at gmail dot com)
43
- * 2008-09-10
44
- * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
45
- * Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
46
- *
47
- * jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.
48
- * Larry has generously given permission to adapt his code for inclusion
49
- * into jqPlot.
50
- *
51
- * Larry's original code can be found here:
52
- *
53
- * https://github.com/lsiden/export-jqplot-to-png
54
- *
55
- *
56
- */
1
+ /**
2
+ * jqPlot
3
+ * Pure JavaScript plotting plugin using jQuery
4
+ *
5
+ * Version: 1.0.0b2_r1012
6
+ *
7
+ * Copyright (c) 2009-2011 Chris Leonello
8
+ * jqPlot is currently available for use in all personal or commercial projects
9
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
10
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
11
+ * choose the license that best suits your project and use it accordingly.
12
+ *
13
+ * Although not required, the author would appreciate an email letting him
14
+ * know of any substantial use of jqPlot. You can reach the author at:
15
+ * chris at jqplot dot com or see http://www.jqplot.com/info.php .
16
+ *
17
+ * If you are feeling kind and generous, consider supporting the project by
18
+ * making a donation at: http://www.jqplot.com/donate.php .
19
+ *
20
+ * sprintf functions contained in jqplot.sprintf.js by Ash Searle:
21
+ *
22
+ * version 2007.04.27
23
+ * author Ash Searle
24
+ * http://hexmen.com/blog/2007/03/printf-sprintf/
25
+ * http://hexmen.com/js/sprintf.js
26
+ * The author (Ash Searle) has placed this code in the public domain:
27
+ * "This code is unrestricted: you are free to use it however you like."
28
+ *
29
+ * included jsDate library by Chris Leonello:
30
+ *
31
+ * Copyright (c) 2010-2011 Chris Leonello
32
+ *
33
+ * jsDate is currently available for use in all personal or commercial projects
34
+ * under both the MIT and GPL version 2.0 licenses. This means that you can
35
+ * choose the license that best suits your project and use it accordingly.
36
+ *
37
+ * jsDate borrows many concepts and ideas from the Date Instance
38
+ * Methods by Ken Snyder along with some parts of Ken's actual code.
39
+ *
40
+ * Ken's origianl Date Instance Methods and copyright notice:
41
+ *
42
+ * Ken Snyder (ken d snyder at gmail dot com)
43
+ * 2008-09-10
44
+ * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
45
+ * Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
46
+ *
47
+ * jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.
48
+ * Larry has generously given permission to adapt his code for inclusion
49
+ * into jqPlot.
50
+ *
51
+ * Larry's original code can be found here:
52
+ *
53
+ * https://github.com/lsiden/export-jqplot-to-png
54
+ *
55
+ *
56
+ */
57
57
  (function(f){f.jqplot.Trendline=function(){this.show=f.jqplot.config.enablePlugins;this.color="#666666";this.renderer=new f.jqplot.LineRenderer();this.rendererOptions={marker:{show:false}};this.label="";this.type="linear";this.shadow=true;this.markerRenderer={show:false};this.lineWidth=1.5;this.shadowAngle=45;this.shadowOffset=1;this.shadowAlpha=0.07;this.shadowDepth=3;this.isTrendline=true};f.jqplot.postSeriesInitHooks.push(e);f.jqplot.postDrawSeriesHooks.push(g);f.jqplot.addLegendRowHooks.push(a);function a(k){var j=null;if(k.trendline&&k.trendline.show){var i=k.trendline.label.toString();if(i){j={label:i,color:k.trendline.color}}}return j}function e(m,k,j,i,l){if(this._type&&(this._type==="line"||this._type=="bar")){this.trendline=new f.jqplot.Trendline();i=i||{};f.extend(true,this.trendline,{color:this.color},j.trendline,i.trendline);this.trendline.renderer.init.call(this.trendline,null)}}function g(m,i){i=f.extend(true,{},this.trendline,i);if(this.trendline&&i.show){var k;var l=i.data||this.data;k=c(l,this.trendline.type);var j=i.gridData||this.renderer.makeGridData.call(this,k.data);this.trendline.renderer.draw.call(this.trendline,m,j,{showLine:true,shadow:this.trendline.shadow})}}function b(w,v,n){var u=(n==null)?"linear":n;var s=w.length;var t;var z;var o=0;var m=0;var r=0;var q=0;var l=0;var j=[];var k=[];if(u=="linear"){k=w;j=v}else{if(u=="exp"||u=="exponential"){for(var p=0;p<v.length;p++){if(v[p]<=0){s--}else{k.push(w[p]);j.push(Math.log(v[p]))}}}}for(var p=0;p<s;p++){o=o+k[p];m=m+j[p];q=q+k[p]*j[p];r=r+k[p]*k[p];l=l+j[p]*j[p]}t=(s*q-o*m)/(s*r-o*o);z=(m-t*o)/s;return[t,z]}function h(k,j){var i;i=b(k,j,"linear");return[i[0],i[1]]}function d(o,m){var k;var i=o;var n=m;k=b(i,n,"exp");var l=Math.exp(k[0]);var j=Math.exp(k[1]);return[l,j]}function c(l,j){var p=(j==null)?"linear":j;var n;var o;var r=[];var q=[];var m=[];for(k=0;k<l.length;k++){if(l[k]!=null&&l[k][0]!=null&&l[k][1]!=null){r.push(l[k][0]);q.push(l[k][1])}}if(p=="linear"){n=h(r,q);for(var k=0;k<r.length;k++){o=n[0]*r[k]+n[1];m.push([r[k],o])}}else{if(p=="exp"||p=="exponential"){n=d(r,q);for(var k=0;k<r.length;k++){o=n[1]*Math.pow(n[0],r[k]);m.push([r[k],o])}}}return{data:m,slope:n[0],intercept:n[1]}}})(jQuery);
@@ -1,259 +1,259 @@
1
- /*rules for the plot target div. These will be cascaded down to all plot elements according to css rules*/
2
- .jqplot-target {
3
- position: relative;
4
- color: #666666;
5
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
6
- font-size: 1em;
7
- /* height: 300px;
8
- width: 400px;*/
9
- }
10
-
11
- /*rules applied to all axes*/
12
- .jqplot-axis {
13
- font-size: 0.75em;
14
- }
15
-
16
- .jqplot-xaxis {
17
- margin-top: 10px;
18
- }
19
-
20
- .jqplot-x2axis {
21
- margin-bottom: 10px;
22
- }
23
-
24
- .jqplot-yaxis {
25
- margin-right: 10px;
26
- }
27
-
28
- .jqplot-y2axis, .jqplot-y3axis, .jqplot-y4axis, .jqplot-y5axis, .jqplot-y6axis, .jqplot-y7axis, .jqplot-y8axis, .jqplot-y9axis, .jqplot-yMidAxis {
29
- margin-left: 10px;
30
- margin-right: 10px;
31
- }
32
-
33
- /*rules applied to all axis tick divs*/
34
- .jqplot-axis-tick, .jqplot-xaxis-tick, .jqplot-yaxis-tick, .jqplot-x2axis-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-yMidAxis-tick {
35
- position: absolute;
36
- white-space: pre;
37
- }
38
-
39
-
40
- .jqplot-xaxis-tick {
41
- top: 0px;
42
- /* initial position untill tick is drawn in proper place */
43
- left: 15px;
44
- /* padding-top: 10px;*/
45
- vertical-align: top;
46
- }
47
-
48
- .jqplot-x2axis-tick {
49
- bottom: 0px;
50
- /* initial position untill tick is drawn in proper place */
51
- left: 15px;
52
- /* padding-bottom: 10px;*/
53
- vertical-align: bottom;
54
- }
55
-
56
- .jqplot-yaxis-tick {
57
- right: 0px;
58
- /* initial position untill tick is drawn in proper place */
59
- top: 15px;
60
- /* padding-right: 10px;*/
61
- text-align: right;
62
- }
63
-
64
- .jqplot-yaxis-tick.jqplot-breakTick {
65
- right: -20px;
66
- margin-right: 0px;
67
- padding:1px 5px 1px 5px;
68
- /* background-color: white;*/
69
- z-index: 2;
70
- font-size: 1.5em;
71
- }
72
-
73
- .jqplot-y2axis-tick, .jqplot-y3axis-tick, .jqplot-y4axis-tick, .jqplot-y5axis-tick, .jqplot-y6axis-tick, .jqplot-y7axis-tick, .jqplot-y8axis-tick, .jqplot-y9axis-tick {
74
- left: 0px;
75
- /* initial position untill tick is drawn in proper place */
76
- top: 15px;
77
- /* padding-left: 10px;*/
78
- /* padding-right: 15px;*/
79
- text-align: left;
80
- }
81
-
82
- .jqplot-yMidAxis-tick {
83
- text-align: center;
84
- white-space: nowrap;
85
- }
86
-
87
- .jqplot-xaxis-label {
88
- margin-top: 10px;
89
- font-size: 11pt;
90
- position: absolute;
91
- }
92
-
93
- .jqplot-x2axis-label {
94
- margin-bottom: 10px;
95
- font-size: 11pt;
96
- position: absolute;
97
- }
98
-
99
- .jqplot-yaxis-label {
100
- margin-right: 10px;
101
- /* text-align: center;*/
102
- font-size: 11pt;
103
- position: absolute;
104
- }
105
-
106
- .jqplot-yMidAxis-label {
107
- font-size: 11pt;
108
- position: absolute;
109
- }
110
-
111
- .jqplot-y2axis-label, .jqplot-y3axis-label, .jqplot-y4axis-label, .jqplot-y5axis-label, .jqplot-y6axis-label, .jqplot-y7axis-label, .jqplot-y8axis-label, .jqplot-y9axis-label {
112
- /* text-align: center;*/
113
- font-size: 11pt;
114
- margin-left: 10px;
115
- position: absolute;
116
- }
117
-
118
- .jqplot-meterGauge-tick {
119
- font-size: 0.75em;
120
- color: #999999;
121
- }
122
-
123
- .jqplot-meterGauge-label {
124
- font-size: 1em;
125
- color: #999999;
126
- }
127
-
128
- table.jqplot-table-legend {
129
- margin-top: 12px;
130
- margin-bottom: 12px;
131
- margin-left: 12px;
132
- margin-right: 12px;
133
- }
134
-
135
- table.jqplot-table-legend, table.jqplot-cursor-legend {
136
- background-color: rgba(255,255,255,0.6);
137
- border: 1px solid #cccccc;
138
- position: absolute;
139
- font-size: 0.75em;
140
- }
141
-
142
- td.jqplot-table-legend {
143
- vertical-align:middle;
144
- }
145
-
146
- /*
147
- These rules could be used instead of assigning
148
- element styles and relying on js object properties.
149
- */
150
-
151
- /*
152
- td.jqplot-table-legend-swatch {
153
- padding-top: 0.5em;
154
- text-align: center;
155
- }
156
-
157
- tr.jqplot-table-legend:first td.jqplot-table-legend-swatch {
158
- padding-top: 0px;
159
- }
160
- */
161
-
162
- td.jqplot-seriesToggle:hover, td.jqplot-seriesToggle:active {
163
- cursor: pointer;
164
- }
165
-
166
- .jqplot-table-legend .jqplot-series-hidden {
167
- text-decoration: line-through;
168
- }
169
-
170
- div.jqplot-table-legend-swatch-outline {
171
- border: 1px solid #cccccc;
172
- padding:1px;
173
- }
174
-
175
- div.jqplot-table-legend-swatch {
176
- width:0px;
177
- height:0px;
178
- border-top-width: 5px;
179
- border-bottom-width: 5px;
180
- border-left-width: 6px;
181
- border-right-width: 6px;
182
- border-top-style: solid;
183
- border-bottom-style: solid;
184
- border-left-style: solid;
185
- border-right-style: solid;
186
- }
187
-
188
- .jqplot-title {
189
- top: 0px;
190
- left: 0px;
191
- padding-bottom: 0.5em;
192
- font-size: 1.2em;
193
- }
194
-
195
- table.jqplot-cursor-tooltip {
196
- border: 1px solid #cccccc;
197
- font-size: 0.75em;
198
- }
199
-
200
-
201
- .jqplot-cursor-tooltip {
202
- border: 1px solid #cccccc;
203
- font-size: 0.75em;
204
- white-space: nowrap;
205
- background: rgba(208,208,208,0.5);
206
- padding: 1px;
207
- }
208
-
209
- .jqplot-highlighter-tooltip, .jqplot-canvasOverlay-tooltip {
210
- border: 1px solid #cccccc;
211
- font-size: 0.75em;
212
- white-space: nowrap;
213
- background: rgba(208,208,208,0.5);
214
- padding: 1px;
215
- }
216
-
217
- .jqplot-point-label {
218
- font-size: 0.75em;
219
- z-index: 2;
220
- }
221
-
222
- td.jqplot-cursor-legend-swatch {
223
- vertical-align: middle;
224
- text-align: center;
225
- }
226
-
227
- div.jqplot-cursor-legend-swatch {
228
- width: 1.2em;
229
- height: 0.7em;
230
- }
231
-
232
- .jqplot-error {
233
- /* Styles added to the plot target container when there is an error go here.*/
234
- text-align: center;
235
- }
236
-
237
- .jqplot-error-message {
238
- /* Styling of the custom error message div goes here.*/
239
- position: relative;
240
- top: 46%;
241
- display: inline-block;
242
- }
243
-
244
- div.jqplot-bubble-label {
245
- font-size: 0.8em;
246
- /* background: rgba(90%, 90%, 90%, 0.15);*/
247
- padding-left: 2px;
248
- padding-right: 2px;
249
- color: rgb(20%, 20%, 20%);
250
- }
251
-
252
- div.jqplot-bubble-label.jqplot-bubble-label-highlight {
253
- background: rgba(90%, 90%, 90%, 0.7);
254
- }
255
-
256
- div.jqplot-noData-container {
257
- text-align: center;
258
- background-color: rgba(96%, 96%, 96%, 0.3);
259
- }
1
+ /*rules for the plot target div. These will be cascaded down to all plot elements according to css rules*/
2
+ .jqplot-target {
3
+ position: relative;
4
+ color: #666666;
5
+ font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
6
+ font-size: 1em;
7
+ /* height: 300px;
8
+ width: 400px;*/
9
+ }
10
+
11
+ /*rules applied to all axes*/
12
+ .jqplot-axis {
13
+ font-size: 0.75em;
14
+ }
15
+
16
+ .jqplot-xaxis {
17
+ margin-top: 10px;
18
+ }
19
+
20
+ .jqplot-x2axis {
21
+ margin-bottom: 10px;
22
+ }
23
+
24
+ .jqplot-yaxis {
25
+ margin-right: 10px;
26
+ }
27
+
28
+ .jqplot-y2axis, .jqplot-y3axis, .jqplot-y4axis, .jqplot-y5axis, .jqplot-y6axis, .jqplot-y7axis, .jqplot-y8axis, .jqplot-y9axis, .jqplot-yMidAxis {
29
+ margin-left: 10px;
30
+ margin-right: 10px;
31
+ }
32
+
33
+ /*rules applied to all axis tick divs*/
34
+ .jqplot-axis-tick, .jqplot-xaxis-tick, .jqplot-yaxis-tick, .jqplot-x2axis-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-yMidAxis-tick {
35
+ position: absolute;
36
+ white-space: pre;
37
+ }
38
+
39
+
40
+ .jqplot-xaxis-tick {
41
+ top: 0px;
42
+ /* initial position untill tick is drawn in proper place */
43
+ left: 15px;
44
+ /* padding-top: 10px;*/
45
+ vertical-align: top;
46
+ }
47
+
48
+ .jqplot-x2axis-tick {
49
+ bottom: 0px;
50
+ /* initial position untill tick is drawn in proper place */
51
+ left: 15px;
52
+ /* padding-bottom: 10px;*/
53
+ vertical-align: bottom;
54
+ }
55
+
56
+ .jqplot-yaxis-tick {
57
+ right: 0px;
58
+ /* initial position untill tick is drawn in proper place */
59
+ top: 15px;
60
+ /* padding-right: 10px;*/
61
+ text-align: right;
62
+ }
63
+
64
+ .jqplot-yaxis-tick.jqplot-breakTick {
65
+ right: -20px;
66
+ margin-right: 0px;
67
+ padding:1px 5px 1px 5px;
68
+ /* background-color: white;*/
69
+ z-index: 2;
70
+ font-size: 1.5em;
71
+ }
72
+
73
+ .jqplot-y2axis-tick, .jqplot-y3axis-tick, .jqplot-y4axis-tick, .jqplot-y5axis-tick, .jqplot-y6axis-tick, .jqplot-y7axis-tick, .jqplot-y8axis-tick, .jqplot-y9axis-tick {
74
+ left: 0px;
75
+ /* initial position untill tick is drawn in proper place */
76
+ top: 15px;
77
+ /* padding-left: 10px;*/
78
+ /* padding-right: 15px;*/
79
+ text-align: left;
80
+ }
81
+
82
+ .jqplot-yMidAxis-tick {
83
+ text-align: center;
84
+ white-space: nowrap;
85
+ }
86
+
87
+ .jqplot-xaxis-label {
88
+ margin-top: 10px;
89
+ font-size: 11pt;
90
+ position: absolute;
91
+ }
92
+
93
+ .jqplot-x2axis-label {
94
+ margin-bottom: 10px;
95
+ font-size: 11pt;
96
+ position: absolute;
97
+ }
98
+
99
+ .jqplot-yaxis-label {
100
+ margin-right: 10px;
101
+ /* text-align: center;*/
102
+ font-size: 11pt;
103
+ position: absolute;
104
+ }
105
+
106
+ .jqplot-yMidAxis-label {
107
+ font-size: 11pt;
108
+ position: absolute;
109
+ }
110
+
111
+ .jqplot-y2axis-label, .jqplot-y3axis-label, .jqplot-y4axis-label, .jqplot-y5axis-label, .jqplot-y6axis-label, .jqplot-y7axis-label, .jqplot-y8axis-label, .jqplot-y9axis-label {
112
+ /* text-align: center;*/
113
+ font-size: 11pt;
114
+ margin-left: 10px;
115
+ position: absolute;
116
+ }
117
+
118
+ .jqplot-meterGauge-tick {
119
+ font-size: 0.75em;
120
+ color: #999999;
121
+ }
122
+
123
+ .jqplot-meterGauge-label {
124
+ font-size: 1em;
125
+ color: #999999;
126
+ }
127
+
128
+ table.jqplot-table-legend {
129
+ margin-top: 12px;
130
+ margin-bottom: 12px;
131
+ margin-left: 12px;
132
+ margin-right: 12px;
133
+ }
134
+
135
+ table.jqplot-table-legend, table.jqplot-cursor-legend {
136
+ background-color: rgba(255,255,255,0.6);
137
+ border: 1px solid #cccccc;
138
+ position: absolute;
139
+ font-size: 0.75em;
140
+ }
141
+
142
+ td.jqplot-table-legend {
143
+ vertical-align:middle;
144
+ }
145
+
146
+ /*
147
+ These rules could be used instead of assigning
148
+ element styles and relying on js object properties.
149
+ */
150
+
151
+ /*
152
+ td.jqplot-table-legend-swatch {
153
+ padding-top: 0.5em;
154
+ text-align: center;
155
+ }
156
+
157
+ tr.jqplot-table-legend:first td.jqplot-table-legend-swatch {
158
+ padding-top: 0px;
159
+ }
160
+ */
161
+
162
+ td.jqplot-seriesToggle:hover, td.jqplot-seriesToggle:active {
163
+ cursor: pointer;
164
+ }
165
+
166
+ .jqplot-table-legend .jqplot-series-hidden {
167
+ text-decoration: line-through;
168
+ }
169
+
170
+ div.jqplot-table-legend-swatch-outline {
171
+ border: 1px solid #cccccc;
172
+ padding:1px;
173
+ }
174
+
175
+ div.jqplot-table-legend-swatch {
176
+ width:0px;
177
+ height:0px;
178
+ border-top-width: 5px;
179
+ border-bottom-width: 5px;
180
+ border-left-width: 6px;
181
+ border-right-width: 6px;
182
+ border-top-style: solid;
183
+ border-bottom-style: solid;
184
+ border-left-style: solid;
185
+ border-right-style: solid;
186
+ }
187
+
188
+ .jqplot-title {
189
+ top: 0px;
190
+ left: 0px;
191
+ padding-bottom: 0.5em;
192
+ font-size: 1.2em;
193
+ }
194
+
195
+ table.jqplot-cursor-tooltip {
196
+ border: 1px solid #cccccc;
197
+ font-size: 0.75em;
198
+ }
199
+
200
+
201
+ .jqplot-cursor-tooltip {
202
+ border: 1px solid #cccccc;
203
+ font-size: 0.75em;
204
+ white-space: nowrap;
205
+ background: rgba(208,208,208,0.5);
206
+ padding: 1px;
207
+ }
208
+
209
+ .jqplot-highlighter-tooltip, .jqplot-canvasOverlay-tooltip {
210
+ border: 1px solid #cccccc;
211
+ font-size: 0.75em;
212
+ white-space: nowrap;
213
+ background: rgba(208,208,208,0.5);
214
+ padding: 1px;
215
+ }
216
+
217
+ .jqplot-point-label {
218
+ font-size: 0.75em;
219
+ z-index: 2;
220
+ }
221
+
222
+ td.jqplot-cursor-legend-swatch {
223
+ vertical-align: middle;
224
+ text-align: center;
225
+ }
226
+
227
+ div.jqplot-cursor-legend-swatch {
228
+ width: 1.2em;
229
+ height: 0.7em;
230
+ }
231
+
232
+ .jqplot-error {
233
+ /* Styles added to the plot target container when there is an error go here.*/
234
+ text-align: center;
235
+ }
236
+
237
+ .jqplot-error-message {
238
+ /* Styling of the custom error message div goes here.*/
239
+ position: relative;
240
+ top: 46%;
241
+ display: inline-block;
242
+ }
243
+
244
+ div.jqplot-bubble-label {
245
+ font-size: 0.8em;
246
+ /* background: rgba(90%, 90%, 90%, 0.15);*/
247
+ padding-left: 2px;
248
+ padding-right: 2px;
249
+ color: rgb(20%, 20%, 20%);
250
+ }
251
+
252
+ div.jqplot-bubble-label.jqplot-bubble-label-highlight {
253
+ background: rgba(90%, 90%, 90%, 0.7);
254
+ }
255
+
256
+ div.jqplot-noData-container {
257
+ text-align: center;
258
+ background-color: rgba(96%, 96%, 96%, 0.3);
259
+ }