Skip to content

masroorhussainv/rails_sparkline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RailsSparkline

Short description and motivation.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'rails_sparkline', path: '/path/to/gem'

And then execute:

$ bundle

To render a Sparkline in a view file:

<%= RailsSparkline::Renderer.render([1, 2, 5, 2, 3, 4, 5, 10], width: 200, height: 40, fill: "none", stroke: "blue") %>

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages