GithubHelp home page GithubHelp logo

Comments (9)

ankane avatar ankane commented on May 2, 2024

Since Google Charts and Highcharts support both chart types, this would make a nice addition to chartkick.

Here's a good place to start https://github.com/ankane/chartkick.js/blob/master/chartkick.js#L539

I imagine the bar chart will be similar to the column chart, and the stacked area chart similar to the line chart.

from chartkick.

ankane avatar ankane commented on May 2, 2024

Added to https://github.com/ankane/chartkick.js

from chartkick.

ankane avatar ankane commented on May 2, 2024

And now it's just a bundle update away :)

from chartkick.

mmaruri avatar mmaruri commented on May 2, 2024

I don't see any documentation on how to use the stacked bar and column charts? Is this supported?

from chartkick.

ankane avatar ankane commented on May 2, 2024

Not sure why this issue was closed - I never implemented it. You can use the library option to accomplish it.

from chartkick.

mmaruri avatar mmaruri commented on May 2, 2024

Ok - I thought I might be able to do that. I'll head down that path.
Thanks!

On Thu, Jan 9, 2014 at 9:07 PM, Andrew Kane [email protected]:

Not sure why this issue was closed - I never implemented it. You can use
the library option to accomplish it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-32001421
.

from chartkick.

ankane avatar ankane commented on May 2, 2024

For Google Charts:

<%= bar_chart data, :library => {:isStacked => true} %>

from chartkick.

mmaruri avatar mmaruri commented on May 2, 2024

Awesome - thanks!

On Thu, Jan 9, 2014 at 9:10 PM, Andrew Kane [email protected]:

For Google Charts:

<%= bar_chart data, :library => {:isStacked => true} %>


Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-32001510
.

from chartkick.

ankane avatar ankane commented on May 2, 2024

Added a stacked option to master. 02fca21

gem "chartkick", github: "ankane/chartkick"

and

bundle update chartkick

from chartkick.

Related Issues (20)

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.