mdarray-sol 0.1.0-java
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +35 -0
- data/LICENSE.txt~ +73 -0
- data/README.md +140 -0
- data/README.md~ +290 -0
- data/Rakefile +80 -0
- data/config.rb +223 -0
- data/doc/Nashorn.html +1406 -0
- data/doc/Sol.html +692 -0
- data/doc/Sol/BarChart.html +181 -0
- data/doc/Sol/BaseChart.html +799 -0
- data/doc/Sol/Bootstrap.html +1134 -0
- data/doc/Sol/Bridge.html +448 -0
- data/doc/Sol/Chart.html +1162 -0
- data/doc/Sol/CoordinateChart.html +673 -0
- data/doc/Sol/DCFX.html +807 -0
- data/doc/Sol/Dashboard.html +1967 -0
- data/doc/Sol/ExecMessages.html +332 -0
- data/doc/Sol/GuiCommunication.html +230 -0
- data/doc/Sol/Interval.html +1213 -0
- data/doc/Sol/JS.html +448 -0
- data/doc/Sol/LineChart.html +344 -0
- data/doc/Sol/LinearScale.html +334 -0
- data/doc/Sol/Margins.html +219 -0
- data/doc/Sol/OrdinalScale.html +263 -0
- data/doc/Sol/ReadBuffer.html +302 -0
- data/doc/Sol/Scale.html +462 -0
- data/doc/Sol/Stack.html +199 -0
- data/doc/Sol/TimeScale.html +396 -0
- data/doc/_index.html +362 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +95 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +95 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +849 -0
- data/doc/top-level-namespace.html +135 -0
- data/examples/bar_chart/bar_chart.rb +268 -0
- data/examples/bar_plot.rb +96 -0
- data/examples/charts/area.rb +25 -0
- data/examples/charts/area_script.rb +69 -0
- data/examples/charts/env.rb +8 -0
- data/examples/charts/monthly-move.csv +6725 -0
- data/examples/charts/morley.csv +101 -0
- data/examples/charts/morley2.csv +81 -0
- data/examples/charts/morley3.csv +121 -0
- data/examples/d3_tutorial.rb +98 -0
- data/examples/sc_plot.rb +57 -0
- data/examples/scatterplot/axes.rb +111 -0
- data/examples/scatterplot/scatterplot.rb +221 -0
- data/examples/us_states/map.rb +90 -0
- data/examples/us_states/us-ag-productivity2004.csv +49 -0
- data/examples/us_states/us-cities.csv +51 -0
- data/examples/util/linear_scale.rb +83 -0
- data/examples/util/ordinal_scale.rb +72 -0
- data/init.rb +39 -0
- data/lib/jx/array_handler.js +70 -0
- data/lib/jx/callback.rb +255 -0
- data/lib/jx/hash_handler.js +87 -0
- data/lib/jx/irbobject.rb +121 -0
- data/lib/jx/js.rb +442 -0
- data/lib/jx/js_array.rb +31 -0
- data/lib/jx/js_hash.rb +76 -0
- data/lib/jx/js_init.rb +62 -0
- data/lib/jx/jsarray.rb +66 -0
- data/lib/jx/jsfunction.rb +73 -0
- data/lib/jx/jsobject.rb +188 -0
- data/lib/jx/jsstyle_sheet.rb +231 -0
- data/lib/jx/jsundefined.rb +46 -0
- data/lib/jx/proxy_array.rb +62 -0
- data/lib/jx/rbobject.rb +80 -0
- data/lib/jx/ruby_proxy.js +176 -0
- data/lib/jx/ruby_rich.js +70 -0
- data/lib/jx/sol.rb +109 -0
- data/lib/mdarray-sol.rb +34 -0
- data/lib/mdarray/jsmdarray.rb +39 -0
- data/lib/ruby_rich/bootstrap.rb +230 -0
- data/lib/ruby_rich/config.html +22 -0
- data/lib/ruby_rich/dashboard.rb +299 -0
- data/lib/ruby_rich/ruby_rich.rb +120 -0
- data/lib/sol/bar_chart.rb +35 -0
- data/lib/sol/base_chart.rb +148 -0
- data/lib/sol/chart.rb +138 -0
- data/lib/sol/coordinate_chart.rb +128 -0
- data/lib/sol/interval.rb +156 -0
- data/lib/sol/line_chart.rb +58 -0
- data/lib/sol/margins.rb +52 -0
- data/lib/sol/scale.rb +212 -0
- data/lib/sol/stack.rb +44 -0
- data/node_modules/bootstrap/Gruntfile.js +533 -0
- data/node_modules/bootstrap/dist/js/bootstrap.js +2363 -0
- data/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
- data/node_modules/bootstrap/dist/js/npm.js +13 -0
- data/node_modules/bootstrap/grunt/bs-commonjs-generator.js +30 -0
- data/node_modules/bootstrap/grunt/bs-glyphicons-data-generator.js +42 -0
- data/node_modules/bootstrap/grunt/bs-lessdoc-parser.js +237 -0
- data/node_modules/bootstrap/grunt/bs-raw-files-generator.js +44 -0
- data/node_modules/bootstrap/js/affix.js +162 -0
- data/node_modules/bootstrap/js/alert.js +94 -0
- data/node_modules/bootstrap/js/button.js +120 -0
- data/node_modules/bootstrap/js/carousel.js +237 -0
- data/node_modules/bootstrap/js/collapse.js +211 -0
- data/node_modules/bootstrap/js/dropdown.js +165 -0
- data/node_modules/bootstrap/js/modal.js +337 -0
- data/node_modules/bootstrap/js/popover.js +108 -0
- data/node_modules/bootstrap/js/scrollspy.js +172 -0
- data/node_modules/bootstrap/js/tab.js +155 -0
- data/node_modules/bootstrap/js/tooltip.js +514 -0
- data/node_modules/bootstrap/js/transition.js +59 -0
- data/node_modules/chai/chai.js +6142 -0
- data/node_modules/chai/index.js +1 -0
- data/node_modules/chai/karma.conf.js +28 -0
- data/node_modules/chai/karma.sauce.js +41 -0
- data/node_modules/chai/lib/chai.js +93 -0
- data/node_modules/chai/lib/chai/assertion.js +131 -0
- data/node_modules/chai/lib/chai/config.js +55 -0
- data/node_modules/chai/lib/chai/core/assertions.js +1860 -0
- data/node_modules/chai/lib/chai/interface/assert.js +1645 -0
- data/node_modules/chai/lib/chai/interface/expect.js +34 -0
- data/node_modules/chai/lib/chai/interface/should.js +201 -0
- data/node_modules/chai/lib/chai/utils/addChainableMethod.js +112 -0
- data/node_modules/chai/lib/chai/utils/addMethod.js +44 -0
- data/node_modules/chai/lib/chai/utils/addProperty.js +48 -0
- data/node_modules/chai/lib/chai/utils/expectTypes.js +42 -0
- data/node_modules/chai/lib/chai/utils/flag.js +33 -0
- data/node_modules/chai/lib/chai/utils/getActual.js +20 -0
- data/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +26 -0
- data/node_modules/chai/lib/chai/utils/getMessage.js +51 -0
- data/node_modules/chai/lib/chai/utils/getName.js +22 -0
- data/node_modules/chai/lib/chai/utils/getPathInfo.js +111 -0
- data/node_modules/chai/lib/chai/utils/getPathValue.js +43 -0
- data/node_modules/chai/lib/chai/utils/getProperties.js +36 -0
- data/node_modules/chai/lib/chai/utils/hasProperty.js +64 -0
- data/node_modules/chai/lib/chai/utils/index.js +130 -0
- data/node_modules/chai/lib/chai/utils/inspect.js +335 -0
- data/node_modules/chai/lib/chai/utils/objDisplay.js +50 -0
- data/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +54 -0
- data/node_modules/chai/lib/chai/utils/overwriteMethod.js +52 -0
- data/node_modules/chai/lib/chai/utils/overwriteProperty.js +55 -0
- data/node_modules/chai/lib/chai/utils/test.js +28 -0
- data/node_modules/chai/lib/chai/utils/transferFlags.js +45 -0
- data/node_modules/chai/node_modules/assertion-error/index.js +116 -0
- data/node_modules/chai/node_modules/deep-eql/index.js +1 -0
- data/node_modules/chai/node_modules/deep-eql/karma.conf.js +20 -0
- data/node_modules/chai/node_modules/deep-eql/lib/eql.js +257 -0
- data/node_modules/chai/node_modules/deep-eql/node_modules/type-detect/index.js +1 -0
- data/node_modules/chai/node_modules/deep-eql/node_modules/type-detect/lib/type.js +142 -0
- data/node_modules/chai/node_modules/type-detect/index.js +1 -0
- data/node_modules/chai/node_modules/type-detect/lib/type.js +134 -0
- data/node_modules/chai/sauce.browsers.js +128 -0
- data/node_modules/dc/Gruntfile.js +437 -0
- data/node_modules/dc/dc.js +10477 -0
- data/node_modules/dc/dc.min.js +23 -0
- data/node_modules/dc/docs/coverage.js +203 -0
- data/node_modules/dc/grunt/format-file-list.js +33 -0
- data/node_modules/dc/index.js +5 -0
- data/node_modules/dc/node_modules/crossfilter2/crossfilter.js +1401 -0
- data/node_modules/dc/node_modules/crossfilter2/crossfilter.min.js +1 -0
- data/node_modules/dc/node_modules/crossfilter2/index.js +1 -0
- data/node_modules/dc/node_modules/crossfilter2/src/array.js +46 -0
- data/node_modules/dc/node_modules/crossfilter2/src/bisect.js +44 -0
- data/node_modules/dc/node_modules/crossfilter2/src/crossfilter.js +872 -0
- data/node_modules/dc/node_modules/crossfilter2/src/filter.js +19 -0
- data/node_modules/dc/node_modules/crossfilter2/src/heap.js +44 -0
- data/node_modules/dc/node_modules/crossfilter2/src/heapselect.js +36 -0
- data/node_modules/dc/node_modules/crossfilter2/src/identity.js +3 -0
- data/node_modules/dc/node_modules/crossfilter2/src/insertionsort.js +18 -0
- data/node_modules/dc/node_modules/crossfilter2/src/null.js +3 -0
- data/node_modules/dc/node_modules/crossfilter2/src/permute.js +8 -0
- data/node_modules/dc/node_modules/crossfilter2/src/quicksort.js +283 -0
- data/node_modules/dc/node_modules/crossfilter2/src/reduce.js +19 -0
- data/node_modules/dc/node_modules/crossfilter2/src/zero.js +3 -0
- data/node_modules/dc/node_modules/d3/d3.js +9554 -0
- data/node_modules/dc/node_modules/d3/d3.min.js +5 -0
- data/node_modules/dc/node_modules/d3/package.js +13 -0
- data/node_modules/dc/node_modules/d3/src/arrays/ascending.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/bisect.js +36 -0
- data/node_modules/dc/node_modules/d3/src/arrays/descending.js +3 -0
- data/node_modules/dc/node_modules/d3/src/arrays/deviation.js +6 -0
- data/node_modules/dc/node_modules/d3/src/arrays/entries.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/extent.js +21 -0
- data/node_modules/dc/node_modules/d3/src/arrays/index.js +25 -0
- data/node_modules/dc/node_modules/d3/src/arrays/keys.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/map.js +84 -0
- data/node_modules/dc/node_modules/d3/src/arrays/max.js +14 -0
- data/node_modules/dc/node_modules/d3/src/arrays/mean.js +15 -0
- data/node_modules/dc/node_modules/d3/src/arrays/median.js +16 -0
- data/node_modules/dc/node_modules/d3/src/arrays/merge.js +21 -0
- data/node_modules/dc/node_modules/d3/src/arrays/min.js +14 -0
- data/node_modules/dc/node_modules/d3/src/arrays/nest.js +97 -0
- data/node_modules/dc/node_modules/d3/src/arrays/pairs.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/permute.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/quantile.js +8 -0
- data/node_modules/dc/node_modules/d3/src/arrays/range.js +26 -0
- data/node_modules/dc/node_modules/d3/src/arrays/set.js +27 -0
- data/node_modules/dc/node_modules/d3/src/arrays/shuffle.js +9 -0
- data/node_modules/dc/node_modules/d3/src/arrays/sum.js +14 -0
- data/node_modules/dc/node_modules/d3/src/arrays/transpose.js +15 -0
- data/node_modules/dc/node_modules/d3/src/arrays/values.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/variance.js +29 -0
- data/node_modules/dc/node_modules/d3/src/arrays/zip.js +5 -0
- data/node_modules/dc/node_modules/d3/src/behavior/behavior.js +1 -0
- data/node_modules/dc/node_modules/d3/src/behavior/drag.js +88 -0
- data/node_modules/dc/node_modules/d3/src/behavior/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/behavior/zoom.js +348 -0
- data/node_modules/dc/node_modules/d3/src/color/color.js +7 -0
- data/node_modules/dc/node_modules/d3/src/color/hcl.js +34 -0
- data/node_modules/dc/node_modules/d3/src/color/hsl.js +56 -0
- data/node_modules/dc/node_modules/d3/src/color/index.js +6 -0
- data/node_modules/dc/node_modules/d3/src/color/lab.js +60 -0
- data/node_modules/dc/node_modules/d3/src/color/rgb.js +301 -0
- data/node_modules/dc/node_modules/d3/src/color/xyz.js +7 -0
- data/node_modules/dc/node_modules/d3/src/compat/array.js +15 -0
- data/node_modules/dc/node_modules/d3/src/compat/date.js +3 -0
- data/node_modules/dc/node_modules/d3/src/compat/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/compat/style.js +23 -0
- data/node_modules/dc/node_modules/d3/src/core/array.js +2 -0
- data/node_modules/dc/node_modules/d3/src/core/class.js +8 -0
- data/node_modules/dc/node_modules/d3/src/core/document.js +15 -0
- data/node_modules/dc/node_modules/d3/src/core/functor.js +5 -0
- data/node_modules/dc/node_modules/d3/src/core/identity.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/noop.js +1 -0
- data/node_modules/dc/node_modules/d3/src/core/ns.js +18 -0
- data/node_modules/dc/node_modules/d3/src/core/rebind.js +16 -0
- data/node_modules/dc/node_modules/d3/src/core/source.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/subclass.js +11 -0
- data/node_modules/dc/node_modules/d3/src/core/target.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/true.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/vendor.js +10 -0
- data/node_modules/dc/node_modules/d3/src/core/zero.js +3 -0
- data/node_modules/dc/node_modules/d3/src/d3.js +23 -0
- data/node_modules/dc/node_modules/d3/src/dsv/csv.js +3 -0
- data/node_modules/dc/node_modules/d3/src/dsv/dsv.js +136 -0
- data/node_modules/dc/node_modules/d3/src/dsv/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/dsv/tsv.js +3 -0
- data/node_modules/dc/node_modules/d3/src/end.js +4 -0
- data/node_modules/dc/node_modules/d3/src/event/dispatch.js +69 -0
- data/node_modules/dc/node_modules/d3/src/event/drag.js +36 -0
- data/node_modules/dc/node_modules/d3/src/event/event.js +50 -0
- data/node_modules/dc/node_modules/d3/src/event/index.js +6 -0
- data/node_modules/dc/node_modules/d3/src/event/mouse.js +39 -0
- data/node_modules/dc/node_modules/d3/src/event/timer.js +82 -0
- data/node_modules/dc/node_modules/d3/src/event/touch.js +11 -0
- data/node_modules/dc/node_modules/d3/src/event/touches.js +12 -0
- data/node_modules/dc/node_modules/d3/src/format/collapse.js +3 -0
- data/node_modules/dc/node_modules/d3/src/format/format.js +3 -0
- data/node_modules/dc/node_modules/d3/src/format/formatPrefix.js +24 -0
- data/node_modules/dc/node_modules/d3/src/format/index.js +4 -0
- data/node_modules/dc/node_modules/d3/src/format/precision.js +3 -0
- data/node_modules/dc/node_modules/d3/src/format/requote.js +5 -0
- data/node_modules/dc/node_modules/d3/src/format/round.js +5 -0
- data/node_modules/dc/node_modules/d3/src/geo/albers-usa.js +129 -0
- data/node_modules/dc/node_modules/d3/src/geo/albers.js +11 -0
- data/node_modules/dc/node_modules/d3/src/geo/area.js +69 -0
- data/node_modules/dc/node_modules/d3/src/geo/azimuthal-equal-area.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/azimuthal-equidistant.js +13 -0
- data/node_modules/dc/node_modules/d3/src/geo/azimuthal.js +25 -0
- data/node_modules/dc/node_modules/d3/src/geo/bounds.js +168 -0
- data/node_modules/dc/node_modules/d3/src/geo/cartesian.js +47 -0
- data/node_modules/dc/node_modules/d3/src/geo/centroid.js +149 -0
- data/node_modules/dc/node_modules/d3/src/geo/circle.js +81 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-antimeridian.js +95 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-circle.js +178 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-extent.js +196 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-polygon.js +104 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip.js +149 -0
- data/node_modules/dc/node_modules/d3/src/geo/compose.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic-conformal.js +39 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic-equal-area.js +33 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic-equidistant.js +36 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic.js +16 -0
- data/node_modules/dc/node_modules/d3/src/geo/distance.js +13 -0
- data/node_modules/dc/node_modules/d3/src/geo/equirectangular.js +10 -0
- data/node_modules/dc/node_modules/d3/src/geo/geo.js +1 -0
- data/node_modules/dc/node_modules/d3/src/geo/gnomonic.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/graticule.js +103 -0
- data/node_modules/dc/node_modules/d3/src/geo/greatArc.js +42 -0
- data/node_modules/dc/node_modules/d3/src/geo/index.js +33 -0
- data/node_modules/dc/node_modules/d3/src/geo/interpolate.js +38 -0
- data/node_modules/dc/node_modules/d3/src/geo/length.js +44 -0
- data/node_modules/dc/node_modules/d3/src/geo/mercator.js +48 -0
- data/node_modules/dc/node_modules/d3/src/geo/orthographic.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-area.js +41 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-bounds.js +21 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-buffer.js +59 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-centroid.js +78 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-context.js +49 -0
- data/node_modules/dc/node_modules/d3/src/geo/path.js +87 -0
- data/node_modules/dc/node_modules/d3/src/geo/point-in-polygon.js +71 -0
- data/node_modules/dc/node_modules/d3/src/geo/projection.js +121 -0
- data/node_modules/dc/node_modules/d3/src/geo/resample.js +109 -0
- data/node_modules/dc/node_modules/d3/src/geo/rotation.js +79 -0
- data/node_modules/dc/node_modules/d3/src/geo/spherical.js +13 -0
- data/node_modules/dc/node_modules/d3/src/geo/stereographic.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/stream.js +71 -0
- data/node_modules/dc/node_modules/d3/src/geo/transform.js +36 -0
- data/node_modules/dc/node_modules/d3/src/geo/transverse-mercator.js +31 -0
- data/node_modules/dc/node_modules/d3/src/geom/clip-line.js +66 -0
- data/node_modules/dc/node_modules/d3/src/geom/delaunay.js +6 -0
- data/node_modules/dc/node_modules/d3/src/geom/geom.js +1 -0
- data/node_modules/dc/node_modules/d3/src/geom/hull.js +91 -0
- data/node_modules/dc/node_modules/d3/src/geom/index.js +6 -0
- data/node_modules/dc/node_modules/d3/src/geom/point.js +7 -0
- data/node_modules/dc/node_modules/d3/src/geom/polygon.js +105 -0
- data/node_modules/dc/node_modules/d3/src/geom/quadtree.js +243 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi.js +110 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/beach.js +186 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/cell.js +64 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/circle.js +73 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/clip.js +80 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/edge.js +50 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/index.js +59 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/red-black.js +235 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/array.js +19 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/ease.js +111 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/hcl.js +20 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/hsl.js +20 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/index.js +14 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/interpolate.js +26 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/lab.js +17 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/number.js +6 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/object.js +25 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/rgb.js +20 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/round.js +6 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/string.js +54 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/transform.js +59 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/uninterpolate.js +9 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/zoom.js +53 -0
- data/node_modules/dc/node_modules/d3/src/layout/bundle.js +59 -0
- data/node_modules/dc/node_modules/d3/src/layout/chord.js +157 -0
- data/node_modules/dc/node_modules/d3/src/layout/cluster.js +92 -0
- data/node_modules/dc/node_modules/d3/src/layout/force.js +372 -0
- data/node_modules/dc/node_modules/d3/src/layout/hierarchy.js +136 -0
- data/node_modules/dc/node_modules/d3/src/layout/histogram.js +110 -0
- data/node_modules/dc/node_modules/d3/src/layout/index.js +13 -0
- data/node_modules/dc/node_modules/d3/src/layout/layout.js +1 -0
- data/node_modules/dc/node_modules/d3/src/layout/pack.js +211 -0
- data/node_modules/dc/node_modules/d3/src/layout/partition.js +51 -0
- data/node_modules/dc/node_modules/d3/src/layout/pie.js +78 -0
- data/node_modules/dc/node_modules/d3/src/layout/stack.js +247 -0
- data/node_modules/dc/node_modules/d3/src/layout/tree.js +240 -0
- data/node_modules/dc/node_modules/d3/src/layout/treemap.js +229 -0
- data/node_modules/dc/node_modules/d3/src/locale/ca-ES.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/de-CH.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/de-DE.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/en-CA.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/en-GB.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/en-US.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/es-ES.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/fi-FI.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/fr-CA.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/fr-FR.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/he-IL.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/hu-HU.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/it-IT.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/ja-JP.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/ko-KR.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/locale.js +9 -0
- data/node_modules/dc/node_modules/d3/src/locale/mk-MK.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/nl-NL.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/number-format.js +155 -0
- data/node_modules/dc/node_modules/d3/src/locale/pl-PL.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/pt-BR.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/ru-RU.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/sv-SE.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/time-format.js +370 -0
- data/node_modules/dc/node_modules/d3/src/locale/time-scale.js +0 -0
- data/node_modules/dc/node_modules/d3/src/locale/zh-CN.js +16 -0
- data/node_modules/dc/node_modules/d3/src/math/abs.js +1 -0
- data/node_modules/dc/node_modules/d3/src/math/adder.js +34 -0
- data/node_modules/dc/node_modules/d3/src/math/index.js +2 -0
- data/node_modules/dc/node_modules/d3/src/math/number.js +7 -0
- data/node_modules/dc/node_modules/d3/src/math/random.js +34 -0
- data/node_modules/dc/node_modules/d3/src/math/transform.js +64 -0
- data/node_modules/dc/node_modules/d3/src/math/trigonometry.js +44 -0
- data/node_modules/dc/node_modules/d3/src/scale/bilinear.js +7 -0
- data/node_modules/dc/node_modules/d3/src/scale/category.js +58 -0
- data/node_modules/dc/node_modules/d3/src/scale/identity.js +33 -0
- data/node_modules/dc/node_modules/d3/src/scale/index.js +11 -0
- data/node_modules/dc/node_modules/d3/src/scale/linear.js +160 -0
- data/node_modules/dc/node_modules/d3/src/scale/log.js +92 -0
- data/node_modules/dc/node_modules/d3/src/scale/nice.js +30 -0
- data/node_modules/dc/node_modules/d3/src/scale/ordinal.js +102 -0
- data/node_modules/dc/node_modules/d3/src/scale/polylinear.js +24 -0
- data/node_modules/dc/node_modules/d3/src/scale/pow.js +57 -0
- data/node_modules/dc/node_modules/d3/src/scale/quantile.js +55 -0
- data/node_modules/dc/node_modules/d3/src/scale/quantize.js +44 -0
- data/node_modules/dc/node_modules/d3/src/scale/scale.js +10 -0
- data/node_modules/dc/node_modules/d3/src/scale/sqrt.js +6 -0
- data/node_modules/dc/node_modules/d3/src/scale/threshold.js +36 -0
- data/node_modules/dc/node_modules/d3/src/selection/append.js +28 -0
- data/node_modules/dc/node_modules/d3/src/selection/attr.js +62 -0
- data/node_modules/dc/node_modules/d3/src/selection/call.js +8 -0
- data/node_modules/dc/node_modules/d3/src/selection/classed.js +76 -0
- data/node_modules/dc/node_modules/d3/src/selection/data.js +117 -0
- data/node_modules/dc/node_modules/d3/src/selection/datum.js +7 -0
- data/node_modules/dc/node_modules/d3/src/selection/each.js +16 -0
- data/node_modules/dc/node_modules/d3/src/selection/empty.js +5 -0
- data/node_modules/dc/node_modules/d3/src/selection/enter-insert.js +20 -0
- data/node_modules/dc/node_modules/d3/src/selection/enter-select.js +27 -0
- data/node_modules/dc/node_modules/d3/src/selection/enter.js +21 -0
- data/node_modules/dc/node_modules/d3/src/selection/filter.js +28 -0
- data/node_modules/dc/node_modules/d3/src/selection/html.js +10 -0
- data/node_modules/dc/node_modules/d3/src/selection/index.js +1 -0
- data/node_modules/dc/node_modules/d3/src/selection/insert.js +9 -0
- data/node_modules/dc/node_modules/d3/src/selection/interrupt.js +27 -0
- data/node_modules/dc/node_modules/d3/src/selection/node.js +11 -0
- data/node_modules/dc/node_modules/d3/src/selection/on.js +106 -0
- data/node_modules/dc/node_modules/d3/src/selection/order.js +13 -0
- data/node_modules/dc/node_modules/d3/src/selection/property.js +43 -0
- data/node_modules/dc/node_modules/d3/src/selection/remove.js +13 -0
- data/node_modules/dc/node_modules/d3/src/selection/select.js +32 -0
- data/node_modules/dc/node_modules/d3/src/selection/selectAll.js +27 -0
- data/node_modules/dc/node_modules/d3/src/selection/selection.js +81 -0
- data/node_modules/dc/node_modules/d3/src/selection/size.js +7 -0
- data/node_modules/dc/node_modules/d3/src/selection/sort.js +15 -0
- data/node_modules/dc/node_modules/d3/src/selection/style.js +59 -0
- data/node_modules/dc/node_modules/d3/src/selection/text.js +10 -0
- data/node_modules/dc/node_modules/d3/src/selection/transition.js +21 -0
- data/node_modules/dc/node_modules/d3/src/start.js +2 -0
- data/node_modules/dc/node_modules/d3/src/svg/arc.js +292 -0
- data/node_modules/dc/node_modules/d3/src/svg/area-radial.js +14 -0
- data/node_modules/dc/node_modules/d3/src/svg/area.js +121 -0
- data/node_modules/dc/node_modules/d3/src/svg/axis.js +160 -0
- data/node_modules/dc/node_modules/d3/src/svg/brush.js +429 -0
- data/node_modules/dc/node_modules/d3/src/svg/chord.js +90 -0
- data/node_modules/dc/node_modules/d3/src/svg/diagonal-radial.js +27 -0
- data/node_modules/dc/node_modules/d3/src/svg/diagonal.js +43 -0
- data/node_modules/dc/node_modules/d3/src/svg/index.js +12 -0
- data/node_modules/dc/node_modules/d3/src/svg/line-radial.js +27 -0
- data/node_modules/dc/node_modules/d3/src/svg/line.js +432 -0
- data/node_modules/dc/node_modules/d3/src/svg/svg.js +1 -0
- data/node_modules/dc/node_modules/d3/src/svg/symbol.js +105 -0
- data/node_modules/dc/node_modules/d3/src/time/day.js +21 -0
- data/node_modules/dc/node_modules/d3/src/time/format-iso.js +19 -0
- data/node_modules/dc/node_modules/d3/src/time/format-utc.js +3 -0
- data/node_modules/dc/node_modules/d3/src/time/format.js +4 -0
- data/node_modules/dc/node_modules/d3/src/time/hour.js +14 -0
- data/node_modules/dc/node_modules/d3/src/time/index.js +14 -0
- data/node_modules/dc/node_modules/d3/src/time/interval.js +71 -0
- data/node_modules/dc/node_modules/d3/src/time/minute.js +13 -0
- data/node_modules/dc/node_modules/d3/src/time/month.js +16 -0
- data/node_modules/dc/node_modules/d3/src/time/scale-utc.js +25 -0
- data/node_modules/dc/node_modules/d3/src/time/scale.js +155 -0
- data/node_modules/dc/node_modules/d3/src/time/second.js +13 -0
- data/node_modules/dc/node_modules/d3/src/time/time.js +33 -0
- data/node_modules/dc/node_modules/d3/src/time/week.js +31 -0
- data/node_modules/dc/node_modules/d3/src/time/year.js +16 -0
- data/node_modules/dc/node_modules/d3/src/transition/attr.js +58 -0
- data/node_modules/dc/node_modules/d3/src/transition/delay.js +10 -0
- data/node_modules/dc/node_modules/d3/src/transition/duration.js +10 -0
- data/node_modules/dc/node_modules/d3/src/transition/each.js +26 -0
- data/node_modules/dc/node_modules/d3/src/transition/ease.js +10 -0
- data/node_modules/dc/node_modules/d3/src/transition/filter.js +22 -0
- data/node_modules/dc/node_modules/d3/src/transition/index.js +1 -0
- data/node_modules/dc/node_modules/d3/src/transition/remove.js +9 -0
- data/node_modules/dc/node_modules/d3/src/transition/select.js +28 -0
- data/node_modules/dc/node_modules/d3/src/transition/selectAll.js +31 -0
- data/node_modules/dc/node_modules/d3/src/transition/style.js +53 -0
- data/node_modules/dc/node_modules/d3/src/transition/subtransition.js +25 -0
- data/node_modules/dc/node_modules/d3/src/transition/text.js +11 -0
- data/node_modules/dc/node_modules/d3/src/transition/transition.js +161 -0
- data/node_modules/dc/node_modules/d3/src/transition/tween.js +17 -0
- data/node_modules/dc/node_modules/d3/src/xhr/html.js +12 -0
- data/node_modules/dc/node_modules/d3/src/xhr/index.js +5 -0
- data/node_modules/dc/node_modules/d3/src/xhr/json.js +9 -0
- data/node_modules/dc/node_modules/d3/src/xhr/text.js +5 -0
- data/node_modules/dc/node_modules/d3/src/xhr/xhr.js +126 -0
- data/node_modules/dc/node_modules/d3/src/xhr/xml.js +5 -0
- data/node_modules/dc/regression/inject-serializer.js +6 -0
- data/node_modules/dc/regression/stock-regression-test.js +140 -0
- data/node_modules/dc/spec/bar-chart-spec.js +1230 -0
- data/node_modules/dc/spec/base-mixin-spec.js +611 -0
- data/node_modules/dc/spec/biggish-data-spec.js +136 -0
- data/node_modules/dc/spec/box-plot-spec.js +211 -0
- data/node_modules/dc/spec/bubble-chart-spec.js +450 -0
- data/node_modules/dc/spec/bubble-overlay-spec.js +102 -0
- data/node_modules/dc/spec/color-spec.js +89 -0
- data/node_modules/dc/spec/composite-chart-spec.js +691 -0
- data/node_modules/dc/spec/coordinate-grid-chart-spec.js +962 -0
- data/node_modules/dc/spec/core-spec.js +301 -0
- data/node_modules/dc/spec/data-addition-spec.js +122 -0
- data/node_modules/dc/spec/data-count-spec.js +180 -0
- data/node_modules/dc/spec/data-grid-spec.js +124 -0
- data/node_modules/dc/spec/data-table-spec.js +251 -0
- data/node_modules/dc/spec/event-spec.js +41 -0
- data/node_modules/dc/spec/filter-dates-spec.js +92 -0
- data/node_modules/dc/spec/filters-spec.js +140 -0
- data/node_modules/dc/spec/geo-choropleth-chart-spec.js +225 -0
- data/node_modules/dc/spec/heatmap-spec.js +363 -0
- data/node_modules/dc/spec/helpers/custom_matchers.js +213 -0
- data/node_modules/dc/spec/helpers/fixtures.js +81 -0
- data/node_modules/dc/spec/helpers/geoFixtures.js +113 -0
- data/node_modules/dc/spec/helpers/load-jsreporter.js +37 -0
- data/node_modules/dc/spec/helpers/spec-helper.js +53 -0
- data/node_modules/dc/spec/legend-spec.js +266 -0
- data/node_modules/dc/spec/line-chart-spec.js +709 -0
- data/node_modules/dc/spec/logger-spec.js +80 -0
- data/node_modules/dc/spec/number-display-spec.js +168 -0
- data/node_modules/dc/spec/pie-chart-spec.js +677 -0
- data/node_modules/dc/spec/row-chart-spec.js +362 -0
- data/node_modules/dc/spec/scatter-plot-spec.js +336 -0
- data/node_modules/dc/spec/series-chart-spec.js +133 -0
- data/node_modules/dc/spec/utils-spec.js +110 -0
- data/node_modules/dc/src/banner.js +2 -0
- data/node_modules/dc/src/bar-chart.js +374 -0
- data/node_modules/dc/src/base-mixin.js +1478 -0
- data/node_modules/dc/src/box-plot.js +240 -0
- data/node_modules/dc/src/bubble-chart.js +177 -0
- data/node_modules/dc/src/bubble-mixin.js +244 -0
- data/node_modules/dc/src/bubble-overlay.js +207 -0
- data/node_modules/dc/src/cap-mixin.js +151 -0
- data/node_modules/dc/src/color-mixin.js +172 -0
- data/node_modules/dc/src/composite-chart.js +544 -0
- data/node_modules/dc/src/coordinate-grid-mixin.js +1300 -0
- data/node_modules/dc/src/core.js +425 -0
- data/node_modules/dc/src/d3.box.js +317 -0
- data/node_modules/dc/src/data-count.js +110 -0
- data/node_modules/dc/src/data-grid.js +243 -0
- data/node_modules/dc/src/data-table.js +419 -0
- data/node_modules/dc/src/errors.js +28 -0
- data/node_modules/dc/src/events.js +37 -0
- data/node_modules/dc/src/filters.js +124 -0
- data/node_modules/dc/src/footer.js +35 -0
- data/node_modules/dc/src/geo-choropleth-chart.js +279 -0
- data/node_modules/dc/src/heatmap.js +378 -0
- data/node_modules/dc/src/legend.js +277 -0
- data/node_modules/dc/src/line-chart.js +504 -0
- data/node_modules/dc/src/logger.js +40 -0
- data/node_modules/dc/src/margin-mixin.js +44 -0
- data/node_modules/dc/src/number-display.js +141 -0
- data/node_modules/dc/src/pie-chart.js +571 -0
- data/node_modules/dc/src/row-chart.js +425 -0
- data/node_modules/dc/src/scatter-plot.js +338 -0
- data/node_modules/dc/src/series-chart.js +192 -0
- data/node_modules/dc/src/stack-mixin.js +319 -0
- data/node_modules/dc/src/utils.js +290 -0
- data/node_modules/dc/web/docs/html/scripts/docstrap.lib.js +11 -0
- data/node_modules/dc/web/docs/html/scripts/fulltext-search-ui.js +89 -0
- data/node_modules/dc/web/docs/html/scripts/fulltext-search.js +36 -0
- data/node_modules/dc/web/docs/html/scripts/lunr.min.js +7 -0
- data/node_modules/dc/web/docs/html/scripts/prettify/jquery.min.js +6 -0
- data/node_modules/dc/web/docs/html/scripts/prettify/lang-css.js +21 -0
- data/node_modules/dc/web/docs/html/scripts/prettify/prettify.js +496 -0
- data/node_modules/dc/web/docs/html/scripts/sunlight.js +1157 -0
- data/node_modules/dc/web/docs/html/scripts/toc.js +203 -0
- data/node_modules/dc/web/ep/list.js +106 -0
- data/node_modules/dc/web/examples/lysenko-interval-tree.js +447 -0
- data/node_modules/dc/web/highlighter/shAutoloader.js +17 -0
- data/node_modules/dc/web/highlighter/shBrushJScript.js +52 -0
- data/node_modules/dc/web/highlighter/shBrushXml.js +69 -0
- data/node_modules/dc/web/highlighter/shCore.js +17 -0
- data/node_modules/dc/web/js/colorbrewer.js +1 -0
- data/node_modules/dc/web/js/crossfilter.js +1401 -0
- data/node_modules/dc/web/js/d3.js +9554 -0
- data/node_modules/dc/web/js/dc.js +10477 -0
- data/node_modules/dc/web/js/dc.min.js +23 -0
- data/node_modules/dc/web/js/env-data.js +218 -0
- data/node_modules/dc/web/js/jasmine-jsreporter.js +394 -0
- data/node_modules/dc/web/stock.js +685 -0
- data/node_modules/dc/web/transitions/transition-test.js +45 -0
- data/node_modules/jquery/dist/jquery.js +9814 -0
- data/node_modules/jquery/dist/jquery.min.js +4 -0
- data/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
- data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/node_modules/jquery/src/ajax.js +845 -0
- data/node_modules/jquery/src/ajax/jsonp.js +100 -0
- data/node_modules/jquery/src/ajax/load.js +83 -0
- data/node_modules/jquery/src/ajax/parseJSON.js +13 -0
- data/node_modules/jquery/src/ajax/parseXML.js +27 -0
- data/node_modules/jquery/src/ajax/script.js +68 -0
- data/node_modules/jquery/src/ajax/var/location.js +3 -0
- data/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/node_modules/jquery/src/ajax/var/rquery.js +3 -0
- data/node_modules/jquery/src/ajax/xhr.js +167 -0
- data/node_modules/jquery/src/attributes.js +11 -0
- data/node_modules/jquery/src/attributes/attr.js +142 -0
- data/node_modules/jquery/src/attributes/classes.js +177 -0
- data/node_modules/jquery/src/attributes/prop.js +125 -0
- data/node_modules/jquery/src/attributes/support.js +36 -0
- data/node_modules/jquery/src/attributes/val.js +177 -0
- data/node_modules/jquery/src/callbacks.js +232 -0
- data/node_modules/jquery/src/core.js +494 -0
- data/node_modules/jquery/src/core/access.js +65 -0
- data/node_modules/jquery/src/core/init.js +134 -0
- data/node_modules/jquery/src/core/parseHTML.js +41 -0
- data/node_modules/jquery/src/core/ready.js +103 -0
- data/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
- data/node_modules/jquery/src/css.js +502 -0
- data/node_modules/jquery/src/css/addGetHookIf.js +24 -0
- data/node_modules/jquery/src/css/adjustCSS.js +65 -0
- data/node_modules/jquery/src/css/curCSS.js +60 -0
- data/node_modules/jquery/src/css/defaultDisplay.js +72 -0
- data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/node_modules/jquery/src/css/showHide.js +48 -0
- data/node_modules/jquery/src/css/support.js +121 -0
- data/node_modules/jquery/src/css/var/cssExpand.js +3 -0
- data/node_modules/jquery/src/css/var/getStyles.js +15 -0
- data/node_modules/jquery/src/css/var/isHidden.js +16 -0
- data/node_modules/jquery/src/css/var/rmargin.js +3 -0
- data/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
- data/node_modules/jquery/src/css/var/swap.js +24 -0
- data/node_modules/jquery/src/data.js +187 -0
- data/node_modules/jquery/src/data/Data.js +200 -0
- data/node_modules/jquery/src/data/var/acceptData.js +18 -0
- data/node_modules/jquery/src/data/var/dataPriv.js +5 -0
- data/node_modules/jquery/src/data/var/dataUser.js +5 -0
- data/node_modules/jquery/src/deferred.js +158 -0
- data/node_modules/jquery/src/deprecated.js +32 -0
- data/node_modules/jquery/src/dimensions.js +54 -0
- data/node_modules/jquery/src/effects.js +629 -0
- data/node_modules/jquery/src/effects/Tween.js +121 -0
- data/node_modules/jquery/src/effects/animatedSelector.js +13 -0
- data/node_modules/jquery/src/event.js +711 -0
- data/node_modules/jquery/src/event/ajax.js +20 -0
- data/node_modules/jquery/src/event/alias.js +27 -0
- data/node_modules/jquery/src/event/focusin.js +53 -0
- data/node_modules/jquery/src/event/support.js +9 -0
- data/node_modules/jquery/src/event/trigger.js +183 -0
- data/node_modules/jquery/src/exports/amd.js +24 -0
- data/node_modules/jquery/src/exports/global.js +26 -0
- data/node_modules/jquery/src/intro.js +44 -0
- data/node_modules/jquery/src/jquery.js +37 -0
- data/node_modules/jquery/src/manipulation.js +481 -0
- data/node_modules/jquery/src/manipulation/_evalUrl.js +20 -0
- data/node_modules/jquery/src/manipulation/buildFragment.js +102 -0
- data/node_modules/jquery/src/manipulation/getAll.js +21 -0
- data/node_modules/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/node_modules/jquery/src/manipulation/support.js +33 -0
- data/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
- data/node_modules/jquery/src/manipulation/wrapMap.js +27 -0
- data/node_modules/jquery/src/offset.js +218 -0
- data/node_modules/jquery/src/outro.js +2 -0
- data/node_modules/jquery/src/queue.js +143 -0
- data/node_modules/jquery/src/queue/delay.js +22 -0
- data/node_modules/jquery/src/selector-native.js +211 -0
- data/node_modules/jquery/src/selector-sizzle.js +14 -0
- data/node_modules/jquery/src/selector.js +1 -0
- data/node_modules/jquery/src/serialize.js +125 -0
- data/node_modules/jquery/src/traversing.js +175 -0
- data/node_modules/jquery/src/traversing/findFilter.js +100 -0
- data/node_modules/jquery/src/traversing/var/dir.js +20 -0
- data/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/node_modules/jquery/src/traversing/var/siblings.js +15 -0
- data/node_modules/jquery/src/var/arr.js +3 -0
- data/node_modules/jquery/src/var/class2type.js +5 -0
- data/node_modules/jquery/src/var/concat.js +5 -0
- data/node_modules/jquery/src/var/document.js +3 -0
- data/node_modules/jquery/src/var/documentElement.js +5 -0
- data/node_modules/jquery/src/var/hasOwn.js +5 -0
- data/node_modules/jquery/src/var/indexOf.js +5 -0
- data/node_modules/jquery/src/var/pnum.js +3 -0
- data/node_modules/jquery/src/var/push.js +5 -0
- data/node_modules/jquery/src/var/rcssNum.js +7 -0
- data/node_modules/jquery/src/var/rnotwhite.js +3 -0
- data/node_modules/jquery/src/var/slice.js +5 -0
- data/node_modules/jquery/src/var/support.js +5 -0
- data/node_modules/jquery/src/var/toString.js +5 -0
- data/node_modules/jquery/src/wrap.js +79 -0
- data/target/mdarray_sol.jar +0 -0
- data/test/jx/test_complete.rb +35 -0
- data/test/jx/test_js.rb +543 -0
- data/test/jx/test_proxy_array.rb +239 -0
- data/test/jx/test_proxy_hash.rb +160 -0
- data/test/jx/test_proxy_lambda.rb +80 -0
- data/test/jx/test_rb_js_compat.rb +135 -0
- data/test/jx/test_style_sheets.rb +90 -0
- data/test/mdarray/test_mdarray.rb +75 -0
- data/util/cacert.pem +4095 -0
- data/util/download.rb +256 -0
- data/vendor/jxbrowser-6.8.jar +0 -0
- data/vendor/licence.jar +0 -0
- data/version.rb +2 -0
- metadata +817 -0
|
@@ -0,0 +1,1967 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: Sol::Dashboard
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '../';
|
|
20
|
+
framesUrl = "../frames.html#!Sol/Dashboard.html";
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="../_index.html">Index (D)</a> »
|
|
35
|
+
<span class='title'><span class='object_link'><a href="../Sol.html" title="Sol (class)">Sol</a></span></span>
|
|
36
|
+
»
|
|
37
|
+
<span class="title">Dashboard</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="../class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="../method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="../file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Class: Sol::Dashboard
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="JS.html" title="Sol::JS (class)">JS</a></span></span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next"><span class='object_link'><a href="JS.html" title="Sol::JS (class)">JS</a></span></li>
|
|
82
|
+
|
|
83
|
+
<li class="next">Sol::Dashboard</li>
|
|
84
|
+
|
|
85
|
+
</ul>
|
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
87
|
+
|
|
88
|
+
</dd>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
|
99
|
+
<dd class="r2 last">lib/webview/dashboard.rb</dd>
|
|
100
|
+
|
|
101
|
+
</dl>
|
|
102
|
+
<div class="clear"></div>
|
|
103
|
+
|
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
|
105
|
+
<div class="discussion">
|
|
106
|
+
|
|
107
|
+
<h6 id="label-"></h6>
|
|
108
|
+
|
|
109
|
+
<p>This class executes in another thread than the GUI thread. Communication
|
|
110
|
+
between the Dashboard and the GUI (WebView) is done through the Bridge
|
|
111
|
+
class.</p>
|
|
112
|
+
|
|
113
|
+
<h6 id="label-"></h6>
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="tags">
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
126
|
+
<ul class="summary">
|
|
127
|
+
|
|
128
|
+
<li class="public ">
|
|
129
|
+
<span class="summary_signature">
|
|
130
|
+
|
|
131
|
+
<a href="#base_dimensions-instance_method" title="#base_dimensions (instance method)">- (Object) <strong>base_dimensions</strong> </a>
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
</span>
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
<span class="note title readonly">readonly</span>
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<span class="summary_desc"><div class='inline'>
|
|
151
|
+
<p>dimensions used by crossfilter.</p>
|
|
152
|
+
</div></span>
|
|
153
|
+
|
|
154
|
+
</li>
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
<li class="public ">
|
|
158
|
+
<span class="summary_signature">
|
|
159
|
+
|
|
160
|
+
<a href="#charts-instance_method" title="#charts (instance method)">- (Object) <strong>charts</strong> </a>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
</span>
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
<span class="note title readonly">readonly</span>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<span class="summary_desc"><div class='inline'>
|
|
180
|
+
<p>All the charts to be added to the dashboard.</p>
|
|
181
|
+
</div></span>
|
|
182
|
+
|
|
183
|
+
</li>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<li class="public ">
|
|
187
|
+
<span class="summary_signature">
|
|
188
|
+
|
|
189
|
+
<a href="#data-instance_method" title="#data (instance method)">- (Object) <strong>data</strong> </a>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
</span>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<span class="note title readonly">readonly</span>
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<span class="summary_desc"><div class='inline'>
|
|
209
|
+
<p>Returns the value of attribute data.</p>
|
|
210
|
+
</div></span>
|
|
211
|
+
|
|
212
|
+
</li>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<li class="public ">
|
|
216
|
+
<span class="summary_signature">
|
|
217
|
+
|
|
218
|
+
<a href="#date_columns-instance_method" title="#date_columns (instance method)">- (Object) <strong>date_columns</strong> </a>
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
</span>
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
<span class="note title readonly">readonly</span>
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<span class="summary_desc"><div class='inline'>
|
|
238
|
+
<p>columns that have date information.</p>
|
|
239
|
+
</div></span>
|
|
240
|
+
|
|
241
|
+
</li>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<li class="public ">
|
|
245
|
+
<span class="summary_signature">
|
|
246
|
+
|
|
247
|
+
<a href="#dimension_labels-instance_method" title="#dimension_labels (instance method)">- (Object) <strong>dimension_labels</strong> </a>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</span>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
<span class="note title readonly">readonly</span>
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
<span class="summary_desc"><div class='inline'>
|
|
267
|
+
<p>Returns the value of attribute dimension_labels.</p>
|
|
268
|
+
</div></span>
|
|
269
|
+
|
|
270
|
+
</li>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
<li class="public ">
|
|
274
|
+
<span class="summary_signature">
|
|
275
|
+
|
|
276
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
</span>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<span class="note title readonly">readonly</span>
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
<span class="summary_desc"><div class='inline'>
|
|
296
|
+
<p>Returns the value of attribute name.</p>
|
|
297
|
+
</div></span>
|
|
298
|
+
|
|
299
|
+
</li>
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
<li class="public ">
|
|
303
|
+
<span class="summary_signature">
|
|
304
|
+
|
|
305
|
+
<a href="#properties-instance_method" title="#properties (instance method)">- (Object) <strong>properties</strong> </a>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
</span>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
<span class="note title readonly">readonly</span>
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
<span class="summary_desc"><div class='inline'>
|
|
325
|
+
<p>list of properties to be added to the dashboard.</p>
|
|
326
|
+
</div></span>
|
|
327
|
+
|
|
328
|
+
</li>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
<li class="public ">
|
|
332
|
+
<span class="summary_signature">
|
|
333
|
+
|
|
334
|
+
<a href="#scene-instance_method" title="#scene (instance method)">- (Object) <strong>scene</strong> </a>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
</span>
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
<span class="note title readonly">readonly</span>
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
<span class="summary_desc"><div class='inline'>
|
|
354
|
+
<p>Returns the value of attribute scene.</p>
|
|
355
|
+
</div></span>
|
|
356
|
+
|
|
357
|
+
</li>
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
<li class="public ">
|
|
361
|
+
<span class="summary_signature">
|
|
362
|
+
|
|
363
|
+
<a href="#script-instance_method" title="#script (instance method)">- (Object) <strong>script</strong> </a>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
</span>
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
<span class="note title readonly">readonly</span>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
<span class="summary_desc"><div class='inline'>
|
|
383
|
+
<p>automatically generated javascript script for this dashboard.</p>
|
|
384
|
+
</div></span>
|
|
385
|
+
|
|
386
|
+
</li>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
</ul>
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="JS.html" title="Sol::JS (class)">JS</a></span></h3>
|
|
396
|
+
<p class="inherited"><span class='object_link'><a href="JS.html#bridge-instance_method" title="Sol::JS#bridge (method)">#bridge</a></span></p>
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
<h2>
|
|
401
|
+
Instance Method Summary
|
|
402
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
403
|
+
</h2>
|
|
404
|
+
|
|
405
|
+
<ul class="summary">
|
|
406
|
+
|
|
407
|
+
<li class="public ">
|
|
408
|
+
<span class="summary_signature">
|
|
409
|
+
|
|
410
|
+
<a href="#chart-instance_method" title="#chart (instance method)">- (Object) <strong>chart</strong>(type, x_column, y_column, name) </a>
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
</span>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
<span class="summary_desc"><div class='inline'>
|
|
425
|
+
<p>———————————————————————————— Create a new chart of the given type and name,
|
|
426
|
+
usign x_column for the x_axis and y_column for the Y axis.</p>
|
|
427
|
+
</div></span>
|
|
428
|
+
|
|
429
|
+
</li>
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
<li class="public ">
|
|
433
|
+
<span class="summary_signature">
|
|
434
|
+
|
|
435
|
+
<a href="#clean-instance_method" title="#clean (instance method)">- (Object) <strong>clean</strong> </a>
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
</span>
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
<span class="summary_desc"><div class='inline'>
|
|
450
|
+
<p>———————————————————————————— Cleans the scene and the charts, preparing for
|
|
451
|
+
new visualization.</p>
|
|
452
|
+
</div></span>
|
|
453
|
+
|
|
454
|
+
</li>
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
<li class="public ">
|
|
458
|
+
<span class="summary_signature">
|
|
459
|
+
|
|
460
|
+
<a href="#dimension%3F-instance_method" title="#dimension? (instance method)">- (Boolean) <strong>dimension?</strong>(dim_name) </a>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
</span>
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
<span class="summary_desc"><div class='inline'>
|
|
475
|
+
<p>————————————————————————————.</p>
|
|
476
|
+
</div></span>
|
|
477
|
+
|
|
478
|
+
</li>
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
<li class="public ">
|
|
482
|
+
<span class="summary_signature">
|
|
483
|
+
|
|
484
|
+
<a href="#dimensions_spec-instance_method" title="#dimensions_spec (instance method)">- (Object) <strong>dimensions_spec</strong> </a>
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
</span>
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
<span class="summary_desc"><div class='inline'>
|
|
499
|
+
<p>———————————————————————————— Converts the @base_dimensions into Javascript
|
|
500
|
+
code to define the crossfilters´ dimensions.</p>
|
|
501
|
+
</div></span>
|
|
502
|
+
|
|
503
|
+
</li>
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
<li class="public ">
|
|
507
|
+
<span class="summary_signature">
|
|
508
|
+
|
|
509
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Dashboard) <strong>initialize</strong>(name, data, dimension_labels, date_columns = []) </a>
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
</span>
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
<span class="note title constructor">constructor</span>
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
<span class="summary_desc"><div class='inline'>
|
|
526
|
+
<p>————————————————————————————.</p>
|
|
527
|
+
</div></span>
|
|
528
|
+
|
|
529
|
+
</li>
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
<li class="public ">
|
|
533
|
+
<span class="summary_signature">
|
|
534
|
+
|
|
535
|
+
<a href="#plot-instance_method" title="#plot (instance method)">- (Object) <strong>plot</strong> </a>
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
</span>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
<span class="summary_desc"><div class='inline'>
|
|
550
|
+
<p>———————————————————————————— Launches the UI and passes self so that it can
|
|
551
|
+
add elements to it.</p>
|
|
552
|
+
</div></span>
|
|
553
|
+
|
|
554
|
+
</li>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
<li class="public ">
|
|
558
|
+
<span class="summary_signature">
|
|
559
|
+
|
|
560
|
+
<a href="#prepare_dimension-instance_method" title="#prepare_dimension (instance method)">- (Object) <strong>prepare_dimension</strong>(dim_name, dim) </a>
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
</span>
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
<span class="summary_desc"><div class='inline'>
|
|
575
|
+
<p>———————————————————————————— ————————————————————————————.</p>
|
|
576
|
+
</div></span>
|
|
577
|
+
|
|
578
|
+
</li>
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
<li class="public ">
|
|
582
|
+
<span class="summary_signature">
|
|
583
|
+
|
|
584
|
+
<a href="#props-instance_method" title="#props (instance method)">- (Object) <strong>props</strong> </a>
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
</span>
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
<span class="summary_desc"><div class='inline'>
|
|
599
|
+
<p>———————————————————————————— Prepare dashboard data and properties
|
|
600
|
+
————————————————————————————.</p>
|
|
601
|
+
</div></span>
|
|
602
|
+
|
|
603
|
+
</li>
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
<li class="public ">
|
|
607
|
+
<span class="summary_signature">
|
|
608
|
+
|
|
609
|
+
<a href="#re_run-instance_method" title="#re_run (instance method)">- (Object) <strong>re_run</strong> </a>
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
</span>
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
<span class="summary_desc"><div class='inline'>
|
|
624
|
+
<p>———————————————————————————— When we re_run a script, there is no need to
|
|
625
|
+
add the dashboard properties again ————————————————————————————.</p>
|
|
626
|
+
</div></span>
|
|
627
|
+
|
|
628
|
+
</li>
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
<li class="public ">
|
|
632
|
+
<span class="summary_signature">
|
|
633
|
+
|
|
634
|
+
<a href="#run-instance_method" title="#run (instance method)">- (Object) <strong>run</strong> </a>
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
</span>
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
<span class="summary_desc"><div class='inline'>
|
|
649
|
+
<p>————————————————————————————.</p>
|
|
650
|
+
</div></span>
|
|
651
|
+
|
|
652
|
+
</li>
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
<li class="public ">
|
|
656
|
+
<span class="summary_signature">
|
|
657
|
+
|
|
658
|
+
<a href="#set_demo_script-instance_method" title="#set_demo_script (instance method)">- (Object) <strong>set_demo_script</strong>(scrpt) </a>
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
</span>
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
<span class="summary_desc"><div class='inline'>
|
|
673
|
+
<p>————————————————————————————.</p>
|
|
674
|
+
</div></span>
|
|
675
|
+
|
|
676
|
+
</li>
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
<li class="public ">
|
|
680
|
+
<span class="summary_signature">
|
|
681
|
+
|
|
682
|
+
<a href="#time_format-instance_method" title="#time_format (instance method)">- (Object) <strong>time_format</strong>(val = nil) </a>
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
</span>
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
<span class="summary_desc"><div class='inline'>
|
|
697
|
+
<p>———————————————————————————— Property that defines how to format date
|
|
698
|
+
information.</p>
|
|
699
|
+
</div></span>
|
|
700
|
+
|
|
701
|
+
</li>
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
<li class="public ">
|
|
705
|
+
<span class="summary_signature">
|
|
706
|
+
|
|
707
|
+
<a href="#title%3D-instance_method" title="#title= (instance method)">- (Object) <strong>title=</strong>(title) </a>
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
</span>
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
<span class="summary_desc"><div class='inline'>
|
|
722
|
+
<p>————————————————————————————.</p>
|
|
723
|
+
</div></span>
|
|
724
|
+
|
|
725
|
+
</li>
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
</ul>
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="JS.html" title="Sol::JS (class)">JS</a></span></h3>
|
|
741
|
+
<p class="inherited"><span class='object_link'><a href="JS.html#delete_all-instance_method" title="Sol::JS#delete_all (method)">#delete_all</a></span>, <span class='object_link'><a href="JS.html#eval-instance_method" title="Sol::JS#eval (method)">#eval</a></span></p>
|
|
742
|
+
<div id="constructor_details" class="method_details_list">
|
|
743
|
+
<h2>Constructor Details</h2>
|
|
744
|
+
|
|
745
|
+
<div class="method_details first">
|
|
746
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
747
|
+
|
|
748
|
+
- (<tt><span class='object_link'><a href="" title="Sol::Dashboard (class)">Dashboard</a></span></tt>) <strong>initialize</strong>(name, data, dimension_labels, date_columns = [])
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
</h3><div class="docstring">
|
|
755
|
+
<div class="discussion">
|
|
756
|
+
<hr>
|
|
757
|
+
<hr>
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
</div>
|
|
761
|
+
</div>
|
|
762
|
+
<div class="tags">
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
</div><table class="source_code">
|
|
766
|
+
<tr>
|
|
767
|
+
<td>
|
|
768
|
+
<pre class="lines">
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
56
|
|
772
|
+
57
|
|
773
|
+
58
|
|
774
|
+
59
|
|
775
|
+
60
|
|
776
|
+
61
|
|
777
|
+
62
|
|
778
|
+
63
|
|
779
|
+
64
|
|
780
|
+
65
|
|
781
|
+
66
|
|
782
|
+
67
|
|
783
|
+
68
|
|
784
|
+
69
|
|
785
|
+
70
|
|
786
|
+
71
|
|
787
|
+
72
|
|
788
|
+
73
|
|
789
|
+
74
|
|
790
|
+
75
|
|
791
|
+
76
|
|
792
|
+
77</pre>
|
|
793
|
+
</td>
|
|
794
|
+
<td>
|
|
795
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 56</span>
|
|
796
|
+
|
|
797
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_dimension_labels'>dimension_labels</span><span class='comma'>,</span> <span class='id identifier rubyid_date_columns'>date_columns</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
|
798
|
+
|
|
799
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
|
|
800
|
+
<span class='ivar'>@data</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span>
|
|
801
|
+
<span class='ivar'>@dimension_labels</span> <span class='op'>=</span> <span class='id identifier rubyid_dimension_labels'>dimension_labels</span>
|
|
802
|
+
<span class='ivar'>@date_columns</span> <span class='op'>=</span> <span class='id identifier rubyid_date_columns'>date_columns</span>
|
|
803
|
+
|
|
804
|
+
<span class='comment'># Access the bridge to communicate with DCFX. Bridge is a singleton class
|
|
805
|
+
</span> <span class='ivar'>@bridge</span> <span class='op'>=</span> <span class='const'>Bridge</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span>
|
|
806
|
+
|
|
807
|
+
<span class='comment'># prepare a bootstrap scene specification for this dashboard
|
|
808
|
+
</span> <span class='ivar'>@scene</span> <span class='op'>=</span> <span class='const'>Bootstrap</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
809
|
+
|
|
810
|
+
<span class='ivar'>@charts</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
811
|
+
<span class='ivar'>@properties</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
812
|
+
<span class='ivar'>@base_dimensions</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
813
|
+
<span class='ivar'>@runned</span> <span class='op'>=</span> <span class='kw'>false</span> <span class='comment'># dashboard has never executed
|
|
814
|
+
</span>
|
|
815
|
+
<span class='comment'># adds the dashboard data to the Browser
|
|
816
|
+
</span> <span class='id identifier rubyid_add_data'>add_data</span>
|
|
817
|
+
|
|
818
|
+
<span class='kw'>end</span></pre>
|
|
819
|
+
</td>
|
|
820
|
+
</tr>
|
|
821
|
+
</table>
|
|
822
|
+
</div>
|
|
823
|
+
|
|
824
|
+
</div>
|
|
825
|
+
|
|
826
|
+
<div id="instance_attr_details" class="attr_details">
|
|
827
|
+
<h2>Instance Attribute Details</h2>
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
<span id=""></span>
|
|
831
|
+
<div class="method_details first">
|
|
832
|
+
<h3 class="signature first" id="base_dimensions-instance_method">
|
|
833
|
+
|
|
834
|
+
- (<tt>Object</tt>) <strong>base_dimensions</strong> <span class="extras">(readonly)</span>
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
</h3><div class="docstring">
|
|
841
|
+
<div class="discussion">
|
|
842
|
+
|
|
843
|
+
<p>dimensions used by crossfilter</p>
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
</div>
|
|
847
|
+
</div>
|
|
848
|
+
<div class="tags">
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
</div><table class="source_code">
|
|
852
|
+
<tr>
|
|
853
|
+
<td>
|
|
854
|
+
<pre class="lines">
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
50
|
|
858
|
+
51
|
|
859
|
+
52</pre>
|
|
860
|
+
</td>
|
|
861
|
+
<td>
|
|
862
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 50</span>
|
|
863
|
+
|
|
864
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_base_dimensions'>base_dimensions</span>
|
|
865
|
+
<span class='ivar'>@base_dimensions</span>
|
|
866
|
+
<span class='kw'>end</span></pre>
|
|
867
|
+
</td>
|
|
868
|
+
</tr>
|
|
869
|
+
</table>
|
|
870
|
+
</div>
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
<span id=""></span>
|
|
874
|
+
<div class="method_details ">
|
|
875
|
+
<h3 class="signature " id="charts-instance_method">
|
|
876
|
+
|
|
877
|
+
- (<tt>Object</tt>) <strong>charts</strong> <span class="extras">(readonly)</span>
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
</h3><div class="docstring">
|
|
884
|
+
<div class="discussion">
|
|
885
|
+
|
|
886
|
+
<p>All the charts to be added to the dashboard</p>
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
</div>
|
|
890
|
+
</div>
|
|
891
|
+
<div class="tags">
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
</div><table class="source_code">
|
|
895
|
+
<tr>
|
|
896
|
+
<td>
|
|
897
|
+
<pre class="lines">
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
46
|
|
901
|
+
47
|
|
902
|
+
48</pre>
|
|
903
|
+
</td>
|
|
904
|
+
<td>
|
|
905
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 46</span>
|
|
906
|
+
|
|
907
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_charts'>charts</span>
|
|
908
|
+
<span class='ivar'>@charts</span>
|
|
909
|
+
<span class='kw'>end</span></pre>
|
|
910
|
+
</td>
|
|
911
|
+
</tr>
|
|
912
|
+
</table>
|
|
913
|
+
</div>
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
<span id=""></span>
|
|
917
|
+
<div class="method_details ">
|
|
918
|
+
<h3 class="signature " id="data-instance_method">
|
|
919
|
+
|
|
920
|
+
- (<tt>Object</tt>) <strong>data</strong> <span class="extras">(readonly)</span>
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
</h3><div class="docstring">
|
|
927
|
+
<div class="discussion">
|
|
928
|
+
|
|
929
|
+
<p>Returns the value of attribute data</p>
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
</div>
|
|
933
|
+
</div>
|
|
934
|
+
<div class="tags">
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
</div><table class="source_code">
|
|
938
|
+
<tr>
|
|
939
|
+
<td>
|
|
940
|
+
<pre class="lines">
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
37
|
|
944
|
+
38
|
|
945
|
+
39</pre>
|
|
946
|
+
</td>
|
|
947
|
+
<td>
|
|
948
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 37</span>
|
|
949
|
+
|
|
950
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_data'>data</span>
|
|
951
|
+
<span class='ivar'>@data</span>
|
|
952
|
+
<span class='kw'>end</span></pre>
|
|
953
|
+
</td>
|
|
954
|
+
</tr>
|
|
955
|
+
</table>
|
|
956
|
+
</div>
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
<span id=""></span>
|
|
960
|
+
<div class="method_details ">
|
|
961
|
+
<h3 class="signature " id="date_columns-instance_method">
|
|
962
|
+
|
|
963
|
+
- (<tt>Object</tt>) <strong>date_columns</strong> <span class="extras">(readonly)</span>
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
</h3><div class="docstring">
|
|
970
|
+
<div class="discussion">
|
|
971
|
+
|
|
972
|
+
<p>columns that have date information</p>
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
</div>
|
|
976
|
+
</div>
|
|
977
|
+
<div class="tags">
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
</div><table class="source_code">
|
|
981
|
+
<tr>
|
|
982
|
+
<td>
|
|
983
|
+
<pre class="lines">
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
39
|
|
987
|
+
40
|
|
988
|
+
41</pre>
|
|
989
|
+
</td>
|
|
990
|
+
<td>
|
|
991
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 39</span>
|
|
992
|
+
|
|
993
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_date_columns'>date_columns</span>
|
|
994
|
+
<span class='ivar'>@date_columns</span>
|
|
995
|
+
<span class='kw'>end</span></pre>
|
|
996
|
+
</td>
|
|
997
|
+
</tr>
|
|
998
|
+
</table>
|
|
999
|
+
</div>
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
<span id=""></span>
|
|
1003
|
+
<div class="method_details ">
|
|
1004
|
+
<h3 class="signature " id="dimension_labels-instance_method">
|
|
1005
|
+
|
|
1006
|
+
- (<tt>Object</tt>) <strong>dimension_labels</strong> <span class="extras">(readonly)</span>
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
</h3><div class="docstring">
|
|
1013
|
+
<div class="discussion">
|
|
1014
|
+
|
|
1015
|
+
<p>Returns the value of attribute dimension_labels</p>
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
</div>
|
|
1019
|
+
</div>
|
|
1020
|
+
<div class="tags">
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
</div><table class="source_code">
|
|
1024
|
+
<tr>
|
|
1025
|
+
<td>
|
|
1026
|
+
<pre class="lines">
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
38
|
|
1030
|
+
39
|
|
1031
|
+
40</pre>
|
|
1032
|
+
</td>
|
|
1033
|
+
<td>
|
|
1034
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 38</span>
|
|
1035
|
+
|
|
1036
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_dimension_labels'>dimension_labels</span>
|
|
1037
|
+
<span class='ivar'>@dimension_labels</span>
|
|
1038
|
+
<span class='kw'>end</span></pre>
|
|
1039
|
+
</td>
|
|
1040
|
+
</tr>
|
|
1041
|
+
</table>
|
|
1042
|
+
</div>
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
<span id=""></span>
|
|
1046
|
+
<div class="method_details ">
|
|
1047
|
+
<h3 class="signature " id="name-instance_method">
|
|
1048
|
+
|
|
1049
|
+
- (<tt>Object</tt>) <strong>name</strong> <span class="extras">(readonly)</span>
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
</h3><div class="docstring">
|
|
1056
|
+
<div class="discussion">
|
|
1057
|
+
|
|
1058
|
+
<p>Returns the value of attribute name</p>
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
</div>
|
|
1062
|
+
</div>
|
|
1063
|
+
<div class="tags">
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
</div><table class="source_code">
|
|
1067
|
+
<tr>
|
|
1068
|
+
<td>
|
|
1069
|
+
<pre class="lines">
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
36
|
|
1073
|
+
37
|
|
1074
|
+
38</pre>
|
|
1075
|
+
</td>
|
|
1076
|
+
<td>
|
|
1077
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 36</span>
|
|
1078
|
+
|
|
1079
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
|
1080
|
+
<span class='ivar'>@name</span>
|
|
1081
|
+
<span class='kw'>end</span></pre>
|
|
1082
|
+
</td>
|
|
1083
|
+
</tr>
|
|
1084
|
+
</table>
|
|
1085
|
+
</div>
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
<span id=""></span>
|
|
1089
|
+
<div class="method_details ">
|
|
1090
|
+
<h3 class="signature " id="properties-instance_method">
|
|
1091
|
+
|
|
1092
|
+
- (<tt>Object</tt>) <strong>properties</strong> <span class="extras">(readonly)</span>
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
</h3><div class="docstring">
|
|
1099
|
+
<div class="discussion">
|
|
1100
|
+
|
|
1101
|
+
<p>list of properties to be added to the dashboard. These are Javascript
|
|
1102
|
+
sentences that will be added at the right time to the embedded browser.
|
|
1103
|
+
Dashboard properties should be added before charts are added.</p>
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
</div>
|
|
1107
|
+
</div>
|
|
1108
|
+
<div class="tags">
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
</div><table class="source_code">
|
|
1112
|
+
<tr>
|
|
1113
|
+
<td>
|
|
1114
|
+
<pre class="lines">
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
44
|
|
1118
|
+
45
|
|
1119
|
+
46</pre>
|
|
1120
|
+
</td>
|
|
1121
|
+
<td>
|
|
1122
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 44</span>
|
|
1123
|
+
|
|
1124
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_properties'>properties</span>
|
|
1125
|
+
<span class='ivar'>@properties</span>
|
|
1126
|
+
<span class='kw'>end</span></pre>
|
|
1127
|
+
</td>
|
|
1128
|
+
</tr>
|
|
1129
|
+
</table>
|
|
1130
|
+
</div>
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
<span id=""></span>
|
|
1134
|
+
<div class="method_details ">
|
|
1135
|
+
<h3 class="signature " id="scene-instance_method">
|
|
1136
|
+
|
|
1137
|
+
- (<tt>Object</tt>) <strong>scene</strong> <span class="extras">(readonly)</span>
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
</h3><div class="docstring">
|
|
1144
|
+
<div class="discussion">
|
|
1145
|
+
|
|
1146
|
+
<p>Returns the value of attribute scene</p>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
</div>
|
|
1150
|
+
</div>
|
|
1151
|
+
<div class="tags">
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
</div><table class="source_code">
|
|
1155
|
+
<tr>
|
|
1156
|
+
<td>
|
|
1157
|
+
<pre class="lines">
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
47
|
|
1161
|
+
48
|
|
1162
|
+
49</pre>
|
|
1163
|
+
</td>
|
|
1164
|
+
<td>
|
|
1165
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 47</span>
|
|
1166
|
+
|
|
1167
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_scene'>scene</span>
|
|
1168
|
+
<span class='ivar'>@scene</span>
|
|
1169
|
+
<span class='kw'>end</span></pre>
|
|
1170
|
+
</td>
|
|
1171
|
+
</tr>
|
|
1172
|
+
</table>
|
|
1173
|
+
</div>
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
<span id=""></span>
|
|
1177
|
+
<div class="method_details ">
|
|
1178
|
+
<h3 class="signature " id="script-instance_method">
|
|
1179
|
+
|
|
1180
|
+
- (<tt>Object</tt>) <strong>script</strong> <span class="extras">(readonly)</span>
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
</h3><div class="docstring">
|
|
1187
|
+
<div class="discussion">
|
|
1188
|
+
|
|
1189
|
+
<p>automatically generated javascript script for this dashboard</p>
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
</div>
|
|
1193
|
+
</div>
|
|
1194
|
+
<div class="tags">
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
</div><table class="source_code">
|
|
1198
|
+
<tr>
|
|
1199
|
+
<td>
|
|
1200
|
+
<pre class="lines">
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
48
|
|
1204
|
+
49
|
|
1205
|
+
50</pre>
|
|
1206
|
+
</td>
|
|
1207
|
+
<td>
|
|
1208
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 48</span>
|
|
1209
|
+
|
|
1210
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_script'>script</span>
|
|
1211
|
+
<span class='ivar'>@script</span>
|
|
1212
|
+
<span class='kw'>end</span></pre>
|
|
1213
|
+
</td>
|
|
1214
|
+
</tr>
|
|
1215
|
+
</table>
|
|
1216
|
+
</div>
|
|
1217
|
+
|
|
1218
|
+
</div>
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
<div id="instance_method_details" class="method_details_list">
|
|
1222
|
+
<h2>Instance Method Details</h2>
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
<div class="method_details first">
|
|
1226
|
+
<h3 class="signature first" id="chart-instance_method">
|
|
1227
|
+
|
|
1228
|
+
- (<tt>Object</tt>) <strong>chart</strong>(type, x_column, y_column, name)
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
</h3><div class="docstring">
|
|
1235
|
+
<div class="discussion">
|
|
1236
|
+
<hr>
|
|
1237
|
+
|
|
1238
|
+
<p>Create a new chart of the given type and name, usign x_column for the
|
|
1239
|
+
x_axis and y_column for the Y axis. Set the default values for the chart.
|
|
1240
|
+
Those values can be changed by the user later.</p>
|
|
1241
|
+
<hr>
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
</div>
|
|
1245
|
+
</div>
|
|
1246
|
+
<div class="tags">
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
</div><table class="source_code">
|
|
1250
|
+
<tr>
|
|
1251
|
+
<td>
|
|
1252
|
+
<pre class="lines">
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
121
|
|
1256
|
+
122
|
|
1257
|
+
123
|
|
1258
|
+
124
|
|
1259
|
+
125
|
|
1260
|
+
126
|
|
1261
|
+
127
|
|
1262
|
+
128
|
|
1263
|
+
129
|
|
1264
|
+
130
|
|
1265
|
+
131
|
|
1266
|
+
132
|
|
1267
|
+
133
|
|
1268
|
+
134
|
|
1269
|
+
135
|
|
1270
|
+
136</pre>
|
|
1271
|
+
</td>
|
|
1272
|
+
<td>
|
|
1273
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 121</span>
|
|
1274
|
+
|
|
1275
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_chart'>chart</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_y_column'>y_column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1276
|
+
|
|
1277
|
+
<span class='id identifier rubyid_prepare_dimension'>prepare_dimension</span><span class='lparen'>(</span><span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='ivar'>@base_dimensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_x_column'>x_column</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Dimension</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
1278
|
+
|
|
1279
|
+
<span class='id identifier rubyid_chart'>chart</span> <span class='op'>=</span> <span class='const'>Sol</span><span class='op'>::</span><span class='const'>Chart</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_y_column'>y_column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1280
|
+
|
|
1281
|
+
<span class='comment'># Set chart defaults. Should preferably be read from a config file
|
|
1282
|
+
</span> <span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_elastic_y'>elastic_y</span><span class='lparen'>(</span><span class='kw'>true</span><span class='rparen'>)</span>
|
|
1283
|
+
<span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_x_axis_label'>x_axis_label</span><span class='lparen'>(</span><span class='id identifier rubyid_x_column'>x_column</span><span class='rparen'>)</span>
|
|
1284
|
+
<span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_y_axis_label'>y_axis_label</span><span class='lparen'>(</span><span class='id identifier rubyid_y_column'>y_column</span><span class='rparen'>)</span>
|
|
1285
|
+
<span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_group'>group</span><span class='lparen'>(</span><span class='symbol'>:reduce_sum</span><span class='rparen'>)</span>
|
|
1286
|
+
|
|
1287
|
+
<span class='ivar'>@charts</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_chart'>chart</span>
|
|
1288
|
+
<span class='id identifier rubyid_chart'>chart</span>
|
|
1289
|
+
|
|
1290
|
+
<span class='kw'>end</span></pre>
|
|
1291
|
+
</td>
|
|
1292
|
+
</tr>
|
|
1293
|
+
</table>
|
|
1294
|
+
</div>
|
|
1295
|
+
|
|
1296
|
+
<div class="method_details ">
|
|
1297
|
+
<h3 class="signature " id="clean-instance_method">
|
|
1298
|
+
|
|
1299
|
+
- (<tt>Object</tt>) <strong>clean</strong>
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
</h3><div class="docstring">
|
|
1306
|
+
<div class="discussion">
|
|
1307
|
+
<hr>
|
|
1308
|
+
|
|
1309
|
+
<p>Cleans the scene and the charts, preparing for new visualization.</p>
|
|
1310
|
+
<hr>
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
</div>
|
|
1314
|
+
</div>
|
|
1315
|
+
<div class="tags">
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
</div><table class="source_code">
|
|
1319
|
+
<tr>
|
|
1320
|
+
<td>
|
|
1321
|
+
<pre class="lines">
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
251
|
|
1325
|
+
252
|
|
1326
|
+
253
|
|
1327
|
+
254</pre>
|
|
1328
|
+
</td>
|
|
1329
|
+
<td>
|
|
1330
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 251</span>
|
|
1331
|
+
|
|
1332
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_clean'>clean</span>
|
|
1333
|
+
<span class='ivar'>@scene</span> <span class='op'>=</span> <span class='const'>Bootstrap</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1334
|
+
<span class='ivar'>@charts</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1335
|
+
<span class='kw'>end</span></pre>
|
|
1336
|
+
</td>
|
|
1337
|
+
</tr>
|
|
1338
|
+
</table>
|
|
1339
|
+
</div>
|
|
1340
|
+
|
|
1341
|
+
<div class="method_details ">
|
|
1342
|
+
<h3 class="signature " id="dimension?-instance_method">
|
|
1343
|
+
|
|
1344
|
+
- (<tt>Boolean</tt>) <strong>dimension?</strong>(dim_name)
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
</h3><div class="docstring">
|
|
1351
|
+
<div class="discussion">
|
|
1352
|
+
<hr>
|
|
1353
|
+
<hr>
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
</div>
|
|
1357
|
+
</div>
|
|
1358
|
+
<div class="tags">
|
|
1359
|
+
|
|
1360
|
+
<p class="tag_title">Returns:</p>
|
|
1361
|
+
<ul class="return">
|
|
1362
|
+
|
|
1363
|
+
<li>
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
</li>
|
|
1371
|
+
|
|
1372
|
+
</ul>
|
|
1373
|
+
|
|
1374
|
+
</div><table class="source_code">
|
|
1375
|
+
<tr>
|
|
1376
|
+
<td>
|
|
1377
|
+
<pre class="lines">
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
103
|
|
1381
|
+
104
|
|
1382
|
+
105</pre>
|
|
1383
|
+
</td>
|
|
1384
|
+
<td>
|
|
1385
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 103</span>
|
|
1386
|
+
|
|
1387
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_dimension?'>dimension?</span><span class='lparen'>(</span><span class='id identifier rubyid_dim_name'>dim_name</span><span class='rparen'>)</span>
|
|
1388
|
+
<span class='op'>!</span><span class='ivar'>@base_dimension</span><span class='lbracket'>[</span><span class='const'>Sol</span><span class='period'>.</span><span class='id identifier rubyid_camelcase'>camelcase</span><span class='lparen'>(</span><span class='id identifier rubyid_dim_name'>dim_name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
1389
|
+
<span class='kw'>end</span></pre>
|
|
1390
|
+
</td>
|
|
1391
|
+
</tr>
|
|
1392
|
+
</table>
|
|
1393
|
+
</div>
|
|
1394
|
+
|
|
1395
|
+
<div class="method_details ">
|
|
1396
|
+
<h3 class="signature " id="dimensions_spec-instance_method">
|
|
1397
|
+
|
|
1398
|
+
- (<tt>Object</tt>) <strong>dimensions_spec</strong>
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
</h3><div class="docstring">
|
|
1405
|
+
<div class="discussion">
|
|
1406
|
+
<hr>
|
|
1407
|
+
|
|
1408
|
+
<p>Converts the @base_dimensions into Javascript code to define the
|
|
1409
|
+
crossfilters´ dimensions.</p>
|
|
1410
|
+
<hr>
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
</div>
|
|
1414
|
+
</div>
|
|
1415
|
+
<div class="tags">
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
</div><table class="source_code">
|
|
1419
|
+
<tr>
|
|
1420
|
+
<td>
|
|
1421
|
+
<pre class="lines">
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
143
|
|
1425
|
+
144
|
|
1426
|
+
145
|
|
1427
|
+
146
|
|
1428
|
+
147
|
|
1429
|
+
148
|
|
1430
|
+
149
|
|
1431
|
+
150
|
|
1432
|
+
151
|
|
1433
|
+
152
|
|
1434
|
+
153</pre>
|
|
1435
|
+
</td>
|
|
1436
|
+
<td>
|
|
1437
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 143</span>
|
|
1438
|
+
|
|
1439
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_dimensions_spec'>dimensions_spec</span>
|
|
1440
|
+
|
|
1441
|
+
<span class='id identifier rubyid_facts'>facts</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='embexpr_end'>}</span><span class='tstring_content'>_facts</span><span class='tstring_end'>"</span></span>
|
|
1442
|
+
|
|
1443
|
+
<span class='id identifier rubyid_dim_spec'>dim_spec</span> <span class='op'>=</span> <span class='const'>String</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1444
|
+
<span class='ivar'>@base_dimensions</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
|
1445
|
+
<span class='id identifier rubyid_dim_spec'>dim_spec</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>var </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='embexpr_end'>}</span><span class='tstring_content'> = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_facts'>facts</span><span class='embexpr_end'>}</span><span class='tstring_content'>.dimension(function(d) {return d[\"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"];});</span><span class='tstring_end'>"</span></span>
|
|
1446
|
+
<span class='kw'>end</span>
|
|
1447
|
+
<span class='id identifier rubyid_dim_spec'>dim_spec</span>
|
|
1448
|
+
|
|
1449
|
+
<span class='kw'>end</span></pre>
|
|
1450
|
+
</td>
|
|
1451
|
+
</tr>
|
|
1452
|
+
</table>
|
|
1453
|
+
</div>
|
|
1454
|
+
|
|
1455
|
+
<div class="method_details ">
|
|
1456
|
+
<h3 class="signature " id="plot-instance_method">
|
|
1457
|
+
|
|
1458
|
+
- (<tt>Object</tt>) <strong>plot</strong>
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
</h3><div class="docstring">
|
|
1465
|
+
<div class="discussion">
|
|
1466
|
+
<hr>
|
|
1467
|
+
|
|
1468
|
+
<p>Launches the UI and passes self so that it can add elements to it.</p>
|
|
1469
|
+
<hr>
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
</div>
|
|
1473
|
+
</div>
|
|
1474
|
+
<div class="tags">
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
</div><table class="source_code">
|
|
1478
|
+
<tr>
|
|
1479
|
+
<td>
|
|
1480
|
+
<pre class="lines">
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
260
|
|
1484
|
+
261
|
|
1485
|
+
262
|
|
1486
|
+
263
|
|
1487
|
+
264
|
|
1488
|
+
265
|
|
1489
|
+
266
|
|
1490
|
+
267
|
|
1491
|
+
268
|
|
1492
|
+
269
|
|
1493
|
+
270
|
|
1494
|
+
271
|
|
1495
|
+
272
|
|
1496
|
+
273
|
|
1497
|
+
274</pre>
|
|
1498
|
+
</td>
|
|
1499
|
+
<td>
|
|
1500
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 260</span>
|
|
1501
|
+
|
|
1502
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_plot'>plot</span>
|
|
1503
|
+
|
|
1504
|
+
<span class='comment'># Remove all elements from the dashboard. This could be changed in future releases
|
|
1505
|
+
</span> <span class='comment'># of the library.
|
|
1506
|
+
</span> <span class='id identifier rubyid_delete_all'>delete_all</span>
|
|
1507
|
+
|
|
1508
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='op'>!</span><span class='ivar'>@runned</span> <span class='rparen'>)</span>
|
|
1509
|
+
<span class='id identifier rubyid_run'>run</span>
|
|
1510
|
+
<span class='id identifier rubyid_clean'>clean</span>
|
|
1511
|
+
<span class='id identifier rubyid_runned'>runned</span> <span class='op'>=</span> <span class='kw'>true</span>
|
|
1512
|
+
<span class='kw'>else</span>
|
|
1513
|
+
<span class='id identifier rubyid_re_run'>re_run</span>
|
|
1514
|
+
<span class='kw'>end</span>
|
|
1515
|
+
|
|
1516
|
+
<span class='kw'>end</span></pre>
|
|
1517
|
+
</td>
|
|
1518
|
+
</tr>
|
|
1519
|
+
</table>
|
|
1520
|
+
</div>
|
|
1521
|
+
|
|
1522
|
+
<div class="method_details ">
|
|
1523
|
+
<h3 class="signature " id="prepare_dimension-instance_method">
|
|
1524
|
+
|
|
1525
|
+
- (<tt>Object</tt>) <strong>prepare_dimension</strong>(dim_name, dim)
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
|
|
1531
|
+
</h3><div class="docstring">
|
|
1532
|
+
<div class="discussion">
|
|
1533
|
+
<hr>
|
|
1534
|
+
<hr>
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
</div>
|
|
1538
|
+
</div>
|
|
1539
|
+
<div class="tags">
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
</div><table class="source_code">
|
|
1543
|
+
<tr>
|
|
1544
|
+
<td>
|
|
1545
|
+
<pre class="lines">
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
94
|
|
1549
|
+
95
|
|
1550
|
+
96
|
|
1551
|
+
97</pre>
|
|
1552
|
+
</td>
|
|
1553
|
+
<td>
|
|
1554
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 94</span>
|
|
1555
|
+
|
|
1556
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_prepare_dimension'>prepare_dimension</span><span class='lparen'>(</span><span class='id identifier rubyid_dim_name'>dim_name</span><span class='comma'>,</span> <span class='id identifier rubyid_dim'>dim</span><span class='rparen'>)</span>
|
|
1557
|
+
<span class='ivar'>@base_dimensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_dim_name'>dim_name</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Dimension</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_dim'>dim</span>
|
|
1558
|
+
<span class='kw'>return</span> <span class='kw'>self</span>
|
|
1559
|
+
<span class='kw'>end</span></pre>
|
|
1560
|
+
</td>
|
|
1561
|
+
</tr>
|
|
1562
|
+
</table>
|
|
1563
|
+
</div>
|
|
1564
|
+
|
|
1565
|
+
<div class="method_details ">
|
|
1566
|
+
<h3 class="signature " id="props-instance_method">
|
|
1567
|
+
|
|
1568
|
+
- (<tt>Object</tt>) <strong>props</strong>
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
</h3><div class="docstring">
|
|
1575
|
+
<div class="discussion">
|
|
1576
|
+
<hr>
|
|
1577
|
+
|
|
1578
|
+
<p>Prepare dashboard data and properties</p>
|
|
1579
|
+
<hr>
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
</div>
|
|
1583
|
+
</div>
|
|
1584
|
+
<div class="tags">
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
</div><table class="source_code">
|
|
1588
|
+
<tr>
|
|
1589
|
+
<td>
|
|
1590
|
+
<pre class="lines">
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
159
|
|
1594
|
+
160
|
|
1595
|
+
161
|
|
1596
|
+
162
|
|
1597
|
+
163
|
|
1598
|
+
164
|
|
1599
|
+
165
|
|
1600
|
+
166
|
|
1601
|
+
167
|
|
1602
|
+
168
|
|
1603
|
+
169
|
|
1604
|
+
170
|
|
1605
|
+
171
|
|
1606
|
+
172
|
|
1607
|
+
173
|
|
1608
|
+
174
|
|
1609
|
+
175
|
|
1610
|
+
176
|
|
1611
|
+
177
|
|
1612
|
+
178
|
|
1613
|
+
179
|
|
1614
|
+
180
|
|
1615
|
+
181
|
|
1616
|
+
182
|
|
1617
|
+
183
|
|
1618
|
+
184</pre>
|
|
1619
|
+
</td>
|
|
1620
|
+
<td>
|
|
1621
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 159</span>
|
|
1622
|
+
|
|
1623
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_props'>props</span>
|
|
1624
|
+
|
|
1625
|
+
<span class='id identifier rubyid_dashboard'>dashboard</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='embexpr_end'>}</span><span class='tstring_content'>_dashboard</span><span class='tstring_end'>"</span></span>
|
|
1626
|
+
<span class='id identifier rubyid_facts'>facts</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='embexpr_end'>}</span><span class='tstring_content'>_facts</span><span class='tstring_end'>"</span></span>
|
|
1627
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='embexpr_end'>}</span><span class='tstring_content'>_data</span><span class='tstring_end'>"</span></span>
|
|
1628
|
+
|
|
1629
|
+
<span class='comment'># convert the data to JSON format
|
|
1630
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'>=</span> <span class='heredoc_beg'><<-EOS</span>
|
|
1631
|
+
<span class='tstring_content'>
|
|
1632
|
+
var </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dashboard'>dashboard</span><span class='embexpr_end'>}</span><span class='tstring_content'> = new DCDashboard();
|
|
1633
|
+
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dashboard'>dashboard</span><span class='embexpr_end'>}</span><span class='tstring_content'>.convert(</span><span class='embexpr_beg'>#{</span><span class='ivar'>@date_columns</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
|
|
1634
|
+
// Make variable data accessible to all charts
|
|
1635
|
+
var </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_data'>data</span><span class='embexpr_end'>}</span><span class='tstring_content'> = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dashboard'>dashboard</span><span class='embexpr_end'>}</span><span class='tstring_content'>.getData();
|
|
1636
|
+
//$('#help').append(JSON.stringify(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_data'>data</span><span class='embexpr_end'>}</span><span class='tstring_content'>));
|
|
1637
|
+
// add data to crossfilter and call it 'facts'.
|
|
1638
|
+
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_facts'>facts</span><span class='embexpr_end'>}</span><span class='tstring_content'> = crossfilter(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_data'>data</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
|
|
1639
|
+
|
|
1640
|
+
</span><span class='heredoc_end'> EOS
|
|
1641
|
+
</span>
|
|
1642
|
+
<span class='ivar'>@properties</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
|
1643
|
+
<span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'><<</span> <span class='id identifier rubyid_value'>value</span>
|
|
1644
|
+
<span class='kw'>end</span>
|
|
1645
|
+
|
|
1646
|
+
<span class='id identifier rubyid_scrpt'>scrpt</span>
|
|
1647
|
+
|
|
1648
|
+
<span class='kw'>end</span></pre>
|
|
1649
|
+
</td>
|
|
1650
|
+
</tr>
|
|
1651
|
+
</table>
|
|
1652
|
+
</div>
|
|
1653
|
+
|
|
1654
|
+
<div class="method_details ">
|
|
1655
|
+
<h3 class="signature " id="re_run-instance_method">
|
|
1656
|
+
|
|
1657
|
+
- (<tt>Object</tt>) <strong>re_run</strong>
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
</h3><div class="docstring">
|
|
1664
|
+
<div class="discussion">
|
|
1665
|
+
<hr>
|
|
1666
|
+
|
|
1667
|
+
<p>When we re_run a script, there is no need to add the dashboard properties
|
|
1668
|
+
again</p>
|
|
1669
|
+
<hr>
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
</div>
|
|
1673
|
+
</div>
|
|
1674
|
+
<div class="tags">
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
</div><table class="source_code">
|
|
1678
|
+
<tr>
|
|
1679
|
+
<td>
|
|
1680
|
+
<pre class="lines">
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
224
|
|
1684
|
+
225
|
|
1685
|
+
226
|
|
1686
|
+
227
|
|
1687
|
+
228
|
|
1688
|
+
229
|
|
1689
|
+
230
|
|
1690
|
+
231
|
|
1691
|
+
232
|
|
1692
|
+
233
|
|
1693
|
+
234
|
|
1694
|
+
235
|
|
1695
|
+
236
|
|
1696
|
+
237
|
|
1697
|
+
238
|
|
1698
|
+
239
|
|
1699
|
+
240
|
|
1700
|
+
241
|
|
1701
|
+
242
|
|
1702
|
+
243
|
|
1703
|
+
244
|
|
1704
|
+
245</pre>
|
|
1705
|
+
</td>
|
|
1706
|
+
<td>
|
|
1707
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 224</span>
|
|
1708
|
+
|
|
1709
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_re_run'>re_run</span>
|
|
1710
|
+
|
|
1711
|
+
<span class='comment'># scrpt will have the javascript specification
|
|
1712
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'>=</span> <span class='const'>String</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1713
|
+
|
|
1714
|
+
<span class='comment'># add bootstrap container if it wasn't specified by the user
|
|
1715
|
+
</span> <span class='ivar'>@scene</span><span class='period'>.</span><span class='id identifier rubyid_create_grid'>create_grid</span><span class='lparen'>(</span><span class='lparen'>(</span><span class='id identifier rubyid_keys'>keys</span> <span class='op'>=</span> <span class='ivar'>@charts</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='comma'>,</span> <span class='id identifier rubyid_keys'>keys</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='ivar'>@scene</span><span class='period'>.</span><span class='id identifier rubyid_specified?'>specified?</span>
|
|
1716
|
+
<span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'><<</span> <span class='ivar'>@scene</span><span class='period'>.</span><span class='id identifier rubyid_bootstrap'>bootstrap</span>
|
|
1717
|
+
|
|
1718
|
+
<span class='comment'># add charts
|
|
1719
|
+
</span> <span class='ivar'>@charts</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_chart'>chart</span><span class='op'>|</span>
|
|
1720
|
+
<span class='comment'># add the chart specification
|
|
1721
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'><<</span> <span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_js_spec'>js_spec</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
1722
|
+
<span class='kw'>end</span>
|
|
1723
|
+
|
|
1724
|
+
<span class='comment'># render all charts
|
|
1725
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>dc.renderAll();</span><span class='tstring_end'>"</span></span>
|
|
1726
|
+
|
|
1727
|
+
<span class='comment'># sends a message to the gui to execute the given script
|
|
1728
|
+
</span> <span class='ivar'>@bridge</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:gui</span><span class='comma'>,</span> <span class='symbol'>:executeScript</span><span class='comma'>,</span> <span class='id identifier rubyid_scrpt'>scrpt</span><span class='rparen'>)</span>
|
|
1729
|
+
|
|
1730
|
+
<span class='kw'>end</span></pre>
|
|
1731
|
+
</td>
|
|
1732
|
+
</tr>
|
|
1733
|
+
</table>
|
|
1734
|
+
</div>
|
|
1735
|
+
|
|
1736
|
+
<div class="method_details ">
|
|
1737
|
+
<h3 class="signature " id="run-instance_method">
|
|
1738
|
+
|
|
1739
|
+
- (<tt>Object</tt>) <strong>run</strong>
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
|
|
1745
|
+
</h3><div class="docstring">
|
|
1746
|
+
<div class="discussion">
|
|
1747
|
+
<hr>
|
|
1748
|
+
<hr>
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
</div>
|
|
1752
|
+
</div>
|
|
1753
|
+
<div class="tags">
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
</div><table class="source_code">
|
|
1757
|
+
<tr>
|
|
1758
|
+
<td>
|
|
1759
|
+
<pre class="lines">
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
190
|
|
1763
|
+
191
|
|
1764
|
+
192
|
|
1765
|
+
193
|
|
1766
|
+
194
|
|
1767
|
+
195
|
|
1768
|
+
196
|
|
1769
|
+
197
|
|
1770
|
+
198
|
|
1771
|
+
199
|
|
1772
|
+
200
|
|
1773
|
+
201
|
|
1774
|
+
202
|
|
1775
|
+
203
|
|
1776
|
+
204
|
|
1777
|
+
205
|
|
1778
|
+
206
|
|
1779
|
+
207
|
|
1780
|
+
208
|
|
1781
|
+
209
|
|
1782
|
+
210
|
|
1783
|
+
211
|
|
1784
|
+
212
|
|
1785
|
+
213
|
|
1786
|
+
214
|
|
1787
|
+
215
|
|
1788
|
+
216
|
|
1789
|
+
217</pre>
|
|
1790
|
+
</td>
|
|
1791
|
+
<td>
|
|
1792
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 190</span>
|
|
1793
|
+
|
|
1794
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
|
1795
|
+
|
|
1796
|
+
<span class='comment'># scrpt will have the javascript specification
|
|
1797
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'>=</span> <span class='const'>String</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1798
|
+
|
|
1799
|
+
<span class='comment'># add dashboard properties
|
|
1800
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'><<</span> <span class='id identifier rubyid_props'>props</span>
|
|
1801
|
+
|
|
1802
|
+
<span class='comment'># add bootstrap container if it wasn't specified by the user.
|
|
1803
|
+
</span> <span class='ivar'>@scene</span><span class='period'>.</span><span class='id identifier rubyid_create_grid'>create_grid</span><span class='lparen'>(</span><span class='lparen'>(</span><span class='id identifier rubyid_keys'>keys</span> <span class='op'>=</span> <span class='ivar'>@charts</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='comma'>,</span> <span class='id identifier rubyid_keys'>keys</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='ivar'>@scene</span><span class='period'>.</span><span class='id identifier rubyid_specified?'>specified?</span>
|
|
1804
|
+
<span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'><<</span> <span class='ivar'>@scene</span><span class='period'>.</span><span class='id identifier rubyid_bootstrap'>bootstrap</span>
|
|
1805
|
+
|
|
1806
|
+
<span class='comment'># add dimensions (the x dimension)
|
|
1807
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'><<</span> <span class='id identifier rubyid_dimensions_spec'>dimensions_spec</span>
|
|
1808
|
+
|
|
1809
|
+
<span class='comment'># add charts
|
|
1810
|
+
</span> <span class='ivar'>@charts</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_chart'>chart</span><span class='op'>|</span>
|
|
1811
|
+
<span class='comment'># add the chart specification
|
|
1812
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'><<</span> <span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_js_spec'>js_spec</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_chart'>chart</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
1813
|
+
<span class='kw'>end</span>
|
|
1814
|
+
|
|
1815
|
+
<span class='comment'># render all charts
|
|
1816
|
+
</span> <span class='id identifier rubyid_scrpt'>scrpt</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>dc.renderAll();</span><span class='tstring_end'>"</span></span>
|
|
1817
|
+
|
|
1818
|
+
<span class='comment'># sends a message to the gui to execute the given script
|
|
1819
|
+
</span> <span class='ivar'>@bridge</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:gui</span><span class='comma'>,</span> <span class='symbol'>:executeScript</span><span class='comma'>,</span> <span class='id identifier rubyid_scrpt'>scrpt</span><span class='rparen'>)</span>
|
|
1820
|
+
|
|
1821
|
+
<span class='kw'>end</span></pre>
|
|
1822
|
+
</td>
|
|
1823
|
+
</tr>
|
|
1824
|
+
</table>
|
|
1825
|
+
</div>
|
|
1826
|
+
|
|
1827
|
+
<div class="method_details ">
|
|
1828
|
+
<h3 class="signature " id="set_demo_script-instance_method">
|
|
1829
|
+
|
|
1830
|
+
- (<tt>Object</tt>) <strong>set_demo_script</strong>(scrpt)
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
</h3><div class="docstring">
|
|
1837
|
+
<div class="discussion">
|
|
1838
|
+
<hr>
|
|
1839
|
+
<hr>
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
</div>
|
|
1843
|
+
</div>
|
|
1844
|
+
<div class="tags">
|
|
1845
|
+
|
|
1846
|
+
|
|
1847
|
+
</div><table class="source_code">
|
|
1848
|
+
<tr>
|
|
1849
|
+
<td>
|
|
1850
|
+
<pre class="lines">
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
280
|
|
1854
|
+
281
|
|
1855
|
+
282</pre>
|
|
1856
|
+
</td>
|
|
1857
|
+
<td>
|
|
1858
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 280</span>
|
|
1859
|
+
|
|
1860
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_set_demo_script'>set_demo_script</span><span class='lparen'>(</span><span class='id identifier rubyid_scrpt'>scrpt</span><span class='rparen'>)</span>
|
|
1861
|
+
<span class='ivar'>@demo_script</span> <span class='op'>=</span> <span class='id identifier rubyid_scrpt'>scrpt</span>
|
|
1862
|
+
<span class='kw'>end</span></pre>
|
|
1863
|
+
</td>
|
|
1864
|
+
</tr>
|
|
1865
|
+
</table>
|
|
1866
|
+
</div>
|
|
1867
|
+
|
|
1868
|
+
<div class="method_details ">
|
|
1869
|
+
<h3 class="signature " id="time_format-instance_method">
|
|
1870
|
+
|
|
1871
|
+
- (<tt>Object</tt>) <strong>time_format</strong>(val = nil)
|
|
1872
|
+
|
|
1873
|
+
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
</h3><div class="docstring">
|
|
1878
|
+
<div class="discussion">
|
|
1879
|
+
<hr>
|
|
1880
|
+
|
|
1881
|
+
<p>Property that defines how to format date information. Uses d3 time format.</p>
|
|
1882
|
+
<hr>
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
</div>
|
|
1886
|
+
</div>
|
|
1887
|
+
<div class="tags">
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
</div><table class="source_code">
|
|
1891
|
+
<tr>
|
|
1892
|
+
<td>
|
|
1893
|
+
<pre class="lines">
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
83
|
|
1897
|
+
84
|
|
1898
|
+
85
|
|
1899
|
+
86
|
|
1900
|
+
87</pre>
|
|
1901
|
+
</td>
|
|
1902
|
+
<td>
|
|
1903
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 83</span>
|
|
1904
|
+
|
|
1905
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_time_format'>time_format</span><span class='lparen'>(</span><span class='id identifier rubyid_val'>val</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
1906
|
+
<span class='kw'>return</span> <span class='ivar'>@properties</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>timeFormat</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_val'>val</span>
|
|
1907
|
+
<span class='ivar'>@properties</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>timeFormat</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>var timeFormat = d3.time.format(\"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_val'>val</span><span class='embexpr_end'>}</span><span class='tstring_content'>\");</span><span class='tstring_end'>"</span></span>
|
|
1908
|
+
<span class='kw'>return</span> <span class='kw'>self</span>
|
|
1909
|
+
<span class='kw'>end</span></pre>
|
|
1910
|
+
</td>
|
|
1911
|
+
</tr>
|
|
1912
|
+
</table>
|
|
1913
|
+
</div>
|
|
1914
|
+
|
|
1915
|
+
<div class="method_details ">
|
|
1916
|
+
<h3 class="signature " id="title=-instance_method">
|
|
1917
|
+
|
|
1918
|
+
- (<tt>Object</tt>) <strong>title=</strong>(title)
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
</h3><div class="docstring">
|
|
1925
|
+
<div class="discussion">
|
|
1926
|
+
<hr>
|
|
1927
|
+
<hr>
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
</div>
|
|
1931
|
+
</div>
|
|
1932
|
+
<div class="tags">
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
</div><table class="source_code">
|
|
1936
|
+
<tr>
|
|
1937
|
+
<td>
|
|
1938
|
+
<pre class="lines">
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
111
|
|
1942
|
+
112
|
|
1943
|
+
113</pre>
|
|
1944
|
+
</td>
|
|
1945
|
+
<td>
|
|
1946
|
+
<pre class="code"><span class="info file"># File 'lib/webview/dashboard.rb', line 111</span>
|
|
1947
|
+
|
|
1948
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_title='>title=</span><span class='lparen'>(</span><span class='id identifier rubyid_title'>title</span><span class='rparen'>)</span>
|
|
1949
|
+
<span class='ivar'>@scene</span><span class='period'>.</span><span class='id identifier rubyid_title'>title</span><span class='op'>=</span><span class='lparen'>(</span><span class='id identifier rubyid_title'>title</span><span class='rparen'>)</span>
|
|
1950
|
+
<span class='kw'>end</span></pre>
|
|
1951
|
+
</td>
|
|
1952
|
+
</tr>
|
|
1953
|
+
</table>
|
|
1954
|
+
</div>
|
|
1955
|
+
|
|
1956
|
+
</div>
|
|
1957
|
+
|
|
1958
|
+
</div>
|
|
1959
|
+
|
|
1960
|
+
<div id="footer">
|
|
1961
|
+
Generated on Thu Jun 2 13:11:21 2016 by
|
|
1962
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1963
|
+
0.8.7.6 (ruby-2.3.0).
|
|
1964
|
+
</div>
|
|
1965
|
+
|
|
1966
|
+
</body>
|
|
1967
|
+
</html>
|