Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rubygem for the flot Javascript plotting library for jQuery

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 flot-rails.gemspec
README.md

Flot-rails

Flot! For Rails! So great.

Rails 3.0

This gem adds a single generator to Rails 3, flot:install. Running the generator will copy flot to your public/javascripts directory.

The flot files will be included by the javascript_include_tag(:flot) call in your layout files.

Installation

In your Gemfile, add this line:

gem "flot-rails"

Then, run bundle install. To invoke the generator, run:

rails generate flot:install

Then put the following command in your layout/application.html.erb:

<%= javascript_include_tag :defaults, :flot %>

You're done!

Something went wrong with that request. Please try again.