visjs-rails 4.16.1.0 → 4.21.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +19 -19
- data/example/.gitignore +26 -0
- data/example/.ruby-version +1 -0
- data/example/Gemfile +64 -0
- data/example/Gemfile.lock +224 -0
- data/example/README.md +24 -0
- data/example/Rakefile +6 -0
- data/example/app/assets/config/manifest.js +3 -0
- data/example/app/assets/images/.keep +0 -0
- data/example/app/assets/javascripts/application.js +20 -0
- data/example/app/assets/javascripts/cable.js +13 -0
- data/example/app/assets/javascripts/channels/.keep +0 -0
- data/example/app/assets/javascripts/welcome.coffee +6 -0
- data/example/app/assets/stylesheets/application.scss +3 -0
- data/example/app/assets/stylesheets/welcome.scss +3 -0
- data/example/app/channels/application_cable/channel.rb +4 -0
- data/example/app/channels/application_cable/connection.rb +4 -0
- data/example/app/controllers/application_controller.rb +2 -0
- data/example/app/controllers/concerns/.keep +0 -0
- data/example/app/controllers/welcome_controller.rb +4 -0
- data/example/app/helpers/application_helper.rb +2 -0
- data/example/app/helpers/welcome_helper.rb +2 -0
- data/example/app/jobs/application_job.rb +2 -0
- data/example/app/mailers/application_mailer.rb +4 -0
- data/example/app/models/application_record.rb +3 -0
- data/example/app/models/concerns/.keep +0 -0
- data/example/app/views/layouts/application.html.erb +15 -0
- data/example/app/views/layouts/mailer.html.erb +13 -0
- data/example/app/views/layouts/mailer.text.erb +1 -0
- data/example/app/views/welcome/index.html.erb +48 -0
- data/example/bin/bundle +3 -0
- data/example/bin/rails +9 -0
- data/example/bin/rake +9 -0
- data/example/bin/setup +36 -0
- data/example/bin/spring +17 -0
- data/example/bin/update +31 -0
- data/example/bin/yarn +11 -0
- data/example/config.ru +5 -0
- data/example/config/application.rb +19 -0
- data/example/config/boot.rb +4 -0
- data/example/config/cable.yml +10 -0
- data/example/config/credentials.yml.enc +1 -0
- data/example/config/database.yml +85 -0
- data/example/config/environment.rb +5 -0
- data/example/config/environments/development.rb +61 -0
- data/example/config/environments/production.rb +94 -0
- data/example/config/environments/test.rb +46 -0
- data/example/config/initializers/application_controller_renderer.rb +8 -0
- data/example/config/initializers/assets.rb +14 -0
- data/example/config/initializers/backtrace_silencers.rb +7 -0
- data/example/config/initializers/content_security_policy.rb +25 -0
- data/example/config/initializers/cookies_serializer.rb +5 -0
- data/example/config/initializers/filter_parameter_logging.rb +4 -0
- data/example/config/initializers/inflections.rb +16 -0
- data/example/config/initializers/mime_types.rb +4 -0
- data/example/config/initializers/wrap_parameters.rb +14 -0
- data/example/config/locales/en.yml +33 -0
- data/example/config/puma.rb +34 -0
- data/example/config/routes.rb +5 -0
- data/example/config/spring.rb +6 -0
- data/example/config/storage.yml +34 -0
- data/example/db/seeds.rb +7 -0
- data/example/lib/assets/.keep +0 -0
- data/example/lib/tasks/.keep +0 -0
- data/example/log/.keep +0 -0
- data/example/package.json +5 -0
- data/example/public/404.html +67 -0
- data/example/public/422.html +67 -0
- data/example/public/500.html +66 -0
- data/example/public/apple-touch-icon-precomposed.png +0 -0
- data/example/public/apple-touch-icon.png +0 -0
- data/example/public/favicon.ico +0 -0
- data/example/public/robots.txt +1 -0
- data/example/test/application_system_test_case.rb +5 -0
- data/example/test/controllers/.keep +0 -0
- data/example/test/controllers/welcome_controller_test.rb +9 -0
- data/example/test/fixtures/.keep +0 -0
- data/example/test/fixtures/files/.keep +0 -0
- data/example/test/helpers/.keep +0 -0
- data/example/test/integration/.keep +0 -0
- data/example/test/mailers/.keep +0 -0
- data/example/test/models/.keep +0 -0
- data/example/test/system/.keep +0 -0
- data/example/test/test_helper.rb +10 -0
- data/example/tmp/.keep +0 -0
- data/example/vendor/.keep +0 -0
- data/examples_for_vis/graph2d/01_basic.html +71 -0
- data/examples_for_vis/graph2d/02_bars.html +80 -0
- data/examples_for_vis/graph2d/03_groups.html +112 -0
- data/examples_for_vis/graph2d/04_rightAxis.html +126 -0
- data/examples_for_vis/graph2d/05_bothAxis.html +228 -0
- data/examples_for_vis/graph2d/06_interpolation.html +160 -0
- data/examples_for_vis/graph2d/07_scrollingAndSorting.html +74 -0
- data/examples_for_vis/graph2d/08_performance.html +194 -0
- data/examples_for_vis/graph2d/09_external_legend.html +452 -0
- data/examples_for_vis/graph2d/10_barsSideBySide.html +75 -0
- data/examples_for_vis/graph2d/11_barsSideBySideGroups.html +181 -0
- data/examples_for_vis/graph2d/12_customRange.html +92 -0
- data/examples_for_vis/graph2d/13_localization.html +65 -0
- data/examples_for_vis/graph2d/14_toggleGroups.html +145 -0
- data/examples_for_vis/graph2d/15_streaming_data.html +122 -0
- data/examples_for_vis/graph2d/16_bothAxisTitles.html +201 -0
- data/examples_for_vis/graph2d/17_dynamicStyling.html +281 -0
- data/examples_for_vis/graph2d/18_scatterplot.html +63 -0
- data/examples_for_vis/graph2d/19_labels.html +213 -0
- data/examples_for_vis/graph2d/20_shading.html +218 -0
- data/examples_for_vis/graph2d/21_barsWithEnd.html +76 -0
- data/examples_for_vis/graph2d/default.css +87 -0
- data/examples_for_vis/graph3d/01_basics.html +71 -0
- data/examples_for_vis/graph3d/02_camera.html +110 -0
- data/examples_for_vis/graph3d/03_filter_data.html +64 -0
- data/examples_for_vis/graph3d/04_animation.html +70 -0
- data/examples_for_vis/graph3d/05_line.html +60 -0
- data/examples_for_vis/graph3d/06_moving_dots.html +78 -0
- data/examples_for_vis/graph3d/07_dot_cloud_colors.html +72 -0
- data/examples_for_vis/graph3d/08_dot_cloud_size.html +69 -0
- data/examples_for_vis/graph3d/09_mobile.html +79 -0
- data/examples_for_vis/graph3d/10_styling.html +121 -0
- data/examples_for_vis/graph3d/11_tooltips.html +132 -0
- data/examples_for_vis/graph3d/12_custom_labels.html +116 -0
- data/examples_for_vis/graph3d/default.css +87 -0
- data/examples_for_vis/graph3d/playground/csv2array.js +120 -0
- data/examples_for_vis/graph3d/playground/csv2datatable.html +80 -0
- data/examples_for_vis/graph3d/playground/datasource.html +173 -0
- data/examples_for_vis/graph3d/playground/datasource.php +155 -0
- data/examples_for_vis/graph3d/playground/index.html +196 -0
- data/examples_for_vis/graph3d/playground/playground.css +91 -0
- data/examples_for_vis/graph3d/playground/playground.js +550 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-apollo.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-css.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-hs.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-lisp.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-lua.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-ml.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-proto.js +1 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-scala.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-sql.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-vb.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-vhdl.js +3 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-wiki.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/lang-yaml.js +2 -0
- data/examples_for_vis/graph3d/playground/prettify/prettify.css +1 -0
- data/examples_for_vis/graph3d/playground/prettify/prettify.js +33 -0
- data/examples_for_vis/network/basicUsage.html +87 -0
- data/examples_for_vis/network/data/datasets.html +196 -0
- data/examples_for_vis/network/data/dotLanguage/data/cellular_automata.gv.txt +23 -0
- data/examples_for_vis/network/data/dotLanguage/data/computer_network.gv.txt +19 -0
- data/examples_for_vis/network/data/dotLanguage/data/simple.gv.txt +15 -0
- data/examples_for_vis/network/data/dotLanguage/dotEdgeStyles.html +197 -0
- data/examples_for_vis/network/data/dotLanguage/dotLanguage.html +22 -0
- data/examples_for_vis/network/data/dotLanguage/dotPlayground.html +216 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/fsm.gv.txt +20 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/hello.gv.txt +1 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/process.gv.txt +15 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/screenshots/fsm.png +0 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/screenshots/hello.png +0 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/screenshots/softmaint.png +0 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/screenshots/traffic_lights.png +0 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/siblings.gv.txt +512 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/softmaint.gv.txt +377 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/traffic_lights.gv.txt +29 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/transparency.gv.txt +105 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/twopi2.gv.txt +2212 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/unix.gv.txt +55 -0
- data/examples_for_vis/network/data/dotLanguage/graphvizGallery/world.gv.txt +67 -0
- data/examples_for_vis/network/data/dynamicData.html +266 -0
- data/examples_for_vis/network/data/importingFromGephi.html +174 -0
- data/examples_for_vis/network/data/scalingCustom.html +86 -0
- data/examples_for_vis/network/data/scalingNodesEdges.html +79 -0
- data/examples_for_vis/network/data/scalingNodesEdgesLabels.html +85 -0
- data/examples_for_vis/network/datasources/WorldCup2014.js +9970 -0
- data/examples_for_vis/network/datasources/WorldCup2014.json +1 -0
- data/examples_for_vis/network/datasources/largeHierarchicalDataset.js +2 -0
- data/examples_for_vis/network/edgeStyles/arrowTypes.html +103 -0
- data/examples_for_vis/network/edgeStyles/arrows.html +61 -0
- data/examples_for_vis/network/edgeStyles/colors.html +71 -0
- data/examples_for_vis/network/edgeStyles/dashes.html +57 -0
- data/examples_for_vis/network/edgeStyles/smooth.html +78 -0
- data/examples_for_vis/network/edgeStyles/smoothWorldCup.html +97 -0
- data/examples_for_vis/network/events/interactionEvents.html +132 -0
- data/examples_for_vis/network/events/physicsEvents.html +73 -0
- data/examples_for_vis/network/events/renderEvents.html +83 -0
- data/examples_for_vis/network/exampleApplications/disassemblerExample.html +24 -0
- data/examples_for_vis/network/exampleApplications/disassemblerExample.js +53 -0
- data/examples_for_vis/network/exampleApplications/lesMiserables.html +396 -0
- data/examples_for_vis/network/exampleApplications/loadingBar.html +504 -0
- data/examples_for_vis/network/exampleApplications/neighbourhoodHighlight.html +162 -0
- data/examples_for_vis/network/exampleApplications/nodeLegend.html +163 -0
- data/examples_for_vis/network/exampleApplications/worldCupPerformance.html +98 -0
- data/examples_for_vis/network/exampleUtil.js +133 -0
- data/examples_for_vis/network/imageSelected/broken-image.png +0 -0
- data/examples_for_vis/network/imageSelected/imageSelected.html +82 -0
- data/examples_for_vis/network/imageSelected/selected.svg +53 -0
- data/examples_for_vis/network/imageSelected/unselected.svg +6 -0
- data/examples_for_vis/network/img/indonesia/1.png +0 -0
- data/examples_for_vis/network/img/indonesia/10.png +0 -0
- data/examples_for_vis/network/img/indonesia/11.png +0 -0
- data/examples_for_vis/network/img/indonesia/12.png +0 -0
- data/examples_for_vis/network/img/indonesia/13.png +0 -0
- data/examples_for_vis/network/img/indonesia/14.png +0 -0
- data/examples_for_vis/network/img/indonesia/2.png +0 -0
- data/examples_for_vis/network/img/indonesia/3.png +0 -0
- data/examples_for_vis/network/img/indonesia/4.png +0 -0
- data/examples_for_vis/network/img/indonesia/5.png +0 -0
- data/examples_for_vis/network/img/indonesia/6.png +0 -0
- data/examples_for_vis/network/img/indonesia/7.png +0 -0
- data/examples_for_vis/network/img/indonesia/8.png +0 -0
- data/examples_for_vis/network/img/indonesia/9.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-Fax-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-Laptop-1-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-Mobile-Phone-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-My-Computer-3-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-My-PDA-02-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-My-PDA-04-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-My-PDA-05-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-My-Phone-Picture-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Hardware-Printer-Blue-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Misc-Scanner-default-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Network-Drive-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Network-Internet-Connection-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/Network-Pipe-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/System-Firewall-2-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/System-Globe-icon.png +0 -0
- data/examples_for_vis/network/img/refresh-cl/license.txt +14 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Document-icon24.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Document-icon32.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Document-icon48.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Email-icon24.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Email-icon32.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Email-icon48.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Folder-icon24.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Folder-icon32.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Folder-icon48.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Folder-icon64.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Smiley-Angry-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/Smiley-Grin-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Administrator-Blue-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Administrator-Green-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Coat-Blue-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Coat-Green-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Coat-Red-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Executive-Green-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Preppy-Blue-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/User-Preppy-Red-icon.png +0 -0
- data/examples_for_vis/network/img/soft-scraps-icons/license.txt +12 -0
- data/examples_for_vis/network/labels/labelAlignment.html +70 -0
- data/examples_for_vis/network/labels/labelBackground.html +57 -0
- data/examples_for_vis/network/labels/labelColorAndSize.html +61 -0
- data/examples_for_vis/network/labels/labelMargins.html +63 -0
- data/examples_for_vis/network/labels/labelMultifont.html +115 -0
- data/examples_for_vis/network/labels/labelStroke.html +61 -0
- data/examples_for_vis/network/labels/multilineText.html +52 -0
- data/examples_for_vis/network/layout/demo.jsonp +1894 -0
- data/examples_for_vis/network/layout/demo_big.jsonp +3762 -0
- data/examples_for_vis/network/layout/hierarchicalLayout.html +114 -0
- data/examples_for_vis/network/layout/hierarchicalLayoutBigUserDefined.html +46 -0
- data/examples_for_vis/network/layout/hierarchicalLayoutMethods.html +108 -0
- data/examples_for_vis/network/layout/hierarchicalLayoutUserdefined.html +152 -0
- data/examples_for_vis/network/layout/hierarchicalLayoutWithoutPhysics.html +111 -0
- data/examples_for_vis/network/layout/randomSeed.html +60 -0
- data/examples_for_vis/network/nodeStyles/HTMLInNodes.html +83 -0
- data/examples_for_vis/network/nodeStyles/circularImages.html +219 -0
- data/examples_for_vis/network/nodeStyles/colors.html +140 -0
- data/examples_for_vis/network/nodeStyles/customGroups.html +132 -0
- data/examples_for_vis/network/nodeStyles/groups.html +119 -0
- data/examples_for_vis/network/nodeStyles/icons.html +196 -0
- data/examples_for_vis/network/nodeStyles/images.html +82 -0
- data/examples_for_vis/network/nodeStyles/imagesWithBorders.html +105 -0
- data/examples_for_vis/network/nodeStyles/shadows.html +119 -0
- data/examples_for_vis/network/nodeStyles/shapes.html +73 -0
- data/examples_for_vis/network/nodeStyles/shapesWithDashedBorders.html +61 -0
- data/examples_for_vis/network/nodeStyles/widthHeight.html +121 -0
- data/examples_for_vis/network/other/animationShowcase.html +279 -0
- data/examples_for_vis/network/other/changingClusteredEdgesNodes.html +107 -0
- data/examples_for_vis/network/other/chosen.html +466 -0
- data/examples_for_vis/network/other/clustering.html +141 -0
- data/examples_for_vis/network/other/clusteringByZoom.html +160 -0
- data/examples_for_vis/network/other/clustersOfclusters.html +88 -0
- data/examples_for_vis/network/other/configuration.html +83 -0
- data/examples_for_vis/network/other/cursorChange.html +140 -0
- data/examples_for_vis/network/other/manipulation.html +193 -0
- data/examples_for_vis/network/other/manipulationEditEdgeNoDrag.html +255 -0
- data/examples_for_vis/network/other/navigation.html +135 -0
- data/examples_for_vis/network/other/onLoadAnimation.html +85 -0
- data/examples_for_vis/network/other/performance.html +91 -0
- data/examples_for_vis/network/other/saveAndLoad.html +202 -0
- data/examples_for_vis/network/physics/physicsConfiguration.html +85 -0
- data/examples_for_vis/timeline/basicUsage.html +45 -0
- data/examples_for_vis/timeline/dataHandling/dataSerialization.html +123 -0
- data/examples_for_vis/timeline/dataHandling/loadExternalData.html +61 -0
- data/examples_for_vis/timeline/editing/customSnappingOfItems.html +76 -0
- data/examples_for_vis/timeline/editing/editingItems.html +109 -0
- data/examples_for_vis/timeline/editing/editingItemsCallbacks.html +172 -0
- data/examples_for_vis/timeline/editing/individualEditableItems.html +131 -0
- data/examples_for_vis/timeline/editing/itemsAlwaysDraggable.html +44 -0
- data/examples_for_vis/timeline/editing/overrideEditingItems.html +166 -0
- data/examples_for_vis/timeline/editing/tooltipOnItemChange.html +133 -0
- data/examples_for_vis/timeline/editing/updateDataOnEvent.html +87 -0
- data/examples_for_vis/timeline/groups/groups.html +79 -0
- data/examples_for_vis/timeline/groups/groupsEditable.html +2001 -0
- data/examples_for_vis/timeline/groups/groupsOrdering.html +117 -0
- data/examples_for_vis/timeline/groups/nestedGroups.html +113 -0
- data/examples_for_vis/timeline/groups/subgroups.html +326 -0
- data/examples_for_vis/timeline/groups/verticalItemsHide.html +196 -0
- data/examples_for_vis/timeline/interaction/animateWindow.html +143 -0
- data/examples_for_vis/timeline/interaction/clickToUse.html +107 -0
- data/examples_for_vis/timeline/interaction/eventListeners.html +166 -0
- data/examples_for_vis/timeline/interaction/limitMoveAndZoom.html +70 -0
- data/examples_for_vis/timeline/interaction/navigationMenu.html +121 -0
- data/examples_for_vis/timeline/interaction/rollingMode.html +50 -0
- data/examples_for_vis/timeline/interaction/setSelection.html +223 -0
- data/examples_for_vis/timeline/items/backgroundAreas.html +92 -0
- data/examples_for_vis/timeline/items/backgroundAreasWithGroups.html +123 -0
- data/examples_for_vis/timeline/items/expectedVsActualTimesItems.html +136 -0
- data/examples_for_vis/timeline/items/htmlContents.html +109 -0
- data/examples_for_vis/timeline/items/itemOrdering.html +88 -0
- data/examples_for_vis/timeline/items/pointItems.html +124 -0
- data/examples_for_vis/timeline/items/rangeOverflowItem.html +88 -0
- data/examples_for_vis/timeline/items/tooltip.html +120 -0
- data/examples_for_vis/timeline/items/visibleFrameTemplateContent.html +67 -0
- data/examples_for_vis/timeline/other/customTimeBars.html +99 -0
- data/examples_for_vis/timeline/other/customTimeBarsTooltip.html +105 -0
- data/examples_for_vis/timeline/other/dataAttributes.html +79 -0
- data/examples_for_vis/timeline/other/dataAttributesAll.html +78 -0
- data/examples_for_vis/timeline/other/drag&drop.html +201 -0
- data/examples_for_vis/timeline/other/functionLabelFormats.html +147 -0
- data/examples_for_vis/timeline/other/groupsPerformance.html +124 -0
- data/examples_for_vis/timeline/other/hidingPeriods.html +92 -0
- data/examples_for_vis/timeline/other/horizontalScroll.html +77 -0
- data/examples_for_vis/timeline/other/localization.html +81 -0
- data/examples_for_vis/timeline/other/performance.html +79 -0
- data/examples_for_vis/timeline/other/requirejs/requirejs_example.html +17 -0
- data/examples_for_vis/timeline/other/requirejs/scripts/main.js +19 -0
- data/examples_for_vis/timeline/other/requirejs/scripts/require.js +35 -0
- data/examples_for_vis/timeline/other/rtl.html +82 -0
- data/examples_for_vis/timeline/other/stressPerformance.html +66 -0
- data/examples_for_vis/timeline/other/timezone.html +98 -0
- data/examples_for_vis/timeline/other/usingReact.html +68 -0
- data/examples_for_vis/timeline/other/verticalScroll.html +91 -0
- data/examples_for_vis/timeline/resources/data/basic.json +34 -0
- data/examples_for_vis/timeline/resources/data/wk2014.json +152 -0
- data/examples_for_vis/timeline/resources/img/Hardware-Mobile-Phone-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/attachment-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/blog-post-edit-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/comments-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/community-users-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/license.txt +17 -0
- data/examples_for_vis/timeline/resources/img/license_aesthetica-2.txt +36 -0
- data/examples_for_vis/timeline/resources/img/license_refresh-cl.txt +26 -0
- data/examples_for_vis/timeline/resources/img/mail-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/notes-edit-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/product-icon.png +0 -0
- data/examples_for_vis/timeline/resources/img/truck-icon.png +0 -0
- data/examples_for_vis/timeline/styling/axisOrientation.html +113 -0
- data/examples_for_vis/timeline/styling/customCss.html +128 -0
- data/examples_for_vis/timeline/styling/gridStyling.html +80 -0
- data/examples_for_vis/timeline/styling/itemClassNames.html +125 -0
- data/examples_for_vis/timeline/styling/itemTemplates.html +264 -0
- data/examples_for_vis/timeline/styling/weekStyling.html +129 -0
- data/lib/visjs/rails/version.rb +1 -1
- data/vendor/assets/images/network/acceptDeleteIcon.png +0 -0
- data/vendor/assets/images/network/addNodeIcon.png +0 -0
- data/vendor/assets/images/network/backIcon.png +0 -0
- data/vendor/assets/images/network/connectIcon.png +0 -0
- data/vendor/assets/images/network/cross.png +0 -0
- data/vendor/assets/images/network/cross2.png +0 -0
- data/vendor/assets/images/network/deleteIcon.png +0 -0
- data/vendor/assets/images/network/downArrow.png +0 -0
- data/vendor/assets/images/network/editIcon.png +0 -0
- data/vendor/assets/images/network/leftArrow.png +0 -0
- data/vendor/assets/images/network/minus.png +0 -0
- data/vendor/assets/images/network/plus.png +0 -0
- data/vendor/assets/images/network/rightArrow.png +0 -0
- data/vendor/assets/images/network/upArrow.png +0 -0
- data/vendor/assets/images/network/zoomExtends.png +0 -0
- data/vendor/assets/javascripts/vis-graph3d.min.js +9 -12
- data/vendor/assets/javascripts/vis-network.min.js +9 -20
- data/vendor/assets/javascripts/vis-timeline-graph2d.min.js +9 -18
- data/vendor/assets/javascripts/vis.js +53293 -39579
- data/vendor/assets/javascripts/vis.min.js +26 -23
- data/vendor/assets/stylesheets/vis-network.min.css +1 -0
- data/vendor/assets/stylesheets/vis-timeline-graph2d.min.css +1 -0
- data/vendor/assets/stylesheets/{vis.scss → vis.css} +764 -640
- data/vendor/assets/stylesheets/vis.min.css +1 -0
- metadata +365 -6
- data/vendor/assets/images/timeline/delete.png +0 -0
- data/vendor/assets/stylesheets/vis.min.scss +0 -1
@@ -0,0 +1,80 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Convert CSV to Google Datatable</title>
|
5
|
+
|
6
|
+
<style>
|
7
|
+
body {font: 10pt arial;}
|
8
|
+
</style>
|
9
|
+
|
10
|
+
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
11
|
+
<script type="text/javascript" src="csv2array.js"></script>
|
12
|
+
|
13
|
+
<script type="text/javascript">
|
14
|
+
var data = null;
|
15
|
+
var graph = null;
|
16
|
+
|
17
|
+
function loaded() {
|
18
|
+
|
19
|
+
}
|
20
|
+
|
21
|
+
google.load("visualization", "1");
|
22
|
+
|
23
|
+
// Set callback to run when API is loaded
|
24
|
+
google.setOnLoadCallback(loaded);
|
25
|
+
|
26
|
+
// Called when the Visualization API is loaded.
|
27
|
+
function convert() {
|
28
|
+
var csv = document.getElementById("csv").value;
|
29
|
+
|
30
|
+
var datatable = "";
|
31
|
+
|
32
|
+
// parse the csv content
|
33
|
+
var csvArray = csv2array(csv);
|
34
|
+
|
35
|
+
// Create and populate a data table.
|
36
|
+
datatable += "data = new google.visualization.DataTable();\n";
|
37
|
+
|
38
|
+
// read the header row
|
39
|
+
for (var col = 0; col < csvArray[0].length; col++) {
|
40
|
+
datatable += "data.addColumn('number', '" + csvArray[0][col] + "');\n";
|
41
|
+
}
|
42
|
+
|
43
|
+
// read all data
|
44
|
+
for (var row = 1; row < csvArray.length; row++) {
|
45
|
+
datatable += "data.addRow([";
|
46
|
+
|
47
|
+
for (var col = 0; col < csvArray[row].length; col++) {
|
48
|
+
if (col != 0)
|
49
|
+
datatable += ", ";
|
50
|
+
datatable += csvArray[row][col];
|
51
|
+
}
|
52
|
+
|
53
|
+
datatable += "]);\n";
|
54
|
+
}
|
55
|
+
|
56
|
+
document.getElementById("datatable").value = datatable;
|
57
|
+
|
58
|
+
alert(csvArray.length + " rows converted");
|
59
|
+
}
|
60
|
+
</script>
|
61
|
+
</head>
|
62
|
+
|
63
|
+
<body>
|
64
|
+
<div id="graph"></div>
|
65
|
+
|
66
|
+
<div id="info"></div>
|
67
|
+
|
68
|
+
<b>CSV</b><br>
|
69
|
+
<textarea id="csv" style="width: 400px; height: 300px;"></textarea>
|
70
|
+
<br>
|
71
|
+
<br>
|
72
|
+
<input type="button" value="Convert" onclick="convert();">
|
73
|
+
<br>
|
74
|
+
<br>
|
75
|
+
|
76
|
+
<b>Google DataTable</b><br>
|
77
|
+
<textarea id="datatable" style="width: 400px; height: 300px;"></textarea>
|
78
|
+
|
79
|
+
</body>
|
80
|
+
</html>
|
@@ -0,0 +1,173 @@
|
|
1
|
+
<html>
|
2
|
+
|
3
|
+
<head>
|
4
|
+
<title>Graph3d documentation</title>
|
5
|
+
<link rel='stylesheet' href='default.css' type='text/css'>
|
6
|
+
|
7
|
+
<link href="prettify/prettify.css" type="text/css" rel="stylesheet" />
|
8
|
+
<script type="text/javascript" src="prettify/prettify.js"></script>
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body onload="prettyPrint();">
|
12
|
+
|
13
|
+
<pre class="prettyprint lang-php">
|
14
|
+
<?php
|
15
|
+
|
16
|
+
/*
|
17
|
+
This datasource returns a response in the form of a google query response
|
18
|
+
|
19
|
+
USAGE
|
20
|
+
All parameters are optional
|
21
|
+
datasource.php?xmin=0&xmax=314&xstepnum=25&ymin=0&ymax=314&ystepnum=25
|
22
|
+
|
23
|
+
DOCUMENTATION
|
24
|
+
http://code.google.com/apis/visualization/documentation/dev/implementing_data_source.html
|
25
|
+
|
26
|
+
|
27
|
+
EXAMPLE OF A RESPONSE FILE
|
28
|
+
|
29
|
+
Note that the reqId in the response must correspond with the reqId from the
|
30
|
+
request.
|
31
|
+
________________________________________________________________________________
|
32
|
+
|
33
|
+
google.visualization.Query.setResponse({
|
34
|
+
version:'0.6',
|
35
|
+
reqId:'0',
|
36
|
+
status:'ok',
|
37
|
+
table:{
|
38
|
+
cols:[
|
39
|
+
{id:'x',
|
40
|
+
label:'x',
|
41
|
+
type:'number'},
|
42
|
+
{id:'y',
|
43
|
+
label:'y',
|
44
|
+
type:'number'},
|
45
|
+
{id:'value',
|
46
|
+
label:'value',
|
47
|
+
type:'number'}
|
48
|
+
],
|
49
|
+
rows:[
|
50
|
+
{c:[{v:0}, {v:0}, {v:10.0}]},
|
51
|
+
{c:[{v:1}, {v:0}, {v:12.0}]},
|
52
|
+
{c:[{v:2}, {v:0}, {v:13.0}]},
|
53
|
+
{c:[{v:0}, {v:1}, {v:11.0}]},
|
54
|
+
{c:[{v:1}, {v:1}, {v:14.0}]},
|
55
|
+
{c:[{v:2}, {v:1}, {v:11.0}]}
|
56
|
+
]
|
57
|
+
}
|
58
|
+
});
|
59
|
+
________________________________________________________________________________
|
60
|
+
|
61
|
+
*/
|
62
|
+
|
63
|
+
|
64
|
+
/**
|
65
|
+
* A custom function
|
66
|
+
*/
|
67
|
+
function custom($x, $y) {
|
68
|
+
$d = sqrt(pow($x/100, 2) + pow($y/100, 2));
|
69
|
+
|
70
|
+
return 50 * exp(-5 * $d / 10) * sin($d*5)
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
// retrieve parameters
|
77
|
+
$default_stepnum = 25;
|
78
|
+
|
79
|
+
$xmin = isset($_REQUEST['xmin']) ? (float)$_REQUEST['xmin'] : -100;
|
80
|
+
$xmax = isset($_REQUEST['xmax']) ? (float)$_REQUEST['xmax'] : 100;
|
81
|
+
$xstepnum = isset($_REQUEST['xstepnum']) ? (int)$_REQUEST['xstepnum'] : $default_stepnum;
|
82
|
+
|
83
|
+
$ymin = isset($_REQUEST['ymin']) ? (float)$_REQUEST['ymin'] : -100;
|
84
|
+
$ymax = isset($_REQUEST['ymax']) ? (float)$_REQUEST['ymax'] : 100;
|
85
|
+
$ystepnum = isset($_REQUEST['ystepnum']) ? (int)$_REQUEST['ystepnum'] : $default_stepnum;
|
86
|
+
|
87
|
+
// in the reply we must fill in the request id that came with the request
|
88
|
+
$reqId = getReqId();
|
89
|
+
|
90
|
+
// check for a maximum number of datapoints (for safety)
|
91
|
+
if ($xstepnum * $ystepnum > 10000) {
|
92
|
+
echo "google.visualization.Query.setResponse({
|
93
|
+
version:'0.6',
|
94
|
+
reqId:'$reqId',
|
95
|
+
status:'error',
|
96
|
+
errors:[{reason:'not_supported', message:'Maximum number of datapoints exceeded'}]
|
97
|
+
});";
|
98
|
+
|
99
|
+
exit;
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
// output the header part of the response
|
104
|
+
echo "google.visualization.Query.setResponse({
|
105
|
+
version:'0.6',
|
106
|
+
reqId:'$reqId',
|
107
|
+
status:'ok',
|
108
|
+
table:{
|
109
|
+
cols:[
|
110
|
+
{id:'x',
|
111
|
+
label:'x',
|
112
|
+
type:'number'},
|
113
|
+
{id:'y',
|
114
|
+
label:'y',
|
115
|
+
type:'number'},
|
116
|
+
{id:'value',
|
117
|
+
label:'',
|
118
|
+
type:'number'}
|
119
|
+
],
|
120
|
+
rows:[";
|
121
|
+
|
122
|
+
// output the actual values
|
123
|
+
$first = true;
|
124
|
+
$xstep = ($xmax - $xmin) / $xstepnum;
|
125
|
+
$ystep = ($ymax - $ymin) / $ystepnum;
|
126
|
+
for ($x = $xmin; $x < $xmax; $x+=$xstep) {
|
127
|
+
for ($y = $ymin; $y < $ymax; $y+=$ystep) {
|
128
|
+
$value = custom($x,$y);
|
129
|
+
|
130
|
+
if (!$first) {
|
131
|
+
echo ",\n";
|
132
|
+
}
|
133
|
+
else {
|
134
|
+
echo "\n";
|
135
|
+
}
|
136
|
+
echo " {c:[{v:$x}, {v:$y}, {v:$value}]}";
|
137
|
+
|
138
|
+
$first = false;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
|
143
|
+
// output the end part of the response
|
144
|
+
echo "
|
145
|
+
]
|
146
|
+
}
|
147
|
+
});
|
148
|
+
";
|
149
|
+
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Retrieve the request id from the get/post data
|
153
|
+
* @return {number} $reqId The request id, or 0 if not found
|
154
|
+
*/
|
155
|
+
function getReqId() {
|
156
|
+
$reqId = 0;
|
157
|
+
|
158
|
+
foreach ($_REQUEST as $req) {
|
159
|
+
if (substr($req, 0,6) == "reqId:") {
|
160
|
+
$reqId = substr($req, 6);
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
return $reqId;
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
?>
|
169
|
+
|
170
|
+
</pre>
|
171
|
+
|
172
|
+
</body>
|
173
|
+
</html>
|
@@ -0,0 +1,155 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
This datasource returns a response in the form of a google query response
|
5
|
+
|
6
|
+
USAGE
|
7
|
+
All parameters are optional
|
8
|
+
datasource.php?xmin=0&xmax=314&xstepnum=25&ymin=0&ymax=314&ystepnum=25
|
9
|
+
|
10
|
+
DOCUMENTATION
|
11
|
+
http://code.google.com/apis/visualization/documentation/dev/implementing_data_source.html
|
12
|
+
|
13
|
+
|
14
|
+
EXAMPLE OF A RESPONSE FILE
|
15
|
+
|
16
|
+
Note that the reqId in the response must correspond with the reqId from the
|
17
|
+
request.
|
18
|
+
________________________________________________________________________________
|
19
|
+
|
20
|
+
google.visualization.Query.setResponse({
|
21
|
+
version:'0.6',
|
22
|
+
reqId:'0',
|
23
|
+
status:'ok',
|
24
|
+
table:{
|
25
|
+
cols:[
|
26
|
+
{id:'x',
|
27
|
+
label:'x',
|
28
|
+
type:'number'},
|
29
|
+
{id:'y',
|
30
|
+
label:'y',
|
31
|
+
type:'number'},
|
32
|
+
{id:'value',
|
33
|
+
label:'value',
|
34
|
+
type:'number'}
|
35
|
+
],
|
36
|
+
rows:[
|
37
|
+
{c:[{v:0}, {v:0}, {v:10.0}]},
|
38
|
+
{c:[{v:1}, {v:0}, {v:12.0}]},
|
39
|
+
{c:[{v:2}, {v:0}, {v:13.0}]},
|
40
|
+
{c:[{v:0}, {v:1}, {v:11.0}]},
|
41
|
+
{c:[{v:1}, {v:1}, {v:14.0}]},
|
42
|
+
{c:[{v:2}, {v:1}, {v:11.0}]}
|
43
|
+
]
|
44
|
+
}
|
45
|
+
});
|
46
|
+
________________________________________________________________________________
|
47
|
+
|
48
|
+
*/
|
49
|
+
|
50
|
+
|
51
|
+
/**
|
52
|
+
* A custom function
|
53
|
+
*/
|
54
|
+
function custom($x, $y) {
|
55
|
+
$d = sqrt(pow($x/100, 2) + pow($y/100, 2));
|
56
|
+
|
57
|
+
return 50 * exp(-5 * $d / 10) * sin($d*5);
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
// retrieve parameters
|
64
|
+
$default_stepnum = 25;
|
65
|
+
|
66
|
+
$xmin = isset($_REQUEST['xmin']) ? (float)$_REQUEST['xmin'] : -100;
|
67
|
+
$xmax = isset($_REQUEST['xmax']) ? (float)$_REQUEST['xmax'] : 100;
|
68
|
+
$xstepnum = isset($_REQUEST['xstepnum']) ? (int)$_REQUEST['xstepnum'] : $default_stepnum;
|
69
|
+
|
70
|
+
$ymin = isset($_REQUEST['ymin']) ? (float)$_REQUEST['ymin'] : -100;
|
71
|
+
$ymax = isset($_REQUEST['ymax']) ? (float)$_REQUEST['ymax'] : 100;
|
72
|
+
$ystepnum = isset($_REQUEST['ystepnum']) ? (int)$_REQUEST['ystepnum'] : $default_stepnum;
|
73
|
+
|
74
|
+
// in the reply we must fill in the request id that came with the request
|
75
|
+
$reqId = getReqId();
|
76
|
+
|
77
|
+
// check for a maximum number of datapoints (for safety)
|
78
|
+
if ($xstepnum * $ystepnum > 10000) {
|
79
|
+
echo "google.visualization.Query.setResponse({
|
80
|
+
version:'0.6',
|
81
|
+
reqId:'$reqId',
|
82
|
+
status:'error',
|
83
|
+
errors:[{reason:'not_supported', message:'Maximum number of datapoints exceeded'}]
|
84
|
+
});";
|
85
|
+
|
86
|
+
exit;
|
87
|
+
}
|
88
|
+
|
89
|
+
|
90
|
+
// output the header part of the response
|
91
|
+
echo "google.visualization.Query.setResponse({
|
92
|
+
version:'0.6',
|
93
|
+
reqId:'$reqId',
|
94
|
+
status:'ok',
|
95
|
+
table:{
|
96
|
+
cols:[
|
97
|
+
{id:'x',
|
98
|
+
label:'x',
|
99
|
+
type:'number'},
|
100
|
+
{id:'y',
|
101
|
+
label:'y',
|
102
|
+
type:'number'},
|
103
|
+
{id:'value',
|
104
|
+
label:'',
|
105
|
+
type:'number'}
|
106
|
+
],
|
107
|
+
rows:[";
|
108
|
+
|
109
|
+
// output the actual values
|
110
|
+
$first = true;
|
111
|
+
$xstep = ($xmax - $xmin) / $xstepnum;
|
112
|
+
$ystep = ($ymax - $ymin) / $ystepnum;
|
113
|
+
for ($x = $xmin; $x < $xmax; $x+=$xstep) {
|
114
|
+
for ($y = $ymin; $y < $ymax; $y+=$ystep) {
|
115
|
+
$value = custom($x,$y);
|
116
|
+
|
117
|
+
if (!$first) {
|
118
|
+
echo ",\n";
|
119
|
+
}
|
120
|
+
else {
|
121
|
+
echo "\n";
|
122
|
+
}
|
123
|
+
echo " {c:[{v:$x}, {v:$y}, {v:$value}]}";
|
124
|
+
|
125
|
+
$first = false;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
// output the end part of the response
|
131
|
+
echo "
|
132
|
+
]
|
133
|
+
}
|
134
|
+
});
|
135
|
+
";
|
136
|
+
|
137
|
+
|
138
|
+
/**
|
139
|
+
* Retrieve the request id from the get/post data
|
140
|
+
* @return {number} $reqId The request id, or 0 if not found
|
141
|
+
*/
|
142
|
+
function getReqId() {
|
143
|
+
$reqId = 0;
|
144
|
+
|
145
|
+
foreach ($_REQUEST as $req) {
|
146
|
+
if (substr($req, 0,6) == "reqId:") {
|
147
|
+
$reqId = substr($req, 6);
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
return $reqId;
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
?>
|
@@ -0,0 +1,196 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<title>Graph 3D - Playground</title>
|
6
|
+
|
7
|
+
<script type="text/javascript" src="../../../vendor/assets/javascripts/vis.js"></script>
|
8
|
+
|
9
|
+
<script type="text/javascript" src="playground.js"></script>
|
10
|
+
<script type="text/javascript" src="csv2array.js"></script>
|
11
|
+
<link rel='stylesheet' href='playground.css' type='text/css'>
|
12
|
+
|
13
|
+
<script type="text/javascript">
|
14
|
+
// Called when the Visualization API is loaded.
|
15
|
+
function drawVisualization() {
|
16
|
+
// TODO
|
17
|
+
}
|
18
|
+
</script>
|
19
|
+
|
20
|
+
</head>
|
21
|
+
|
22
|
+
<body onload="load();">
|
23
|
+
|
24
|
+
<h1>Graph 3D - Playground</h1>
|
25
|
+
|
26
|
+
<table style="width:100%;">
|
27
|
+
<col width="50%">
|
28
|
+
<col width="50%">
|
29
|
+
|
30
|
+
<tr>
|
31
|
+
<td>
|
32
|
+
<h2>Data</h2>
|
33
|
+
<p>
|
34
|
+
Graph 3D expects a data table with first three to five columns:
|
35
|
+
colums <code>x</code>, <code>y</code>, <code>z</code> (optional),
|
36
|
+
<code>style</code>, <code>filter</code> (optional).
|
37
|
+
</p>
|
38
|
+
|
39
|
+
<table>
|
40
|
+
<tr>
|
41
|
+
<td style="white-space: nowrap">
|
42
|
+
<input type="radio" name="datatype" id="datatypeCsv" onclick="selectDataType();" checked value="csv">Csv
|
43
|
+
</td>
|
44
|
+
<td>
|
45
|
+
<div id="csv">
|
46
|
+
<textarea id="csvTextarea"></textarea>
|
47
|
+
<p>
|
48
|
+
<a href="javascript: loadCsvExample();" title="Load an example">Simple example</a>
|
49
|
+
<a href="javascript: loadCsvLineExample();" title="Load an example">Line example</a>
|
50
|
+
<a href="javascript: loadCsvAnimationExample();" title="Load an example">Animation example</a>
|
51
|
+
<a href="javascript: loadCsvMovingDotsExample();" title="Load an example">Moving dots example</a>
|
52
|
+
<a href="javascript: loadCsvColoredDotsExample();" title="Load an example">Colored dots example</a>
|
53
|
+
<a href="javascript: loadCsvSizedDotsExample();" title="Load an example">Sized dots example</a>
|
54
|
+
</p>
|
55
|
+
</div>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<!-- TODO: add JSON examples -->
|
59
|
+
</table>
|
60
|
+
|
61
|
+
<br>
|
62
|
+
</td>
|
63
|
+
<td rowspan=2>
|
64
|
+
<h2>Graph</h2>
|
65
|
+
<p>
|
66
|
+
<input type="button" value="Draw graph" onclick="draw();" id="draw">
|
67
|
+
</p>
|
68
|
+
|
69
|
+
<div id="graph"></div>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td>
|
74
|
+
<h2>Options</h2>
|
75
|
+
|
76
|
+
<table>
|
77
|
+
<tr>
|
78
|
+
<th>Option</th>
|
79
|
+
<th>Value</th>
|
80
|
+
</tr>
|
81
|
+
|
82
|
+
<tr>
|
83
|
+
<td>width</td>
|
84
|
+
<td><input type="text" id="width" value="100%" /> <span class="info">for example "500px" or "100%"</span></td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td>height</td>
|
88
|
+
<td><input type="text" id="height" value="100%" /> <span class="info">for example "500px" or "100%"</span></td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td>style</td>
|
92
|
+
<td>
|
93
|
+
<select id="style">
|
94
|
+
<option value="bar" >bar
|
95
|
+
<option value="bar-color" >bar-color
|
96
|
+
<option value="bar-size" >bar-size
|
97
|
+
<option value="dot" >dot
|
98
|
+
<option value="dot-color" >dot-color
|
99
|
+
<option value="dot-size" >dot-size
|
100
|
+
<option value="dot-line" >dot-line
|
101
|
+
<option value="line" >line
|
102
|
+
<option value="grid" >grid
|
103
|
+
<option value="surface" selected>surface
|
104
|
+
</select>
|
105
|
+
</tr>
|
106
|
+
|
107
|
+
<tr>
|
108
|
+
<td>showAnimationControls</td>
|
109
|
+
<td><input type="checkbox" id="showAnimationControls" checked /></td>
|
110
|
+
</tr>
|
111
|
+
<tr>
|
112
|
+
<td>showGrid</td>
|
113
|
+
<td><input type="checkbox" id="showGrid" checked /></td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td>showXAxis</td>
|
117
|
+
<td><input type="checkbox" id="showXAxis" checked /></td>
|
118
|
+
</tr>
|
119
|
+
<tr>
|
120
|
+
<td>showYAxis</td>
|
121
|
+
<td><input type="checkbox" id="showYAxis" checked /></td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<td>showZAxis</td>
|
125
|
+
<td><input type="checkbox" id="showZAxis" checked /></td>
|
126
|
+
</tr>
|
127
|
+
|
128
|
+
<tr>
|
129
|
+
<td>showPerspective</td>
|
130
|
+
<td><input type="checkbox" id="showPerspective" checked /></td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td>showLegend</td>
|
134
|
+
<td><input type="checkbox" id="showLegend" checked /></td>
|
135
|
+
</tr>
|
136
|
+
<tr>
|
137
|
+
<td>showShadow</td>
|
138
|
+
<td><input type="checkbox" id="showShadow" /></td>
|
139
|
+
</tr>
|
140
|
+
|
141
|
+
<tr>
|
142
|
+
<td>keepAspectRatio</td>
|
143
|
+
<td><input type="checkbox" id="keepAspectRatio" checked /></td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td>verticalRatio</td>
|
147
|
+
<td><input type="text" id="verticalRatio" value="0.5" /> <span class="info">a value between 0.1 and 1.0</span></td>
|
148
|
+
</tr>
|
149
|
+
|
150
|
+
<tr>
|
151
|
+
<td>animationInterval</td>
|
152
|
+
<td><input type="text" id="animationInterval" value="1000" /> <span class="info">in milliseconds</span></td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td>animationPreload</td>
|
156
|
+
<td><input type="checkbox" id="animationPreload" /></td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td>animationAutoStart</td>
|
160
|
+
<td><input type="checkbox" id="animationAutoStart" /></td>
|
161
|
+
</tr>
|
162
|
+
|
163
|
+
<tr><td>xCenter</td><td><input type="text" id="xCenter" value="55%" /></td></tr>
|
164
|
+
<tr><td>yCenter</td><td><input type="text" id="yCenter" value="45%" /></td></tr>
|
165
|
+
|
166
|
+
<tr><td>xMin</td><td><input type="text" id="xMin" /></td></tr>
|
167
|
+
<tr><td>xMax</td><td><input type="text" id="xMax" /></td></tr>
|
168
|
+
<tr><td>xStep</td><td><input type="text" id="xStep" /></td></tr>
|
169
|
+
|
170
|
+
<tr><td>yMin</td><td><input type="text" id="yMin" /></td></tr>
|
171
|
+
<tr><td>yMax</td><td><input type="text" id="yMax" /></td></tr>
|
172
|
+
<tr><td>yStep</td><td><input type="text" id="yStep" /></td></tr>
|
173
|
+
|
174
|
+
<tr><td>zMin</td><td><input type="text" id="zMin" /></td></tr>
|
175
|
+
<tr><td>zMax</td><td><input type="text" id="zMax" /></td></tr>
|
176
|
+
<tr><td>zStep</td><td><input type="text" id="zStep" /></td></tr>
|
177
|
+
|
178
|
+
<tr><td>valueMin</td><td><input type="text" id="valueMin" /></td></tr>
|
179
|
+
<tr><td>valueMax</td><td><input type="text" id="valueMax" /></td></tr>
|
180
|
+
|
181
|
+
<tr><td>xBarWidth</td><td><input type="text" id="xBarWidth" /></td></tr>
|
182
|
+
<tr><td>yBarWidth</td><td><input type="text" id="yBarWidth" /></td></tr>
|
183
|
+
|
184
|
+
<tr><td>xLabel</td><td><input type="text" id="xLabel" value="x"/></td></tr>
|
185
|
+
<tr><td>yLabel</td><td><input type="text" id="yLabel" value="y"/></td></tr>
|
186
|
+
<tr><td>zLabel</td><td><input type="text" id="zLabel" value="z"/></td></tr>
|
187
|
+
<tr><td>filterLabel</td><td><input type="text" id="filterLabel" value="time"/></td></tr>
|
188
|
+
<tr><td>legendLabel</td><td><input type="text" id="legendLabel" value="value"/></td></tr>
|
189
|
+
|
190
|
+
</table>
|
191
|
+
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
</table>
|
195
|
+
|
196
|
+
</body>
|