All Projects → SunnyLi → c3-rails

SunnyLi / c3-rails

Licence: MIT License
c3 for Rails

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to c3-rails

CryptoBuddy
Android app which displays cryptocurrency prices, charts and news!
Stars: ✭ 93 (+520%)
Mutual labels:  chart
chart-type-icon
An icon library that covers the vast majority of chart types
Stars: ✭ 33 (+120%)
Mutual labels:  chart
open money tracker
Open Source accounting application for Android.
Stars: ✭ 19 (+26.67%)
Mutual labels:  chart
asciichart-sharp
C# port of asciichart
Stars: ✭ 27 (+80%)
Mutual labels:  chart
FancyCandles
An open source candlestick chart control for WPF.
Stars: ✭ 60 (+300%)
Mutual labels:  chart
dimibob-potatoes
역대 디미고 급식에서 감자가 들어간 메뉴를 전부 찾아줍니다.
Stars: ✭ 13 (-13.33%)
Mutual labels:  chart
better-access-charts
Better charts for Access with chart.js
Stars: ✭ 19 (+26.67%)
Mutual labels:  chart
Social-Media-Monitor
Automatically monitor and log fan counters from social media(Facebook Pages, Twitter, Instagram, YouTube, Google+, OneSignal, Alexa) using APIs to Google Spreadsheet. Very useful for website admins and social media managers.
Stars: ✭ 36 (+140%)
Mutual labels:  chart
helm-charts
Helm Charts
Stars: ✭ 24 (+60%)
Mutual labels:  chart
chart.xkcd-vue
A xkcd styled chart component for Vue.js based on chart.xkcd.
Stars: ✭ 34 (+126.67%)
Mutual labels:  chart
general-reports
Bunch of general reports for Money Manager Ex
Stars: ✭ 63 (+320%)
Mutual labels:  chart
ZingChart-Demos
A collection of tutorials and demos for using ZingChart. Clone, fork, and get started with the best Javascript charting library.
Stars: ✭ 18 (+20%)
Mutual labels:  chart
GJLineChartView
支持伸缩,长按显示数据的折线图、柱状图、饼状图。
Stars: ✭ 24 (+60%)
Mutual labels:  chart
time chart
A scrollable time chart in Flutter.
Stars: ✭ 21 (+40%)
Mutual labels:  chart
LoadTestToolbox
Lightweight tools for load testing web applications, written in C#
Stars: ✭ 75 (+400%)
Mutual labels:  chart
survey-analytics
SurveyJS Analytics Pack
Stars: ✭ 56 (+273.33%)
Mutual labels:  chart
react-d3-axis
React-based Axis component for D3
Stars: ✭ 26 (+73.33%)
Mutual labels:  chart
RKPieChart
Pie Chart written in Swift 3
Stars: ✭ 67 (+346.67%)
Mutual labels:  chart
a2d3
Flexible and extensible D3 directives for Angular 2
Stars: ✭ 22 (+46.67%)
Mutual labels:  chart
termgraph
terminal candle stick graph library
Stars: ✭ 62 (+313.33%)
Mutual labels:  chart

c3-rails

c3 is a D3-based reusable chart library that enables deeper integration of charts into web applications.

c3-rails provides c3 for Rails 4 (it might work with Rails 3)

Installation

To install, add the following line to your Gemfile:

gem 'c3-rails'

Then add these to their respective file:

app/assets/javascripts/applications.js:

//= require c3

app/assets/stylesheets/applications.css:

*= require c3

Now you've included c3 into your rails project.

But wait, there's more!

Dependency: D3

c3 requires D3 which c3-rails does not include, to get D3 installed try one of the following gems:

or you could copy d3.js to your assets/javascripts manually.

Now c3 is ready to be used on any pages that have assets handled by rails asset pipeline.

Versioning

This gem now follows the version of c3 being included.

So version 0.2.5 of this gem will provide c3 at version 0.2.5.

Install using git submodule

If you wish to have access to all of c3's source files you can install by putting this line in the Gemfile instead:

gem 'c3-rails', :git => 'https://github.com/SunnyLi/c3-rails', :submodules => true

Then you'll be able to include files like

    //= require c3/c3
    //= require c3/c3.min
    //= require c3/extensions/js/c3ext

    *= require c3/c3
    *= require c3/c3.min
    *= require c3/htdocs/css/bootstrap.min

This is just an example, not that you would ever want to include bootstrap into your project this way..

License

Both c3 and c3-rails are licensed under the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].