mdarray-sol 0.1.0-java
Sign up to get free protection for your applications and to get access to all the features.
- 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,544 @@
|
|
1
|
+
/**
|
2
|
+
* Composite charts are a special kind of chart that render multiple charts on the same Coordinate
|
3
|
+
* Grid. You can overlay (compose) different bar/line/area charts in a single composite chart to
|
4
|
+
* achieve some quite flexible charting effects.
|
5
|
+
* @class compositeChart
|
6
|
+
* @memberof dc
|
7
|
+
* @mixes dc.coordinateGridMixin
|
8
|
+
* @example
|
9
|
+
* // create a composite chart under #chart-container1 element using the default global chart group
|
10
|
+
* var compositeChart1 = dc.compositeChart('#chart-container1');
|
11
|
+
* // create a composite chart under #chart-container2 element using chart group A
|
12
|
+
* var compositeChart2 = dc.compositeChart('#chart-container2', 'chartGroupA');
|
13
|
+
* @param {String|node|d3.selection} parent - Any valid
|
14
|
+
* {@link https://github.com/mbostock/d3/wiki/Selections#selecting-elements d3 single selector} specifying
|
15
|
+
* a dom block element such as a div; or a dom element or d3 selection.
|
16
|
+
* @param {String} [chartGroup] - The name of the chart group this chart instance should be placed in.
|
17
|
+
* Interaction with a chart will only trigger events and redraws within the chart's group.
|
18
|
+
* @return {dc.compositeChart}
|
19
|
+
*/
|
20
|
+
dc.compositeChart = function (parent, chartGroup) {
|
21
|
+
|
22
|
+
var SUB_CHART_CLASS = 'sub';
|
23
|
+
var DEFAULT_RIGHT_Y_AXIS_LABEL_PADDING = 12;
|
24
|
+
|
25
|
+
var _chart = dc.coordinateGridMixin({});
|
26
|
+
var _children = [];
|
27
|
+
|
28
|
+
var _childOptions = {};
|
29
|
+
|
30
|
+
var _shareColors = false,
|
31
|
+
_shareTitle = true,
|
32
|
+
_alignYAxes = false;
|
33
|
+
|
34
|
+
var _rightYAxis = d3.svg.axis(),
|
35
|
+
_rightYAxisLabel = 0,
|
36
|
+
_rightYAxisLabelPadding = DEFAULT_RIGHT_Y_AXIS_LABEL_PADDING,
|
37
|
+
_rightY,
|
38
|
+
_rightAxisGridLines = false;
|
39
|
+
|
40
|
+
_chart._mandatoryAttributes([]);
|
41
|
+
_chart.transitionDuration(500);
|
42
|
+
|
43
|
+
dc.override(_chart, '_generateG', function () {
|
44
|
+
var g = this.__generateG();
|
45
|
+
|
46
|
+
for (var i = 0; i < _children.length; ++i) {
|
47
|
+
var child = _children[i];
|
48
|
+
|
49
|
+
generateChildG(child, i);
|
50
|
+
|
51
|
+
if (!child.dimension()) {
|
52
|
+
child.dimension(_chart.dimension());
|
53
|
+
}
|
54
|
+
if (!child.group()) {
|
55
|
+
child.group(_chart.group());
|
56
|
+
}
|
57
|
+
|
58
|
+
child.chartGroup(_chart.chartGroup());
|
59
|
+
child.svg(_chart.svg());
|
60
|
+
child.xUnits(_chart.xUnits());
|
61
|
+
child.transitionDuration(_chart.transitionDuration());
|
62
|
+
child.brushOn(_chart.brushOn());
|
63
|
+
child.renderTitle(_chart.renderTitle());
|
64
|
+
child.elasticX(_chart.elasticX());
|
65
|
+
}
|
66
|
+
|
67
|
+
return g;
|
68
|
+
});
|
69
|
+
|
70
|
+
_chart._brushing = function () {
|
71
|
+
var extent = _chart.extendBrush();
|
72
|
+
var brushIsEmpty = _chart.brushIsEmpty(extent);
|
73
|
+
|
74
|
+
for (var i = 0; i < _children.length; ++i) {
|
75
|
+
_children[i].filter(null);
|
76
|
+
if (!brushIsEmpty) {
|
77
|
+
_children[i].filter(extent);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
};
|
81
|
+
|
82
|
+
_chart._prepareYAxis = function () {
|
83
|
+
var left = (leftYAxisChildren().length !== 0);
|
84
|
+
var right = (rightYAxisChildren().length !== 0);
|
85
|
+
var ranges = calculateYAxisRanges(left, right);
|
86
|
+
|
87
|
+
if (left) { prepareLeftYAxis(ranges); }
|
88
|
+
if (right) { prepareRightYAxis(ranges); }
|
89
|
+
|
90
|
+
if (leftYAxisChildren().length > 0 && !_rightAxisGridLines) {
|
91
|
+
_chart._renderHorizontalGridLinesForAxis(_chart.g(), _chart.y(), _chart.yAxis());
|
92
|
+
} else if (rightYAxisChildren().length > 0) {
|
93
|
+
_chart._renderHorizontalGridLinesForAxis(_chart.g(), _rightY, _rightYAxis);
|
94
|
+
}
|
95
|
+
};
|
96
|
+
|
97
|
+
_chart.renderYAxis = function () {
|
98
|
+
if (leftYAxisChildren().length !== 0) {
|
99
|
+
_chart.renderYAxisAt('y', _chart.yAxis(), _chart.margins().left);
|
100
|
+
_chart.renderYAxisLabel('y', _chart.yAxisLabel(), -90);
|
101
|
+
}
|
102
|
+
|
103
|
+
if (rightYAxisChildren().length !== 0) {
|
104
|
+
_chart.renderYAxisAt('yr', _chart.rightYAxis(), _chart.width() - _chart.margins().right);
|
105
|
+
_chart.renderYAxisLabel('yr', _chart.rightYAxisLabel(), 90, _chart.width() - _rightYAxisLabelPadding);
|
106
|
+
}
|
107
|
+
};
|
108
|
+
|
109
|
+
function calculateYAxisRanges (left, right) {
|
110
|
+
var lyAxisMin, lyAxisMax, ryAxisMin, ryAxisMax;
|
111
|
+
|
112
|
+
if (left) {
|
113
|
+
lyAxisMin = yAxisMin();
|
114
|
+
lyAxisMax = yAxisMax();
|
115
|
+
}
|
116
|
+
|
117
|
+
if (right) {
|
118
|
+
ryAxisMin = rightYAxisMin();
|
119
|
+
ryAxisMax = rightYAxisMax();
|
120
|
+
}
|
121
|
+
|
122
|
+
if (_chart.alignYAxes() && left && right && (lyAxisMin < 0 || ryAxisMin < 0)) {
|
123
|
+
// both y axis are linear and at least one doesn't start at zero
|
124
|
+
var leftYRatio, rightYRatio;
|
125
|
+
|
126
|
+
if (lyAxisMin < 0) {
|
127
|
+
leftYRatio = lyAxisMax / lyAxisMin;
|
128
|
+
}
|
129
|
+
|
130
|
+
if (ryAxisMin < 0) {
|
131
|
+
rightYRatio = ryAxisMax / ryAxisMin;
|
132
|
+
}
|
133
|
+
|
134
|
+
if (lyAxisMin < 0 && ryAxisMin < 0) {
|
135
|
+
if (leftYRatio < rightYRatio) {
|
136
|
+
ryAxisMax = ryAxisMin * leftYRatio;
|
137
|
+
} else {
|
138
|
+
lyAxisMax = lyAxisMin * rightYRatio;
|
139
|
+
}
|
140
|
+
} else if (lyAxisMin < 0) {
|
141
|
+
ryAxisMin = ryAxisMax / leftYRatio;
|
142
|
+
} else {
|
143
|
+
lyAxisMin = lyAxisMax / (ryAxisMax / ryAxisMin);
|
144
|
+
}
|
145
|
+
}
|
146
|
+
return {
|
147
|
+
lyAxisMin: lyAxisMin,
|
148
|
+
lyAxisMax: lyAxisMax,
|
149
|
+
ryAxisMin: ryAxisMin,
|
150
|
+
ryAxisMax: ryAxisMax
|
151
|
+
};
|
152
|
+
}
|
153
|
+
|
154
|
+
function prepareRightYAxis (ranges) {
|
155
|
+
var needDomain = _chart.rightY() === undefined || _chart.elasticY(),
|
156
|
+
needRange = needDomain || _chart.resizing();
|
157
|
+
if (_chart.rightY() === undefined) {
|
158
|
+
_chart.rightY(d3.scale.linear());
|
159
|
+
}
|
160
|
+
if (needDomain) {
|
161
|
+
_chart.rightY().domain([ranges.ryAxisMin, ranges.ryAxisMax]);
|
162
|
+
}
|
163
|
+
if (needRange) {
|
164
|
+
_chart.rightY().rangeRound([_chart.yAxisHeight(), 0]);
|
165
|
+
}
|
166
|
+
|
167
|
+
_chart.rightY().range([_chart.yAxisHeight(), 0]);
|
168
|
+
_chart.rightYAxis(_chart.rightYAxis().scale(_chart.rightY()));
|
169
|
+
|
170
|
+
_chart.rightYAxis().orient('right');
|
171
|
+
}
|
172
|
+
|
173
|
+
function prepareLeftYAxis (ranges) {
|
174
|
+
var needDomain = _chart.y() === undefined || _chart.elasticY(),
|
175
|
+
needRange = needDomain || _chart.resizing();
|
176
|
+
if (_chart.y() === undefined) {
|
177
|
+
_chart.y(d3.scale.linear());
|
178
|
+
}
|
179
|
+
if (needDomain) {
|
180
|
+
_chart.y().domain([ranges.lyAxisMin, ranges.lyAxisMax]);
|
181
|
+
}
|
182
|
+
if (needRange) {
|
183
|
+
_chart.y().rangeRound([_chart.yAxisHeight(), 0]);
|
184
|
+
}
|
185
|
+
|
186
|
+
_chart.y().range([_chart.yAxisHeight(), 0]);
|
187
|
+
_chart.yAxis(_chart.yAxis().scale(_chart.y()));
|
188
|
+
|
189
|
+
_chart.yAxis().orient('left');
|
190
|
+
}
|
191
|
+
|
192
|
+
function generateChildG (child, i) {
|
193
|
+
child._generateG(_chart.g());
|
194
|
+
child.g().attr('class', SUB_CHART_CLASS + ' _' + i);
|
195
|
+
}
|
196
|
+
|
197
|
+
_chart.plotData = function () {
|
198
|
+
for (var i = 0; i < _children.length; ++i) {
|
199
|
+
var child = _children[i];
|
200
|
+
|
201
|
+
if (!child.g()) {
|
202
|
+
generateChildG(child, i);
|
203
|
+
}
|
204
|
+
|
205
|
+
if (_shareColors) {
|
206
|
+
child.colors(_chart.colors());
|
207
|
+
}
|
208
|
+
|
209
|
+
child.x(_chart.x());
|
210
|
+
|
211
|
+
child.xAxis(_chart.xAxis());
|
212
|
+
|
213
|
+
if (child.useRightYAxis()) {
|
214
|
+
child.y(_chart.rightY());
|
215
|
+
child.yAxis(_chart.rightYAxis());
|
216
|
+
} else {
|
217
|
+
child.y(_chart.y());
|
218
|
+
child.yAxis(_chart.yAxis());
|
219
|
+
}
|
220
|
+
|
221
|
+
child.plotData();
|
222
|
+
|
223
|
+
child._activateRenderlets();
|
224
|
+
}
|
225
|
+
};
|
226
|
+
|
227
|
+
/**
|
228
|
+
* Get or set whether to draw gridlines from the right y axis. Drawing from the left y axis is the
|
229
|
+
* default behavior. This option is only respected when subcharts with both left and right y-axes
|
230
|
+
* are present.
|
231
|
+
* @method useRightAxisGridLines
|
232
|
+
* @memberof dc.compositeChart
|
233
|
+
* @instance
|
234
|
+
* @param {Boolean} [useRightAxisGridLines=false]
|
235
|
+
* @return {Boolean}
|
236
|
+
* @return {dc.compositeChart}
|
237
|
+
*/
|
238
|
+
_chart.useRightAxisGridLines = function (useRightAxisGridLines) {
|
239
|
+
if (!arguments) {
|
240
|
+
return _rightAxisGridLines;
|
241
|
+
}
|
242
|
+
|
243
|
+
_rightAxisGridLines = useRightAxisGridLines;
|
244
|
+
return _chart;
|
245
|
+
};
|
246
|
+
|
247
|
+
/**
|
248
|
+
* Get or set chart-specific options for all child charts. This is equivalent to calling
|
249
|
+
* {@link dc.baseMixin#options .options} on each child chart.
|
250
|
+
* @method childOptions
|
251
|
+
* @memberof dc.compositeChart
|
252
|
+
* @instance
|
253
|
+
* @param {Object} [childOptions]
|
254
|
+
* @return {Object}
|
255
|
+
* @return {dc.compositeChart}
|
256
|
+
*/
|
257
|
+
_chart.childOptions = function (childOptions) {
|
258
|
+
if (!arguments.length) {
|
259
|
+
return _childOptions;
|
260
|
+
}
|
261
|
+
_childOptions = childOptions;
|
262
|
+
_children.forEach(function (child) {
|
263
|
+
child.options(_childOptions);
|
264
|
+
});
|
265
|
+
return _chart;
|
266
|
+
};
|
267
|
+
|
268
|
+
_chart.fadeDeselectedArea = function () {
|
269
|
+
for (var i = 0; i < _children.length; ++i) {
|
270
|
+
var child = _children[i];
|
271
|
+
child.brush(_chart.brush());
|
272
|
+
child.fadeDeselectedArea();
|
273
|
+
}
|
274
|
+
};
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Set or get the right y axis label.
|
278
|
+
* @method rightYAxisLabel
|
279
|
+
* @memberof dc.compositeChart
|
280
|
+
* @instance
|
281
|
+
* @param {String} [rightYAxisLabel]
|
282
|
+
* @param {Number} [padding]
|
283
|
+
* @return {String}
|
284
|
+
* @return {dc.compositeChart}
|
285
|
+
*/
|
286
|
+
_chart.rightYAxisLabel = function (rightYAxisLabel, padding) {
|
287
|
+
if (!arguments.length) {
|
288
|
+
return _rightYAxisLabel;
|
289
|
+
}
|
290
|
+
_rightYAxisLabel = rightYAxisLabel;
|
291
|
+
_chart.margins().right -= _rightYAxisLabelPadding;
|
292
|
+
_rightYAxisLabelPadding = (padding === undefined) ? DEFAULT_RIGHT_Y_AXIS_LABEL_PADDING : padding;
|
293
|
+
_chart.margins().right += _rightYAxisLabelPadding;
|
294
|
+
return _chart;
|
295
|
+
};
|
296
|
+
|
297
|
+
/**
|
298
|
+
* Combine the given charts into one single composite coordinate grid chart.
|
299
|
+
* @method compose
|
300
|
+
* @memberof dc.compositeChart
|
301
|
+
* @instance
|
302
|
+
* @example
|
303
|
+
* moveChart.compose([
|
304
|
+
* // when creating sub-chart you need to pass in the parent chart
|
305
|
+
* dc.lineChart(moveChart)
|
306
|
+
* .group(indexAvgByMonthGroup) // if group is missing then parent's group will be used
|
307
|
+
* .valueAccessor(function (d){return d.value.avg;})
|
308
|
+
* // most of the normal functions will continue to work in a composed chart
|
309
|
+
* .renderArea(true)
|
310
|
+
* .stack(monthlyMoveGroup, function (d){return d.value;})
|
311
|
+
* .title(function (d){
|
312
|
+
* var value = d.value.avg?d.value.avg:d.value;
|
313
|
+
* if(isNaN(value)) value = 0;
|
314
|
+
* return dateFormat(d.key) + '\n' + numberFormat(value);
|
315
|
+
* }),
|
316
|
+
* dc.barChart(moveChart)
|
317
|
+
* .group(volumeByMonthGroup)
|
318
|
+
* .centerBar(true)
|
319
|
+
* ]);
|
320
|
+
* @param {Array<Chart>} [subChartArray]
|
321
|
+
* @return {dc.compositeChart}
|
322
|
+
*/
|
323
|
+
_chart.compose = function (subChartArray) {
|
324
|
+
_children = subChartArray;
|
325
|
+
_children.forEach(function (child) {
|
326
|
+
child.height(_chart.height());
|
327
|
+
child.width(_chart.width());
|
328
|
+
child.margins(_chart.margins());
|
329
|
+
|
330
|
+
if (_shareTitle) {
|
331
|
+
child.title(_chart.title());
|
332
|
+
}
|
333
|
+
|
334
|
+
child.options(_childOptions);
|
335
|
+
});
|
336
|
+
return _chart;
|
337
|
+
};
|
338
|
+
|
339
|
+
/**
|
340
|
+
* Returns the child charts which are composed into the composite chart.
|
341
|
+
* @method children
|
342
|
+
* @memberof dc.compositeChart
|
343
|
+
* @instance
|
344
|
+
* @return {Array<dc.baseMixin>}
|
345
|
+
*/
|
346
|
+
_chart.children = function () {
|
347
|
+
return _children;
|
348
|
+
};
|
349
|
+
|
350
|
+
/**
|
351
|
+
* Get or set color sharing for the chart. If set, the {@link dc.colorMixin#colors .colors()} value from this chart
|
352
|
+
* will be shared with composed children. Additionally if the child chart implements
|
353
|
+
* Stackable and has not set a custom .colorAccessor, then it will generate a color
|
354
|
+
* specific to its order in the composition.
|
355
|
+
* @method shareColors
|
356
|
+
* @memberof dc.compositeChart
|
357
|
+
* @instance
|
358
|
+
* @param {Boolean} [shareColors=false]
|
359
|
+
* @return {Boolean}
|
360
|
+
* @return {dc.compositeChart}
|
361
|
+
*/
|
362
|
+
_chart.shareColors = function (shareColors) {
|
363
|
+
if (!arguments.length) {
|
364
|
+
return _shareColors;
|
365
|
+
}
|
366
|
+
_shareColors = shareColors;
|
367
|
+
return _chart;
|
368
|
+
};
|
369
|
+
|
370
|
+
/**
|
371
|
+
* Get or set title sharing for the chart. If set, the {@link dc.baseMixin#title .title()} value from
|
372
|
+
* this chart will be shared with composed children.
|
373
|
+
* @method shareTitle
|
374
|
+
* @memberof dc.compositeChart
|
375
|
+
* @instance
|
376
|
+
* @param {Boolean} [shareTitle=true]
|
377
|
+
* @return {Boolean}
|
378
|
+
* @return {dc.compositeChart}
|
379
|
+
*/
|
380
|
+
_chart.shareTitle = function (shareTitle) {
|
381
|
+
if (!arguments.length) {
|
382
|
+
return _shareTitle;
|
383
|
+
}
|
384
|
+
_shareTitle = shareTitle;
|
385
|
+
return _chart;
|
386
|
+
};
|
387
|
+
|
388
|
+
/**
|
389
|
+
* Get or set the y scale for the right axis. The right y scale is typically automatically
|
390
|
+
* generated by the chart implementation.
|
391
|
+
* @method rightY
|
392
|
+
* @memberof dc.compositeChart
|
393
|
+
* @instance
|
394
|
+
* @see {@link https://github.com/mbostock/d3/wiki/Scales d3.scale}
|
395
|
+
* @param {d3.scale} [yScale]
|
396
|
+
* @return {d3.scale}
|
397
|
+
* @return {dc.compositeChart}
|
398
|
+
*/
|
399
|
+
_chart.rightY = function (yScale) {
|
400
|
+
if (!arguments.length) {
|
401
|
+
return _rightY;
|
402
|
+
}
|
403
|
+
_rightY = yScale;
|
404
|
+
_chart.rescale();
|
405
|
+
return _chart;
|
406
|
+
};
|
407
|
+
|
408
|
+
/**
|
409
|
+
* Get or set alignment between left and right y axes. A line connecting '0' on both y axis
|
410
|
+
* will be parallel to x axis.
|
411
|
+
* @method alignYAxes
|
412
|
+
* @memberof dc.compositeChart
|
413
|
+
* @instance
|
414
|
+
* @param {Boolean} [alignYAxes=false]
|
415
|
+
* @return {Chart}
|
416
|
+
*/
|
417
|
+
_chart.alignYAxes = function (alignYAxes) {
|
418
|
+
if (!arguments.length) {
|
419
|
+
return _alignYAxes;
|
420
|
+
}
|
421
|
+
_alignYAxes = alignYAxes;
|
422
|
+
_chart.rescale();
|
423
|
+
return _chart;
|
424
|
+
};
|
425
|
+
|
426
|
+
function leftYAxisChildren () {
|
427
|
+
return _children.filter(function (child) {
|
428
|
+
return !child.useRightYAxis();
|
429
|
+
});
|
430
|
+
}
|
431
|
+
|
432
|
+
function rightYAxisChildren () {
|
433
|
+
return _children.filter(function (child) {
|
434
|
+
return child.useRightYAxis();
|
435
|
+
});
|
436
|
+
}
|
437
|
+
|
438
|
+
function getYAxisMin (charts) {
|
439
|
+
return charts.map(function (c) {
|
440
|
+
return c.yAxisMin();
|
441
|
+
});
|
442
|
+
}
|
443
|
+
|
444
|
+
delete _chart.yAxisMin;
|
445
|
+
function yAxisMin () {
|
446
|
+
return d3.min(getYAxisMin(leftYAxisChildren()));
|
447
|
+
}
|
448
|
+
|
449
|
+
function rightYAxisMin () {
|
450
|
+
return d3.min(getYAxisMin(rightYAxisChildren()));
|
451
|
+
}
|
452
|
+
|
453
|
+
function getYAxisMax (charts) {
|
454
|
+
return charts.map(function (c) {
|
455
|
+
return c.yAxisMax();
|
456
|
+
});
|
457
|
+
}
|
458
|
+
|
459
|
+
delete _chart.yAxisMax;
|
460
|
+
function yAxisMax () {
|
461
|
+
return dc.utils.add(d3.max(getYAxisMax(leftYAxisChildren())), _chart.yAxisPadding());
|
462
|
+
}
|
463
|
+
|
464
|
+
function rightYAxisMax () {
|
465
|
+
return dc.utils.add(d3.max(getYAxisMax(rightYAxisChildren())), _chart.yAxisPadding());
|
466
|
+
}
|
467
|
+
|
468
|
+
function getAllXAxisMinFromChildCharts () {
|
469
|
+
return _children.map(function (c) {
|
470
|
+
return c.xAxisMin();
|
471
|
+
});
|
472
|
+
}
|
473
|
+
|
474
|
+
dc.override(_chart, 'xAxisMin', function () {
|
475
|
+
return dc.utils.subtract(d3.min(getAllXAxisMinFromChildCharts()), _chart.xAxisPadding());
|
476
|
+
});
|
477
|
+
|
478
|
+
function getAllXAxisMaxFromChildCharts () {
|
479
|
+
return _children.map(function (c) {
|
480
|
+
return c.xAxisMax();
|
481
|
+
});
|
482
|
+
}
|
483
|
+
|
484
|
+
dc.override(_chart, 'xAxisMax', function () {
|
485
|
+
return dc.utils.add(d3.max(getAllXAxisMaxFromChildCharts()), _chart.xAxisPadding());
|
486
|
+
});
|
487
|
+
|
488
|
+
_chart.legendables = function () {
|
489
|
+
return _children.reduce(function (items, child) {
|
490
|
+
if (_shareColors) {
|
491
|
+
child.colors(_chart.colors());
|
492
|
+
}
|
493
|
+
items.push.apply(items, child.legendables());
|
494
|
+
return items;
|
495
|
+
}, []);
|
496
|
+
};
|
497
|
+
|
498
|
+
_chart.legendHighlight = function (d) {
|
499
|
+
for (var j = 0; j < _children.length; ++j) {
|
500
|
+
var child = _children[j];
|
501
|
+
child.legendHighlight(d);
|
502
|
+
}
|
503
|
+
};
|
504
|
+
|
505
|
+
_chart.legendReset = function (d) {
|
506
|
+
for (var j = 0; j < _children.length; ++j) {
|
507
|
+
var child = _children[j];
|
508
|
+
child.legendReset(d);
|
509
|
+
}
|
510
|
+
};
|
511
|
+
|
512
|
+
_chart.legendToggle = function () {
|
513
|
+
console.log('composite should not be getting legendToggle itself');
|
514
|
+
};
|
515
|
+
|
516
|
+
/**
|
517
|
+
* Set or get the right y axis used by the composite chart. This function is most useful when y
|
518
|
+
* axis customization is required. The y axis in dc.js is an instance of a [d3 axis
|
519
|
+
* object](https://github.com/mbostock/d3/wiki/SVG-Axes#wiki-_axis) therefore it supports any valid
|
520
|
+
* d3 axis manipulation. **Caution**: The y axis is usually generated internally by dc;
|
521
|
+
* resetting it may cause unexpected results.
|
522
|
+
* @method rightYAxis
|
523
|
+
* @memberof dc.compositeChart
|
524
|
+
* @instance
|
525
|
+
* @see {@link https://github.com/mbostock/d3/wiki/SVG-Axes d3.svg.axis}
|
526
|
+
* @example
|
527
|
+
* // customize y axis tick format
|
528
|
+
* chart.rightYAxis().tickFormat(function (v) {return v + '%';});
|
529
|
+
* // customize y axis tick values
|
530
|
+
* chart.rightYAxis().tickValues([0, 100, 200, 300]);
|
531
|
+
* @param {d3.svg.axis} [rightYAxis]
|
532
|
+
* @return {d3.svg.axis}
|
533
|
+
* @return {dc.compositeChart}
|
534
|
+
*/
|
535
|
+
_chart.rightYAxis = function (rightYAxis) {
|
536
|
+
if (!arguments.length) {
|
537
|
+
return _rightYAxis;
|
538
|
+
}
|
539
|
+
_rightYAxis = rightYAxis;
|
540
|
+
return _chart;
|
541
|
+
};
|
542
|
+
|
543
|
+
return _chart.anchor(parent, chartGroup);
|
544
|
+
};
|