Code Monkey home page Code Monkey logo

vis-gem's Introduction

vis.js on RoR

Gem Version Build Status

A dynamic, browser based visualization library. vis.js is designed to be easy to use, to handle large amounts of dynamic data, and to enable manipulation of and interaction with the data. More info at vis.js official website.

vis-gem wraps vis.js dependencies in assets pipeline in Ruby on Rails (=> 3.1) projects.

Actual vis.js version is 4.21.0 (released on 12 Oct 2017, see release notes).

Thanks to luciuschoi for the original idea.

Installation

Add this line to Gemfile:

gem 'vis-gem'

And then execute:

$ bundle

Or install it with:

$ gem install vis-gem

Usage

  1. Add this to application.js (assets/javascripts/application.js):
//= require ...
//= require vis
//= require ...
  1. Add this to application.scss (assets/stylesheets/application.scss):
...
@import "vis";
...
  1. And this to config/initializers/assets.rb (for assets):
Rails.application.config.assets.precompile += %w( network/* )

See original vis.js documentation for vis.js properties and methods.

Changelog

  • v4.21.0.0: Update with vis.js v4.21.0 (released on 12 Oct 2017, see release notes).
  • v4.20.0.1: Update with vis.js v4.20.1 (released on 4 Jul 2017, see release notes).
  • 4.20.0: First Release with vis.js v4.20.0 (released on 21 May 2017, see release notes).

Contributing

See Contributing document.

License

(C) Fabrizio Fallico 2017, released under the MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.