Comments (9)
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.
Added to https://github.com/ankane/chartkick.js
from chartkick.
And now it's just a bundle update
away :)
from chartkick.
I don't see any documentation on how to use the stacked bar and column charts? Is this supported?
from chartkick.
Not sure why this issue was closed - I never implemented it. You can use the library
option to accomplish it.
from chartkick.
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.
For Google Charts:
<%= bar_chart data, :library => {:isStacked => true} %>
from chartkick.
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.
Added a stacked
option to master. 02fca21
gem "chartkick", github: "ankane/chartkick"
and
bundle update chartkick
from chartkick.
Related Issues (20)
- Chart HOT 1
- More formatting options on chart legends HOT 3
- Overlapping issue HOT 1
- Make chart download link image visible at all times HOT 2
- Better adding of plugins to Chart.js with Chartkick HOT 9
- Charts stuck at "Loading..." [example included] HOT 4
- CSP compliance breaks when used with Turbo Drive w/ and random nonce generator HOT 3
- Add support for chart.js 4.x HOT 3
- Add combo bar/line charts HOT 2
- Jruby Support HOT 1
- Support for Apex Charts HOT 1
- Add support for limiting the serie to a certain time frame HOT 1
- Support for polar (spiderweb) charts HOT 1
- Demo not rendering correctly in Safari HOT 2
- `createChart` is not fired after Turbo Frame renders the view HOT 8
- Comparisons in Two Date Ranges HOT 1
- Error importing Chartkick object HOT 2
- Provide ES module for JS with default exports HOT 1
- Rails 7 Setup Additional Step Needed HOT 4
- Canvas accessibility options like aria-label HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chartkick.