@datagrok/helm 2.3.2 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/package-test.js +1 -1
  3. package/dist/package-test.js.map +1 -1
  4. package/dist/package.js +1 -1
  5. package/dist/package.js.map +1 -1
  6. package/package.json +4 -4
  7. package/src/cell-renderer.ts +5 -4
  8. package/src/helm-helper.ts +6 -6
  9. package/src/helm-monomer-placer.ts +1 -1
  10. package/src/helm-web-editor.ts +5 -5
  11. package/src/package-test.ts +0 -1
  12. package/src/package-utils.ts +211 -69
  13. package/src/package.ts +10 -71
  14. package/src/tests/findMonomers-tests.ts +2 -1
  15. package/src/tests/get-monomer-tests.ts +1 -49
  16. package/src/tests/helm-input-tests.ts +31 -20
  17. package/src/utils/get-monomer.ts +49 -1
  18. package/src/utils/helm-grid-cell-renderer.ts +8 -9
  19. package/src/utils/index.ts +2 -3
  20. package/src/widgets/helm-input.ts +4 -4
  21. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +63 -0
  22. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +116 -0
  23. package/vendor/dojo-1.10.10/dijit/Destroyable.js +35 -0
  24. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +83 -0
  25. package/vendor/dojo-1.10.10/dijit/Tooltip.js +240 -0
  26. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +612 -0
  27. package/vendor/dojo-1.10.10/dijit/Viewport.js +44 -0
  28. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +87 -0
  29. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +76 -0
  30. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +247 -0
  31. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +94 -0
  32. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +238 -0
  33. package/vendor/dojo-1.10.10/dijit/_Contained.js +17 -0
  34. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +56 -0
  35. package/vendor/dojo-1.10.10/dijit/_Container.js +47 -0
  36. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +108 -0
  37. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +198 -0
  38. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +372 -0
  39. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +11 -0
  40. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +66 -0
  41. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +188 -0
  42. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +472 -0
  43. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +8 -0
  44. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +31 -0
  45. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +90 -0
  46. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +205 -0
  47. package/vendor/dojo-1.10.10/dijit/_Widget.js +66 -0
  48. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +352 -0
  49. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +353 -0
  50. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +1200 -0
  51. package/vendor/dojo-1.10.10/dijit/_base/focus.js +68 -0
  52. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +207 -0
  53. package/vendor/dojo-1.10.10/dijit/_base/manager.js +10 -0
  54. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +35 -0
  55. package/vendor/dojo-1.10.10/dijit/_base/place.js +52 -0
  56. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +131 -0
  57. package/vendor/dojo-1.10.10/dijit/_base/popup.js +23 -0
  58. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +58 -0
  59. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +6 -0
  60. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +22 -0
  61. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +3 -0
  62. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +12 -0
  63. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +3 -0
  64. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +10 -0
  65. package/vendor/dojo-1.10.10/dijit/_base/wai.js +32 -0
  66. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +109 -0
  67. package/vendor/dojo-1.10.10/dijit/_base/window.js +6 -0
  68. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +18 -0
  69. package/vendor/dojo-1.10.10/dijit/_base.js +4 -0
  70. package/vendor/dojo-1.10.10/dijit/a11y.js +109 -0
  71. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +191 -0
  72. package/vendor/dojo-1.10.10/dijit/a11yclick.js +66 -0
  73. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +139 -0
  74. package/vendor/dojo-1.10.10/dijit/focus.js +188 -0
  75. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +371 -0
  76. package/vendor/dojo-1.10.10/dijit/form/Button.js +49 -0
  77. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +130 -0
  78. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +4 -0
  79. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +27 -0
  80. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +21 -0
  81. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +86 -0
  82. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +38 -0
  83. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +102 -0
  84. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +7 -0
  85. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +26 -0
  86. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +50 -0
  87. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +116 -0
  88. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +26 -0
  89. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +81 -0
  90. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +24 -0
  91. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +51 -0
  92. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +22 -0
  93. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +67 -0
  94. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +111 -0
  95. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +254 -0
  96. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +32 -0
  97. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +69 -0
  98. package/vendor/dojo-1.10.10/dijit/hccss.js +9 -0
  99. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +21 -0
  100. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +215 -0
  101. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +550 -0
  102. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +7 -0
  103. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +25 -0
  104. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +235 -0
  105. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +653 -0
  106. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +171 -0
  107. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +411 -0
  108. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +194 -0
  109. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +410 -0
  110. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +99 -0
  111. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +236 -0
  112. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +47 -0
  113. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +190 -0
  114. package/vendor/dojo-1.10.10/dijit/layout/utils.js +77 -0
  115. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +151 -0
  116. package/vendor/dojo-1.10.10/dijit/main.js +4 -0
  117. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +16 -0
  118. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +2 -0
  119. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +21 -0
  120. package/vendor/dojo-1.10.10/dijit/nls/loading.js +2 -0
  121. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +47 -0
  122. package/vendor/dojo-1.10.10/dijit/place.js +142 -0
  123. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +407 -0
  124. package/vendor/dojo-1.10.10/dijit/popup.js +162 -0
  125. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +441 -0
  126. package/vendor/dojo-1.10.10/dijit/registry.js +79 -0
  127. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +159 -0
  128. package/vendor/dojo-1.10.10/dijit/selection.js +364 -0
  129. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +525 -0
  130. package/vendor/dojo-1.10.10/dijit/typematic.js +96 -0
  131. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +211 -0
  132. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +195 -0
  133. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +761 -0
  134. package/vendor/dojo-1.10.10/dojo/Stateful.js +90 -0
  135. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +218 -0
  136. package/vendor/dojo-1.10.10/dojo/_base/url.js +87 -0
  137. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +109 -0
  138. package/vendor/dojo-1.10.10/dojo/cache.js +9 -0
  139. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +7 -0
  140. package/vendor/dojo-1.10.10/dojo/colors.js +74 -0
  141. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +232 -0
  142. package/vendor/dojo-1.10.10/dojo/cookie.js +48 -0
  143. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +98 -0
  144. package/vendor/dojo-1.10.10/dojo/date/stamp.js +82 -0
  145. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +144 -0
  146. package/vendor/dojo-1.10.10/dojo/dojo.js +7 -0
  147. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +18680 -0
  148. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +27 -0
  149. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +101 -0
  150. package/vendor/dojo-1.10.10/dojo/fx/easing.js +165 -0
  151. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +276 -0
  152. package/vendor/dojo-1.10.10/dojo/fx.js +271 -0
  153. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +443 -0
  154. package/vendor/dojo-1.10.10/dojo/hccss.js +26 -0
  155. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +52 -0
  156. package/vendor/dojo-1.10.10/dojo/html.js +161 -0
  157. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +370 -0
  158. package/vendor/dojo-1.10.10/dojo/io/iframe.js +71 -0
  159. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +190 -0
  160. package/vendor/dojo-1.10.10/dojo/io/script.js +112 -0
  161. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +280 -0
  162. package/vendor/dojo-1.10.10/dojo/parser.js +437 -0
  163. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +915 -0
  164. package/vendor/dojo-1.10.10/dojo/promise/all.js +59 -0
  165. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +77 -0
  166. package/vendor/dojo-1.10.10/dojo/regexp.js +32 -0
  167. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +70 -0
  168. package/vendor/dojo-1.10.10/dojo/request/iframe.js +291 -0
  169. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +438 -0
  170. package/vendor/dojo-1.10.10/dojo/request/script.js +129 -0
  171. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +237 -0
  172. package/vendor/dojo-1.10.10/dojo/require.js +11 -0
  173. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +7 -0
  174. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  175. package/vendor/dojo-1.10.10/dojo/string.js +67 -0
  176. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +181 -0
  177. package/vendor/dojo-1.10.10/dojo/touch.js +191 -0
  178. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +468 -0
  179. package/vendor/dojo-1.10.10/dojo/uacss.js +36 -0
  180. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +85 -0
  181. package/vendor/dojo-1.10.10/dojo/window.js +141 -0
  182. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +241 -0
  183. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +626 -0
  184. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +1220 -0
  185. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +5 -0
  186. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +16 -0
  187. package/vendor/dojo-1.10.10/dojox/charting/Element.js +247 -0
  188. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +402 -0
  189. package/vendor/dojo-1.10.10/dojox/charting/Series.js +24 -0
  190. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +58 -0
  191. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +191 -0
  192. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +577 -0
  193. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +42 -0
  194. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +120 -0
  195. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +11 -0
  196. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +36 -0
  197. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +77 -0
  198. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +144 -0
  199. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +58 -0
  200. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +123 -0
  201. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +54 -0
  202. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +124 -0
  203. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +28 -0
  204. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +74 -0
  205. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +116 -0
  206. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +178 -0
  207. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +24 -0
  208. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +83 -0
  209. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +557 -0
  210. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +980 -0
  211. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +65 -0
  212. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +224 -0
  213. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +91 -0
  214. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +164 -0
  215. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +7 -0
  216. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +14 -0
  217. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +168 -0
  218. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +311 -0
  219. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +61 -0
  220. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +161 -0
  221. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +141 -0
  222. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +242 -0
  223. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +126 -0
  224. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +243 -0
  225. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +108 -0
  226. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +290 -0
  227. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +13 -0
  228. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +14 -0
  229. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +13 -0
  230. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +14 -0
  231. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +153 -0
  232. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +249 -0
  233. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +253 -0
  234. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +472 -0
  235. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +182 -0
  236. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +356 -0
  237. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +6 -0
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +12 -0
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +6 -0
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +12 -0
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +7 -0
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +13 -0
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +110 -0
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +208 -0
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +303 -0
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +547 -0
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +134 -0
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +207 -0
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +299 -0
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +537 -0
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +24 -0
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +44 -0
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +7 -0
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +14 -0
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +22 -0
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +33 -0
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +20 -0
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +31 -0
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +6 -0
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +12 -0
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +68 -0
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +120 -0
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +209 -0
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +214 -0
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +76 -0
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +77 -0
  267. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +59 -0
  268. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +70 -0
  269. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +220 -0
  270. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +262 -0
  271. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +23 -0
  272. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +36 -0
  273. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +39 -0
  274. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +106 -0
  275. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +5 -0
  276. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +12 -0
  277. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +4 -0
  278. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +3 -0
  279. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +102 -0
  280. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +165 -0
  281. package/vendor/dojo-1.10.10/dojox/color/Palette.js +163 -0
  282. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +460 -0
  283. package/vendor/dojo-1.10.10/dojox/color/_base.js +174 -0
  284. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +196 -0
  285. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +297 -0
  286. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +350 -0
  287. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +63 -0
  288. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +91 -0
  289. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +170 -0
  290. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +501 -0
  291. package/vendor/dojo-1.10.10/dojox/gfx/path.js +319 -0
  292. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +478 -0
  293. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +459 -0
  294. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +1091 -0
  295. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +662 -0
  296. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +1023 -0
  297. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +199 -0
  298. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +322 -0
  299. package/vendor/dojo-1.10.10/dojox/gfx.js +2 -0
  300. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +1136 -0
  301. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +151 -0
  302. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +169 -0
  303. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +93 -0
  304. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +125 -0
  305. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +81 -0
  306. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +132 -0
  307. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +54 -0
  308. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +78 -0
  309. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +61 -0
  310. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +77 -0
  311. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +87 -0
  312. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +107 -0
  313. package/vendor/dojo-1.10.10/dojox/lang/functional.js +4 -0
  314. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +3 -0
  315. package/vendor/dojo-1.10.10/dojox/lang/utils.js +86 -0
  316. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +121 -0
  317. package/vendor/dojo-1.10.10/dojox/main.js +4 -0
  318. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +14 -0
  319. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +112 -0
  320. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +208 -0
  321. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +62 -0
  322. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +344 -0
  323. package/vendor/dojo-1.10.10/dojox/storage/manager.js +110 -0
  324. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +263 -0
@@ -0,0 +1,207 @@
1
+ define("dojox/charting/plot2d/Scatter", ["dojo/_base/lang", "dojo/_base/array", "dojo/_base/declare", "dojo/has", "./CartesianBase", "./_PlotEvents", "./common",
2
+ "dojox/lang/functional", "dojox/lang/functional/reversed", "dojox/lang/utils", "dojox/gfx/fx", "dojox/gfx/gradutils"],
3
+ function(lang, arr, declare, has, CartesianBase, _PlotEvents, dc, df, dfr, du, fx, gradutils){
4
+
5
+ var purgeGroup = dfr.lambda("item.purgeGroup()");
6
+
7
+ return declare("dojox.charting.plot2d.Scatter", [CartesianBase, _PlotEvents], {
8
+ // summary:
9
+ // A plot object representing a typical scatter chart.
10
+ defaultParams: {
11
+ shadows: null, // draw shadows
12
+ animate: null // animate chart to place
13
+ },
14
+ optionalParams: {
15
+ // theme component
16
+ markerStroke: {},
17
+ markerOutline: {},
18
+ markerShadow: {},
19
+ markerFill: {},
20
+ markerFont: "",
21
+ markerFontColor: "",
22
+ styleFunc: null
23
+ },
24
+
25
+ constructor: function(chart, kwArgs){
26
+ // summary:
27
+ // Create the scatter plot.
28
+ // chart: dojox/charting/Chart
29
+ // The chart this plot belongs to.
30
+ // kwArgs: dojox.charting.plot2d.__DefaultCtorArgs?
31
+ // An optional keyword arguments object to help define this plot's parameters.
32
+ this.opt = lang.clone(lang.mixin(this.opt, this.defaultParams));
33
+ du.updateWithObject(this.opt, kwArgs);
34
+ du.updateWithPattern(this.opt, kwArgs, this.optionalParams);
35
+ this.animate = this.opt.animate;
36
+ },
37
+
38
+ render: function(dim, offsets){
39
+ // summary:
40
+ // Run the calculations for any axes for this plot.
41
+ // dim: Object
42
+ // An object in the form of { width, height }
43
+ // offsets: Object
44
+ // An object of the form { l, r, t, b}.
45
+ // returns: dojox/charting/plot2d/Scatter
46
+ // A reference to this plot for functional chaining.
47
+ if(this.zoom && !this.isDataDirty()){
48
+ return this.performZoom(dim, offsets);
49
+ }
50
+ this.resetEvents();
51
+ this.dirty = this.isDirty();
52
+ var s;
53
+ if(this.dirty){
54
+ arr.forEach(this.series, purgeGroup);
55
+ this._eventSeries = {};
56
+ this.cleanGroup();
57
+ s = this.getGroup();
58
+ df.forEachRev(this.series, function(item){ item.cleanGroup(s); });
59
+ }
60
+ var t = this.chart.theme, events = this.events();
61
+ for(var i = this.series.length - 1; i >= 0; --i){
62
+ var run = this.series[i];
63
+ if(!this.dirty && !run.dirty){
64
+ t.skip();
65
+ this._reconnectEvents(run.name);
66
+ continue;
67
+ }
68
+ run.cleanGroup();
69
+ if(!run.data.length){
70
+ run.dirty = false;
71
+ t.skip();
72
+ continue;
73
+ }
74
+
75
+ var theme = t.next("marker", [this.opt, run]), lpoly,
76
+ ht = this._hScaler.scaler.getTransformerFromModel(this._hScaler),
77
+ vt = this._vScaler.scaler.getTransformerFromModel(this._vScaler);
78
+ if(run.hidden){
79
+ run.dyn.marker = theme.symbol;
80
+ run.dyn.markerFill = theme.marker.fill;
81
+ run.dyn.markerStroke = theme.marker.stroke;
82
+ continue;
83
+ }
84
+ s = run.group;
85
+ if(typeof run.data[0] == "number"){
86
+ lpoly = arr.map(run.data, function(v, i){
87
+ return {
88
+ x: ht(i + 1) + offsets.l,
89
+ y: dim.height - offsets.b - vt(v)
90
+ };
91
+ }, this);
92
+ }else{
93
+ lpoly = arr.map(run.data, function(v, i){
94
+ return {
95
+ x: ht(v.x) + offsets.l,
96
+ y: dim.height - offsets.b - vt(v.y)
97
+ };
98
+ }, this);
99
+ }
100
+
101
+ var shadowMarkers = new Array(lpoly.length),
102
+ frontMarkers = new Array(lpoly.length),
103
+ outlineMarkers = new Array(lpoly.length);
104
+
105
+ arr.forEach(lpoly, function(c, i){
106
+ var value = run.data[i], finalTheme;
107
+ if(this.opt.styleFunc || typeof value != "number"){
108
+ var tMixin = typeof value != "number" ? [value] : [];
109
+ if(this.opt.styleFunc){
110
+ tMixin.push(this.opt.styleFunc(value));
111
+ }
112
+ finalTheme = t.addMixin(theme, "marker", tMixin, true);
113
+ }else{
114
+ finalTheme = t.post(theme, "marker");
115
+ }
116
+ var path = "M" + c.x + " " + c.y + " " + finalTheme.symbol;
117
+ if(finalTheme.marker.shadow){
118
+ shadowMarkers[i] = s.createPath("M" + (c.x + finalTheme.marker.shadow.dx) + " " +
119
+ (c.y + finalTheme.marker.shadow.dy) + " " + finalTheme.symbol).
120
+ setStroke(finalTheme.marker.shadow).setFill(finalTheme.marker.shadow.color);
121
+ if(this.animate){
122
+ this._animateScatter(shadowMarkers[i], dim.height - offsets.b);
123
+ }
124
+ }
125
+ if(finalTheme.marker.outline){
126
+ var outline = dc.makeStroke(finalTheme.marker.outline);
127
+ outline.width = 2 * outline.width + finalTheme.marker.stroke.width;
128
+ outlineMarkers[i] = s.createPath(path).setStroke(outline);
129
+ if(this.animate){
130
+ this._animateScatter(outlineMarkers[i], dim.height - offsets.b);
131
+ }
132
+ }
133
+ var stroke = dc.makeStroke(finalTheme.marker.stroke),
134
+ fill = this._plotFill(finalTheme.marker.fill, dim, offsets);
135
+ if(fill && (fill.type === "linear" || fill.type == "radial")){
136
+ var color = gradutils.getColor(fill, {x: c.x, y: c.y});
137
+ if(stroke){
138
+ stroke.color = color;
139
+ }
140
+ frontMarkers[i] = s.createPath(path).setStroke(stroke).setFill(color);
141
+ }else{
142
+ frontMarkers[i] = s.createPath(path).setStroke(stroke).setFill(fill);
143
+ }
144
+ if(this.opt.labels){
145
+ var markerBox = frontMarkers[i].getBoundingBox();
146
+ this.createLabel(s, value, markerBox, finalTheme);
147
+ }
148
+ if(this.animate){
149
+ this._animateScatter(frontMarkers[i], dim.height - offsets.b);
150
+ }
151
+ }, this);
152
+ if(frontMarkers.length){
153
+ run.dyn.marker = theme.symbol;
154
+ run.dyn.markerStroke = frontMarkers[frontMarkers.length - 1].getStroke();
155
+ run.dyn.markerFill = frontMarkers[frontMarkers.length - 1].getFill();
156
+ }
157
+
158
+ if(events){
159
+ var eventSeries = new Array(frontMarkers.length);
160
+ arr.forEach(frontMarkers, function(s, i){
161
+ var o = {
162
+ element: "marker",
163
+ index: i,
164
+ run: run,
165
+ shape: s,
166
+ outline: outlineMarkers && outlineMarkers[i] || null,
167
+ shadow: shadowMarkers && shadowMarkers[i] || null,
168
+ cx: lpoly[i].x,
169
+ cy: lpoly[i].y
170
+ };
171
+ if(typeof run.data[0] == "number"){
172
+ o.x = i + 1;
173
+ o.y = run.data[i];
174
+ }else{
175
+ o.x = run.data[i].x;
176
+ o.y = run.data[i].y;
177
+ }
178
+ this._connectEvents(o);
179
+ eventSeries[i] = o;
180
+ }, this);
181
+ this._eventSeries[run.name] = eventSeries;
182
+ }else{
183
+ delete this._eventSeries[run.name];
184
+ }
185
+ run.dirty = false;
186
+ }
187
+ this.dirty = false;
188
+ // chart mirroring starts
189
+ if(has("dojo-bidi")){
190
+ this._checkOrientation(this.group, dim, offsets);
191
+ }
192
+ // chart mirroring ends
193
+ return this; // dojox/charting/plot2d/Scatter
194
+ },
195
+ _animateScatter: function(shape, offset){
196
+ fx.animateTransform(lang.delegate({
197
+ shape: shape,
198
+ duration: 1200,
199
+ transform: [
200
+ {name: "translate", start: [0, offset], end: [0, 0]},
201
+ {name: "scale", start: [0, 0], end: [1, 1]},
202
+ {name: "original"}
203
+ ]
204
+ }, this.animate)).play();
205
+ }
206
+ });
207
+ });
@@ -0,0 +1,299 @@
1
+ //>>built
2
+ define("dojox/charting/plot2d/Spider",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/array","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dojo/sniff","./Base","./_PlotEvents","./common","../axis2d/common","dojox/gfx","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/utils","dojo/fx/easing"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,dc,da,g,m,_b,df,du,_c){
3
+ var _d=0.2;
4
+ var _e=_2("dojox.charting.plot2d.Spider",[_9,_a],{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:-10,labelStyle:"default",htmlLabels:true,startAngle:-90,divisions:3,axisColor:"",axisWidth:0,spiderColor:"",spiderWidth:0,seriesWidth:0,seriesFillAlpha:0.2,spiderOrigin:0.16,markerSize:3,spiderType:"polygon",animationType:_c.backOut,animate:null,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(_f,_10){
5
+ this.opt=_1.clone(this.defaultParams);
6
+ du.updateWithObject(this.opt,_10);
7
+ du.updateWithPattern(this.opt,_10,this.optionalParams);
8
+ this.dyn=[];
9
+ this.datas={};
10
+ this.labelKey=[];
11
+ this.oldSeriePoints={};
12
+ this.animate=this.opt.animate===null?{}:this.opt.animate;
13
+ this.animations={};
14
+ },clear:function(){
15
+ this.inherited(arguments);
16
+ this.dyn=[];
17
+ this.axes=[];
18
+ this.datas={};
19
+ this.labelKey=[];
20
+ this.oldSeriePoints={};
21
+ this.animations={};
22
+ return this;
23
+ },setAxis:function(_11){
24
+ if(_11){
25
+ if(_11.opt.min!=undefined){
26
+ this.datas[_11.name].min=_11.opt.min;
27
+ }
28
+ if(_11.opt.max!=undefined){
29
+ this.datas[_11.name].max=_11.opt.max;
30
+ }
31
+ }
32
+ return this;
33
+ },addSeries:function(run){
34
+ this.series.push(run);
35
+ var key;
36
+ for(key in run.data){
37
+ var val=run.data[key],_12=this.datas[key];
38
+ if(_12){
39
+ _12.vlist.push(val);
40
+ _12.min=Math.min(_12.min,val);
41
+ _12.max=Math.max(_12.max,val);
42
+ }else{
43
+ var _13="__"+key;
44
+ this.axes.push(_13);
45
+ this[_13]=key;
46
+ this.datas[key]={min:val,max:val,vlist:[val]};
47
+ }
48
+ }
49
+ if(this.labelKey.length<=0){
50
+ for(key in run.data){
51
+ this.labelKey.push(key);
52
+ }
53
+ }
54
+ return this;
55
+ },getSeriesStats:function(){
56
+ return dc.collectSimpleStats(this.series);
57
+ },render:function(dim,_14){
58
+ if(!this.dirty){
59
+ return this;
60
+ }
61
+ this.dirty=false;
62
+ this.cleanGroup();
63
+ var s=this.group,t=this.chart.theme;
64
+ this.resetEvents();
65
+ if(!this.series||!this.series.length){
66
+ return this;
67
+ }
68
+ var o=this.opt,ta=t.axis,rx=(dim.width-_14.l-_14.r)/2,ry=(dim.height-_14.t-_14.b)/2,r=Math.min(rx,ry),_15=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font)||"normal normal normal 7pt Tahoma",_16=o.axisFont||(ta.tick&&ta.tick.titleFont)||"normal normal normal 11pt Tahoma",_17=o.axisTickFontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"silver",_18=o.axisFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_19=o.axisColor||(ta.tick&&ta.tick.axisColor)||"silver",_1a=o.spiderColor||(ta.tick&&ta.tick.spiderColor)||"silver",_1b=o.axisWidth||(ta.stroke&&ta.stroke.width)||2,_1c=o.spiderWidth||(ta.stroke&&ta.stroke.width)||2,_1d=o.seriesWidth||(ta.stroke&&ta.stroke.width)||2,_1e=g.normalizedLength(g.splitFontString(_16).size),_1f=m._degToRad(o.startAngle),_20=_1f,_21,_22,_23,_24,_25,_26,_27,_28,ro=o.spiderOrigin,dv=o.divisions>=3?o.divisions:3,ms=o.markerSize,spt=o.spiderType,at=o.animationType,_29=o.labelOffset<-10?o.labelOffset:-10,_2a=0.2,i,j,_2b,len,_2c,_2d,_2e,run,_2f,min,max,_30;
69
+ if(o.labels){
70
+ _21=_4.map(this.series,function(s){
71
+ return s.name;
72
+ },this);
73
+ _22=df.foldl1(df.map(_21,function(_31){
74
+ var _32=t.series.font;
75
+ return g._base._getTextBox(_31,{font:_32}).w;
76
+ },this),"Math.max(a, b)")/2;
77
+ r=Math.min(rx-2*_22,ry-_1e)+_29;
78
+ _23=r-_29;
79
+ }
80
+ if("radius" in o){
81
+ r=o.radius;
82
+ _23=r-_29;
83
+ }
84
+ r/=(1+_2a);
85
+ var _33={cx:_14.l+rx,cy:_14.t+ry,r:r};
86
+ for(i=this.series.length-1;i>=0;i--){
87
+ _2e=this.series[i];
88
+ if(!this.dirty&&!_2e.dirty){
89
+ t.skip();
90
+ continue;
91
+ }
92
+ _2e.cleanGroup();
93
+ run=_2e.data;
94
+ if(run!==null){
95
+ len=this._getObjectLength(run);
96
+ if(!_24||_24.length<=0){
97
+ _24=[],_25=[],_28=[];
98
+ this._buildPoints(_24,len,_33,r,_20,true,dim);
99
+ this._buildPoints(_25,len,_33,r*ro,_20,true,dim);
100
+ this._buildPoints(_28,len,_33,_23,_20,false,dim);
101
+ if(dv>2){
102
+ _26=[],_27=[];
103
+ for(j=0;j<dv-2;j++){
104
+ _26[j]=[];
105
+ this._buildPoints(_26[j],len,_33,r*(ro+(1-ro)*(j+1)/(dv-1)),_20,true,dim);
106
+ _27[j]=r*(ro+(1-ro)*(j+1)/(dv-1));
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ var _34=s.createGroup(),_35={color:_19,width:_1b},_36={color:_1a,width:_1c};
113
+ for(j=_24.length-1;j>=0;--j){
114
+ _2b=_24[j];
115
+ var st={x:_2b.x+(_2b.x-_33.cx)*_2a,y:_2b.y+(_2b.y-_33.cy)*_2a},nd={x:_2b.x+(_2b.x-_33.cx)*_2a/2,y:_2b.y+(_2b.y-_33.cy)*_2a/2};
116
+ _34.createLine({x1:_33.cx,y1:_33.cy,x2:st.x,y2:st.y}).setStroke(_35);
117
+ this._drawArrow(_34,st,nd,_35);
118
+ }
119
+ var _37=s.createGroup();
120
+ for(j=_28.length-1;j>=0;--j){
121
+ _2b=_28[j];
122
+ _2c=g._base._getTextBox(this.labelKey[j],{font:_16}).w||0;
123
+ _2d=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx";
124
+ var _38=da.createText[_2d](this.chart,_37,(!_5.isBodyLtr()&&_2d=="html")?(_2b.x+_2c-dim.width):_2b.x,_2b.y,"middle",this.labelKey[j],_16,_18);
125
+ if(this.opt.htmlLabels){
126
+ this.htmlElements.push(_38);
127
+ }
128
+ }
129
+ var _39=s.createGroup();
130
+ if(spt=="polygon"){
131
+ _39.createPolyline(_24).setStroke(_36);
132
+ _39.createPolyline(_25).setStroke(_36);
133
+ if(_26.length>0){
134
+ for(j=_26.length-1;j>=0;--j){
135
+ _39.createPolyline(_26[j]).setStroke(_36);
136
+ }
137
+ }
138
+ }else{
139
+ _39.createCircle({cx:_33.cx,cy:_33.cy,r:r}).setStroke(_36);
140
+ _39.createCircle({cx:_33.cx,cy:_33.cy,r:r*ro}).setStroke(_36);
141
+ if(_27.length>0){
142
+ for(j=_27.length-1;j>=0;--j){
143
+ _39.createCircle({cx:_33.cx,cy:_33.cy,r:_27[j]}).setStroke(_36);
144
+ }
145
+ }
146
+ }
147
+ len=this._getObjectLength(this.datas);
148
+ var _3a=s.createGroup(),k=0;
149
+ for(var key in this.datas){
150
+ _2f=this.datas[key];
151
+ min=_2f.min;
152
+ max=_2f.max;
153
+ _30=max-min;
154
+ end=_20+2*Math.PI*k/len;
155
+ for(i=0;i<dv;i++){
156
+ var _3b=min+_30*i/(dv-1);
157
+ _2b=this._getCoordinate(_33,r*(ro+(1-ro)*i/(dv-1)),end,dim);
158
+ _3b=this._getLabel(_3b);
159
+ _2c=g._base._getTextBox(_3b,{font:_15}).w||0;
160
+ _2d=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx";
161
+ if(this.opt.htmlLabels){
162
+ this.htmlElements.push(da.createText[_2d](this.chart,_3a,(!_5.isBodyLtr()&&_2d=="html")?(_2b.x+_2c-dim.width):_2b.x,_2b.y,"start",_3b,_15,_17));
163
+ }
164
+ }
165
+ k++;
166
+ }
167
+ this.chart.seriesShapes={};
168
+ for(i=this.series.length-1;i>=0;i--){
169
+ _2e=this.series[i];
170
+ run=_2e.data;
171
+ if(run!==null){
172
+ var _3c=t.next("spider",[o,_2e]),f=g.normalizeColor(_3c.series.fill),sk={color:_3c.series.fill,width:_1d};
173
+ f.a=o.seriesFillAlpha;
174
+ _2e.dyn={fill:f,stroke:sk};
175
+ if(_2e.hidden){
176
+ continue;
177
+ }
178
+ var _3d=[],_3e=[];
179
+ k=0;
180
+ for(key in run){
181
+ _2f=this.datas[key];
182
+ min=_2f.min;
183
+ max=_2f.max;
184
+ _30=max-min;
185
+ var _3f=run[key],end=_20+2*Math.PI*k/len;
186
+ _2b=this._getCoordinate(_33,r*(ro+(1-ro)*(_3f-min)/_30),end,dim);
187
+ _3d.push(_2b);
188
+ _3e.push({sname:_2e.name,key:key,data:_3f});
189
+ k++;
190
+ }
191
+ _3d[_3d.length]=_3d[0];
192
+ _3e[_3e.length]=_3e[0];
193
+ var _40=this._getBoundary(_3d),ts=_2e.group;
194
+ var _41=this.oldSeriePoints[_2e.name];
195
+ var cs=this._createSeriesEntry(ts,(_41||_25),_3d,f,sk,r,ro,ms,at);
196
+ this.chart.seriesShapes[_2e.name]=cs;
197
+ this.oldSeriePoints[_2e.name]=_3d;
198
+ var po={element:"spider_poly",index:i,id:"spider_poly_"+_2e.name,run:_2e,plot:this,shape:cs.poly,parent:ts,brect:_40,cx:_33.cx,cy:_33.cy,cr:r,f:f,s:s};
199
+ this._connectEvents(po);
200
+ var so={element:"spider_plot",index:i,id:"spider_plot_"+_2e.name,run:_2e,plot:this,shape:_2e.group};
201
+ this._connectEvents(so);
202
+ _4.forEach(cs.circles,function(c,i){
203
+ var co={element:"spider_circle",index:i,id:"spider_circle_"+_2e.name+i,run:_2e,plot:this,shape:c,parent:ts,tdata:_3e[i],cx:_3d[i].x,cy:_3d[i].y,f:f,s:s};
204
+ this._connectEvents(co);
205
+ },this);
206
+ }
207
+ }
208
+ return this;
209
+ },_createSeriesEntry:function(ts,_42,sps,f,sk,r,ro,ms,at){
210
+ var _43=this.animate?_42:sps;
211
+ var _44=ts.createPolyline(_43).setFill(f).setStroke(sk),_45=[];
212
+ for(var j=0;j<_43.length;j++){
213
+ var _46=_43[j],cr=ms;
214
+ var _47=ts.createCircle({cx:_46.x,cy:_46.y,r:cr}).setFill(f).setStroke(sk);
215
+ _45.push(_47);
216
+ }
217
+ if(this.animate){
218
+ var _48=_4.map(sps,function(np,j){
219
+ var sp=_42[j],_49=new _6.Animation(_1.delegate({duration:1000,easing:at,curve:[sp.y,np.y]},this.animate));
220
+ var spl=_44,sc=_45[j];
221
+ _3.connect(_49,"onAnimate",function(y){
222
+ var _4a=spl.getShape();
223
+ _4a.points[j].y=y;
224
+ spl.setShape(_4a);
225
+ var _4b=sc.getShape();
226
+ _4b.cy=y;
227
+ sc.setShape(_4b);
228
+ });
229
+ return _49;
230
+ },this);
231
+ var _4c=_4.map(sps,function(np,j){
232
+ var sp=_42[j],_4d=new _6.Animation(_1.delegate({duration:1000,easing:at,curve:[sp.x,np.x]},this.animate));
233
+ var spl=_44,sc=_45[j];
234
+ _3.connect(_4d,"onAnimate",function(x){
235
+ var _4e=spl.getShape();
236
+ _4e.points[j].x=x;
237
+ spl.setShape(_4e);
238
+ var _4f=sc.getShape();
239
+ _4f.cx=x;
240
+ sc.setShape(_4f);
241
+ });
242
+ return _4d;
243
+ },this);
244
+ var _50=_7.combine(_48.concat(_4c));
245
+ _50.play();
246
+ }
247
+ return {group:ts,poly:_44,circles:_45};
248
+ },plotEvent:function(o){
249
+ if(o.element=="spider_plot"){
250
+ if(o.type=="onmouseover"&&!_8("ie")){
251
+ o.shape.moveToFront();
252
+ }
253
+ }
254
+ },tooltipFunc:function(o){
255
+ if(o.element=="spider_circle"){
256
+ return o.tdata.sname+"<br/>"+o.tdata.key+"<br/>"+o.tdata.data;
257
+ }else{
258
+ return null;
259
+ }
260
+ },_getBoundary:function(_51){
261
+ var _52=_51[0].x,_53=_51[0].x,_54=_51[0].y,_55=_51[0].y;
262
+ for(var i=0;i<_51.length;i++){
263
+ var _56=_51[i];
264
+ _52=Math.max(_56.x,_52);
265
+ _54=Math.max(_56.y,_54);
266
+ _53=Math.min(_56.x,_53);
267
+ _55=Math.min(_56.y,_55);
268
+ }
269
+ return {x:_53,y:_55,width:_52-_53,height:_54-_55};
270
+ },_drawArrow:function(s,_57,end,_58){
271
+ var len=Math.sqrt(Math.pow(end.x-_57.x,2)+Math.pow(end.y-_57.y,2)),sin=(end.y-_57.y)/len,cos=(end.x-_57.x)/len,_59={x:end.x+(len/3)*(-sin),y:end.y+(len/3)*cos},_5a={x:end.x+(len/3)*sin,y:end.y+(len/3)*(-cos)};
272
+ s.createPolyline([_57,_59,_5a]).setFill(_58.color).setStroke(_58);
273
+ },_buildPoints:function(_5b,_5c,_5d,_5e,_5f,_60,dim){
274
+ for(var i=0;i<_5c;i++){
275
+ var end=_5f+2*Math.PI*i/_5c;
276
+ _5b.push(this._getCoordinate(_5d,_5e,end,dim));
277
+ }
278
+ if(_60){
279
+ _5b.push(this._getCoordinate(_5d,_5e,_5f+2*Math.PI,dim));
280
+ }
281
+ },_getCoordinate:function(_61,_62,_63,dim){
282
+ var x=_61.cx+_62*Math.cos(_63);
283
+ if(_8("dojo-bidi")&&this.chart.isRightToLeft()&&dim){
284
+ x=dim.width-x;
285
+ }
286
+ return {x:x,y:_61.cy+_62*Math.sin(_63)};
287
+ },_getObjectLength:function(obj){
288
+ var _64=0;
289
+ if(_1.isObject(obj)){
290
+ for(var key in obj){
291
+ _64++;
292
+ }
293
+ }
294
+ return _64;
295
+ },_getLabel:function(_65){
296
+ return dc.getLabel(_65,this.opt.fixed,this.opt.precision);
297
+ }});
298
+ return _e;
299
+ });