old_sql 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. data/README.md +24 -13
  2. data/app/controllers/old_sql/report_controller.rb +3 -17
  3. data/app/views/layouts/old_sql/chart.html.erb +11 -0
  4. data/app/views/old_sql/report/chart.html.erb +8 -25
  5. data/lib/generators/old_sql/templates/user_design_template.csv +2 -3
  6. data/lib/generators/old_sql/templates/user_old_sql_demo_chart_design.yml +18 -9
  7. data/lib/old_sql/report_design/chart.rb +2 -2
  8. data/lib/old_sql/report_design/chart_item.rb +4 -4
  9. data/lib/old_sql/report_design/chart_parser.rb +2 -2
  10. data/public/javascripts/old_sql/chart.js +33 -0
  11. metadata +5 -265
  12. data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +0 -362
  13. data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +0 -69
  14. data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +0 -179
  15. data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +0 -17
  16. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +0 -814
  17. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +0 -1703
  18. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +0 -755
  19. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +0 -1197
  20. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +0 -168
  21. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +0 -187
  22. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +0 -300
  23. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +0 -524
  24. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +0 -420
  25. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +0 -142
  26. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +0 -38
  27. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +0 -240
  28. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +0 -508
  29. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +0 -244
  30. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +0 -385
  31. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +0 -384
  32. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +0 -1161
  33. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +0 -447
  34. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +0 -113
  35. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +0 -767
  36. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +0 -1445
  37. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +0 -651
  38. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +0 -1143
  39. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +0 -145
  40. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +0 -197
  41. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +0 -258
  42. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +0 -454
  43. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +0 -348
  44. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +0 -128
  45. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +0 -26
  46. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +0 -203
  47. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +0 -498
  48. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +0 -186
  49. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +0 -353
  50. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +0 -362
  51. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +0 -895
  52. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +0 -83
  53. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +0 -69
  54. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +0 -401
  55. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +0 -10
  56. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +0 -40
  57. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +0 -96
  58. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +0 -4
  59. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +0 -95
  60. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +0 -31
  61. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +0 -23
  62. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dropmarker.png +0 -0
  63. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/icon.png +0 -0
  64. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/index.html +0 -54
  65. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +0 -150
  66. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +0 -42
  67. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +0 -90
  68. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +0 -29
  69. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +0 -38
  70. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +0 -189
  71. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +0 -28
  72. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +0 -73
  73. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +0 -38
  74. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +0 -36
  75. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +0 -65
  76. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +0 -31
  77. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +0 -18
  78. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +0 -61
  79. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +0 -38
  80. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +0 -67
  81. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +0 -67
  82. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +0 -30
  83. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +0 -483
  84. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +0 -62
  85. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +0 -71
  86. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/icon.png +0 -0
  87. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/index.html +0 -150
  88. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +0 -88
  89. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +0 -54
  90. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +0 -373
  91. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +0 -78
  92. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +0 -5
  93. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +0 -85
  94. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +0 -46
  95. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +0 -78
  96. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +0 -11
  97. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +0 -74
  98. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +0 -73
  99. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +0 -125
  100. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +0 -88
  101. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +0 -17
  102. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +0 -59
  103. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +0 -28
  104. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +0 -3
  105. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +0 -19
  106. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +0 -45
  107. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +0 -119
  108. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +0 -40
  109. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +0 -43
  110. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +0 -91
  111. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +0 -54
  112. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +0 -93
  113. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +0 -64
  114. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +0 -71
  115. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +0 -66
  116. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +0 -203
  117. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +0 -177
  118. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +0 -339
  119. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +0 -30
  120. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +0 -31
  121. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +0 -22
  122. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +0 -23
  123. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +0 -71
  124. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +0 -40
  125. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +0 -29
  126. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +0 -61
  127. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +0 -622
  128. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +0 -1
  129. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +0 -19
  130. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +0 -70
  131. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/bg_docheader.gif +0 -0
  132. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_bullet.gif +0 -0
  133. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_logo_doc.gif +0 -0
  134. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/documentation.css +0 -130
  135. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +0 -48
  136. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +0 -682
  137. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +0 -1489
  138. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +0 -863
  139. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +0 -1256
  140. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +0 -222
  141. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +0 -793
  142. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +0 -304
  143. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +0 -844
  144. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +0 -315
  145. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +0 -353
  146. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +0 -188
  147. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +0 -115
  148. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +0 -236
  149. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +0 -415
  150. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +0 -897
  151. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +0 -589
  152. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +0 -594
  153. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +0 -162
  154. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +0 -2026
  155. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +0 -18
  156. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +0 -7829
  157. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +0 -6
  158. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +0 -251
  159. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +0 -40
  160. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +0 -381
  161. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +0 -159
  162. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +0 -28
  163. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +0 -6
  164. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +0 -25
  165. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +0 -16
  166. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +0 -577
  167. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +0 -137
  168. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +0 -52
  169. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +0 -30
  170. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +0 -89
  171. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +0 -186
  172. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +0 -88
  173. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +0 -408
  174. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +0 -1
  175. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +0 -34
  176. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +0 -84
  177. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +0 -48
  178. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +0 -363
  179. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +0 -39
  180. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +0 -54
  181. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +0 -39
  182. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +0 -38
  183. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +0 -32
  184. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +0 -40
  185. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +0 -18
  186. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +0 -295
  187. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +0 -43
  188. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +0 -223
  189. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +0 -197
  190. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +0 -481
  191. data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +0 -28
  192. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +0 -406
  193. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +0 -683
  194. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +0 -161
  195. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +0 -756
  196. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +0 -151
  197. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +0 -2177
  198. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +0 -705
  199. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +0 -348
  200. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +0 -247
  201. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +0 -9
  202. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +0 -723
  203. data/public/javascripts/old_sql/plotkit-0.9.1/README +0 -1
  204. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +0 -2
  205. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +0 -2
  206. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +0 -302
  207. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +0 -139
  208. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +0 -172
  209. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +0 -81
  210. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +0 -155
  211. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +0 -50
  212. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +0 -428
  213. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +0 -330
  214. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +0 -368
  215. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +0 -256
  216. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +0 -436
  217. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +0 -299
  218. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +0 -159
  219. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +0 -64
  220. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +0 -131
  221. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +0 -34
  222. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +0 -131
  223. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +0 -34
  224. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +0 -334
  225. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +0 -151
  226. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +0 -304
  227. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +0 -144
  228. data/public/javascripts/old_sql/plotkit-0.9.1/doc/barsample.png +0 -0
  229. data/public/javascripts/old_sql/plotkit-0.9.1/doc/black.png +0 -0
  230. data/public/javascripts/old_sql/plotkit-0.9.1/doc/blue.png +0 -0
  231. data/public/javascripts/old_sql/plotkit-0.9.1/doc/cyan.png +0 -0
  232. data/public/javascripts/old_sql/plotkit-0.9.1/doc/doc.css +0 -62
  233. data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +0 -37
  234. data/public/javascripts/old_sql/plotkit-0.9.1/doc/green.png +0 -0
  235. data/public/javascripts/old_sql/plotkit-0.9.1/doc/orange.png +0 -0
  236. data/public/javascripts/old_sql/plotkit-0.9.1/doc/piesample.png +0 -0
  237. data/public/javascripts/old_sql/plotkit-0.9.1/doc/purple.png +0 -0
  238. data/public/javascripts/old_sql/plotkit-0.9.1/doc/red.png +0 -0
  239. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/custom_rhino.jar +0 -0
  240. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/pack.py +0 -58
  241. data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +0 -31
  242. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +0 -25
  243. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +0 -143
  244. data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +0 -56
  245. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +0 -58
  246. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +0 -133
  247. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +0 -57
  248. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +0 -136
  249. data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +0 -161
  250. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/firefox.png +0 -0
  251. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/konqueror.png +0 -0
  252. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/mozilla.ico +0 -0
  253. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/msie.gif +0 -0
  254. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/opera.ico +0 -0
  255. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/safari.gif +0 -0
  256. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels-img.html +0 -38
  257. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +0 -43
  258. data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +0 -28
  259. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +0 -29
  260. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +0 -53
  261. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +0 -29
  262. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +0 -61
  263. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +0 -57
  264. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +0 -6
  265. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +0 -29
  266. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +0 -141
  267. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +0 -26
  268. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +0 -147
  269. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +0 -24
  270. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +0 -89
  271. data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +0 -66
  272. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +0 -20
  273. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +0 -31
@@ -1,26 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4
- <head>
5
- <title>PlotKit: SVGRenderer Test</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
- <link href="/css/page.css" media="screen" rel="Stylesheet" type="text/css" />
8
- <link href="tests.css" media="screen" rel="Stylesheet" type="text/css" />
9
- <script src="/js/mochi/MochiKit.js" type="text/javascript"></script>
10
- <script src="/js/plotkit-svn/PlotKit_Packed.js" type="text/javascript"></script>
11
- <script src="/js/plotkit-tests/svg.js" type="text/javascript"></script>
12
-
13
- <!-- START Required for IE to support inlined SVG -->
14
- <object id="AdobeSVG" classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2" width="1" height="1"></object>
15
- <?import namespace="svg" implementation="#AdobeSVG"?>
16
- <!-- END Required for IE to support inlined SVG -->
17
-
18
- </head>
19
-
20
- <body>
21
- <div id="body">
22
- <h2>SVG Renderer Tests</h2>
23
- <div id="tests"></div>
24
- <div class="footer"><a href="http://www.liquidx.net/plotkit/">PlotKit</a></div>
25
- </div>
26
- </body></html>
@@ -1,147 +0,0 @@
1
- /* actual tests */
2
-
3
- var options = {
4
- "axisLineWidth": 2.0,
5
- "axisLabelColor": Color.grayColor(),
6
- "axisLineColor": Color.blackColor(),
7
- "padding": {top: 5, bottom: 20, left: 40, right: 10},
8
- "backgroundColor": Color.whiteColor(),
9
- "strokeColor": null,
10
- "axisLabelUseDiv": false
11
- };
12
-
13
- function genericTest(num, plotStyle) {
14
- var l = new PlotKit.Layout(plotStyle, {});
15
- var success = l.addDatasetFromTable("data" + num, $("test" + num));
16
- l.evaluate();
17
- var c = $("test" + num + "canvas");
18
- var g = new PlotKit.SVGRenderer(c, l, options);
19
- g.render();
20
- }
21
-
22
- function genericTestAndClear(num, plotStyle) {
23
- var l = new PlotKit.Layout(plotStyle, {});
24
- l.addDatasetFromTable("data" + num, $("test" + num));
25
- l.evaluate();
26
- var c = $("test" + num + "canvas");
27
- var g = new PlotKit.SVGRenderer(c, l, {});
28
- g.render();
29
- g.clear();
30
- }
31
-
32
- function dualDataSet(num, plotStyle) {
33
- var l = new PlotKit.Layout(plotStyle, {});
34
- l.addDatasetFromTable("data1." + num, $("test" + num), 0, 1);
35
- l.addDatasetFromTable("data2." + num, $("test" + num), 0, 2);
36
- l.evaluate();
37
- var c = $("test" + num + "canvas");
38
- var g = new PlotKit.SVGRenderer(c, l, options);
39
- g.render();
40
- }
41
-
42
-
43
- /* create HTML for tests */
44
-
45
- function makeTableRow(list) {
46
- return TR({}, map(partial(TD, null), list));
47
- }
48
-
49
- function generateTestTable(num, data) {
50
- var tableid = "test" + num;
51
- var tablehead = THEAD(null, map(makeTableRow, [["x", "y"]]));
52
- var tablebody = TBODY(null, map(makeTableRow, data));
53
-
54
- var table = TABLE({"class": "data", "id": tableid}, [tablehead, tablebody]);
55
- return table;
56
- }
57
-
58
- function generateCanvas(num) {
59
- var canvasid = "test" + num + "canvas";
60
- var canvasopts = {
61
- "id": canvasid,
62
- "width": 400,
63
- "height": 200,
64
- "version": "1.1",
65
- "baseProfile": "full"
66
- };
67
-
68
- var canvas = PlotKit.SVGRenderer.SVG(canvasopts, "");
69
- return canvas
70
- }
71
-
72
- function generateUnitTest(num, func, data, type, desc) {
73
- var table = DIV({"class": "data"}, generateTestTable(num, data));
74
- var canvas = DIV({"class": "canvas"}, generateCanvas(num));
75
- var ending = DIV({"class":"ending"}, desc);
76
-
77
- addLoadEvent(partial(func, num, type));
78
-
79
- return DIV({"class": "unit"}, [table, canvas, ending]);
80
- return DIV({"class": "unit"}, [table, ending]);
81
- }
82
-
83
- function generateTests() {
84
- var tests = $('tests');
85
-
86
- // datasets
87
- var simpleData1 = [[0, 0], [1, 1], [2, 2], [3, 3]];
88
- var simpleData2 = [[1, 2], [2, 3], [3, 4], [4, 5]];
89
- var singleData = [[1, 1]];
90
-
91
- var ninety = [[1, 9], [2, 1]];
92
-
93
- var floatData1 = [[0, 0.5], [1, 0.4], [2, 0.3]];
94
- var missingData = [[0, 1], [1, 4], [3, 16], [5, 17]];
95
-
96
- var dualData = [[0,0,0], [1,2,1], [2,4,4], [3,8,9], [4,16,16], [5,32,25], [6, 64, 36], [7, 128, 49]];
97
-
98
- tests.appendChild(H2(null, "Simple Tests"));
99
-
100
- tests.appendChild(generateUnitTest(1, genericTest, simpleData1, "bar", ""));
101
-
102
- tests.appendChild(generateUnitTest(2, genericTest, simpleData1,
103
- "line", ""));
104
- tests.appendChild(generateUnitTest(3, genericTest, simpleData2,
105
- "pie", ""));
106
-
107
- tests.appendChild(H2(null, "One Value Set"));
108
-
109
- tests.appendChild(generateUnitTest(4, genericTest, singleData,
110
- "bar", ""));
111
- tests.appendChild(generateUnitTest(5, genericTest, singleData,
112
- "line", ""));
113
- tests.appendChild(generateUnitTest(6, genericTest, singleData,
114
- "pie", ""));
115
-
116
- tests.appendChild(H2(null, "Float Values Set"));
117
- tests.appendChild(generateUnitTest(7, genericTest, floatData1,
118
- "bar", ""));
119
- tests.appendChild(generateUnitTest(8, genericTest, floatData1,
120
- "line", ""));
121
- tests.appendChild(generateUnitTest(9, genericTest, floatData1,
122
- "pie", ""));
123
-
124
- tests.appendChild(H2(null, "Dual Value Set"));
125
- tests.appendChild(generateUnitTest(10, dualDataSet, dualData,
126
- "bar", ""));
127
- tests.appendChild(generateUnitTest(11, dualDataSet, dualData,
128
- "line", ""));
129
-
130
- tests.appendChild(H2(null, "Drawing and Clearing"));
131
- tests.appendChild(generateUnitTest(12, genericTest, floatData1,
132
- "bar", ""));
133
- tests.appendChild(generateUnitTest(13, genericTestAndClear, floatData1,
134
- "bar", ""));
135
- tests.appendChild(generateUnitTest(14, genericTest, floatData1,
136
- "pie", ""));
137
- tests.appendChild(generateUnitTest(15, genericTestAndClear, floatData1,
138
- "pie", ""));
139
-
140
- tests.appendChild(H2(null, "Testing Circle Drawing"));
141
-
142
- tests.appendChild(generateUnitTest(16, genericTest, ninety,
143
- "pie", ""));
144
-
145
- }
146
-
147
- addLoadEvent(generateTests);
@@ -1,24 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
- <head>
4
- <title>PlotKit: SweetCanvasRenderer Test</title>
5
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <link href="/css/page.css" media="screen" rel="Stylesheet"
7
- type="text/css" />
8
- <link href="tests.css" media="screen" rel="Stylesheet" type="text/css" />
9
- <script src="/js/mochi/MochiKit.js" type="text/javascript"></script>
10
- <script src="/js/plotkit-svn/excanvas.js" type="text/javascript"></script>
11
- <script src="/js/plotkit-svn/PlotKit_Packed.js" type="text/javascript"></script>
12
- <script src="/js/plotkit-tests/sweet.js" type="text/javascript"></script>
13
- </head>
14
-
15
- <body>
16
- <div id="body">
17
- <h2>Sweet Canvas Renderer Tests</h2>
18
-
19
- <div id="tests">
20
- </div>
21
-
22
- <div class="footer"><a href="http://www.liquidx.net/plotkit/">PlotKit</a></div>
23
- </div>
24
- </body></html>
@@ -1,89 +0,0 @@
1
- /* actual tests */
2
-
3
- var opts = {
4
- "enableEvents": false
5
- };
6
-
7
- function genericTest(num, plotStyle) {
8
- var l = new PlotKit.Layout(plotStyle, {});
9
- var success = l.addDatasetFromTable("data" + num, $("test" + num));
10
- l.evaluate();
11
- var c = $("test" + num + "canvas");
12
- var g = new PlotKit.SweetCanvasRenderer(c, l, opts);
13
- g.render();
14
- }
15
-
16
- function dualDataSet(num, plotStyle) {
17
- var l = new PlotKit.Layout(plotStyle, {});
18
- l.addDatasetFromTable("data1." + num, $("test" + num), 0, 1);
19
- l.addDatasetFromTable("data2." + num, $("test" + num), 0, 2);
20
- l.evaluate();
21
- var c = $("test" + num + "canvas");
22
- var g = new PlotKit.SweetCanvasRenderer(c, l, opts);
23
- g.render();
24
- }
25
-
26
-
27
- /* create HTML for tests */
28
-
29
- function makeTableRow(list) {
30
- return TR({}, map(partial(TD, null), list));
31
- }
32
-
33
- function generateTestTable(num, data) {
34
- var tableid = "test" + num;
35
- var tablehead = THEAD(null, map(makeTableRow, [["x", "y"]]));
36
- var tablebody = TBODY(null, map(makeTableRow, data));
37
-
38
- var table = TABLE({"class": "data", "id": tableid}, [tablehead, tablebody]);
39
- return table;
40
- }
41
-
42
- function generateCanvas(num) {
43
- var canvasid = "test" + num + "canvas";
44
- var canvas = CANVAS({"id":canvasid, "width": "400", "height": "200"}, "");
45
- return canvas
46
- }
47
-
48
- function generateUnitTest(num, func, data, type, desc) {
49
- var table = DIV({"class": "data"}, generateTestTable(num, data));
50
- var canvas = DIV({"class": "canvas"}, generateCanvas(num));
51
- var ending = DIV({"class":"ending"}, desc);
52
-
53
- addLoadEvent(partial(func, num, type));
54
-
55
- return DIV({"class": "unit"}, [table, canvas, ending]);
56
-
57
- }
58
-
59
- function generateTests() {
60
- var tests = $('tests');
61
-
62
- // datasets
63
- var simpleData1 = [[0, 0], [1, 1], [2, 2], [3, 3]];
64
- var simpleData2 = [[1, 2], [2, 3], [3, 4], [4, 5]];
65
- var singleData = [[1, 1]];
66
-
67
- var floatData1 = [[0, 0.5], [1, 0.4], [2, 0.3]];
68
- var missingData = [[0, 1], [1, 4], [3, 16], [5, 17]];
69
-
70
- var dualData = [[0,0,0], [1,2,1], [2,4,4], [3,8,9], [4,16,16], [5,32,25], [6, 64, 36], [7, 128, 49]];
71
-
72
- tests.appendChild(H2(null, "Simple Tests"));
73
-
74
- tests.appendChild(generateUnitTest(1, genericTest, simpleData1,
75
- "bar", ""));
76
- tests.appendChild(generateUnitTest(2, dualDataSet, dualData,
77
- "bar", ""));
78
-
79
- tests.appendChild(generateUnitTest(3, genericTest, simpleData1,
80
- "line", ""));
81
- tests.appendChild(generateUnitTest(4, dualDataSet, dualData,
82
- "line", ""));
83
-
84
- tests.appendChild(generateUnitTest(5, genericTest, simpleData1,
85
- "pie", ""));
86
-
87
- }
88
-
89
- addLoadEvent(generateTests);
@@ -1,66 +0,0 @@
1
- table#dynamicTable {
2
- margin: 10px auto 10px auto;
3
- }
4
-
5
- table.data td {
6
- margin: 5px;
7
- padding: 5px;
8
- width: 50px;
9
- }
10
-
11
- table.data thead td {
12
- background-color: #eee;
13
- }
14
-
15
- table.data thead th {
16
- background-color: #eee;
17
- border-bottom: 1px solid #ddd;
18
- padding: 5px;
19
- text-align: left;
20
- }
21
-
22
- table.data tbody td {
23
- padding: 5px;
24
- vertical-align: top;
25
- text-align: left;
26
- border-bottom: 1px solid #eee;
27
- }
28
-
29
- table.data {
30
- width: 200px;
31
- }
32
-
33
- .center {
34
- margin-left: auto;
35
- margin-right: auto;
36
- }
37
-
38
- h3 {
39
- font-size: large;
40
- color: #666;
41
- background-color: #eee;
42
- border-bottom: 1px solid #ddd;
43
- padding: 3px;
44
- }
45
-
46
- h4 {
47
- font-size: medium;
48
- margin: 5px;
49
- }
50
-
51
- div.data, div.canvas {
52
- float: left;
53
- margin: 5px;
54
- }
55
-
56
- div.ending {
57
- clear: both;
58
- margin: 10px;
59
- }
60
-
61
- div.unit {
62
- border: 1px solid #eee;
63
- margin: 10px;
64
- padding: 10px;
65
- }
66
-
@@ -1,20 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4
- <head>
5
- <object id="AdobeSVG" classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"></object>
6
- <?import namespace="svg" implementation="#AdobeSVG"?>
7
- <title>SVG Test</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9
- <link href="/css/page.css" media="screen" rel="Stylesheet" type="text/css" />
10
-
11
-
12
- <script src="testsvg.js" type="text/javascript"></script>
13
- <script type="text/javascript">
14
- alert(testsvg());
15
- </script>
16
- </head>
17
-
18
- <body>
19
- </body>
20
- </html>
@@ -1,31 +0,0 @@
1
- function testsvg() {
2
- var isOpera = (navigator.userAgent.toLowerCase().indexOf("opera") != -1);
3
- var ieVersion = navigator.appVersion.match(/MSIE (\d\.\d)/);
4
- var safariVersion = navigator.userAgent.match(/AppleWebKit\/(\d+)/);
5
- var operaVersion = navigator.userAgent.match(/Opera\/(\d*\.\d*)/);
6
- var mozillaVersion = navigator.userAgent.match(/rv:(\d*\.\d*).*Gecko/);
7
-
8
-
9
- if (ieVersion && (ieVersion[1] >= 6) && !isOpera) {
10
- var dummysvg = document.createElement('<svg:svg width="1" height="1" baseProfile="full" version="1.1" id="dummy">');
11
- try {
12
- dummysvg.getSVGDocument();
13
- dummysvg = null;
14
- return true;
15
- }
16
- catch (e) {
17
- return false;
18
- }
19
- }
20
-
21
- if (safariVersion && (safariVersion[1] > 419))
22
- return true;
23
-
24
- if (operaVersion && (operaVersion[1] > 8.9))
25
- return true
26
-
27
- if (mozillaVersion && (mozillaVersion > 1.7))
28
- return true;
29
-
30
- return false;
31
- }