c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.34k stars 1.39k forks source link

More than 2 Y axes #112

Open nathancole opened 10 years ago

nathancole commented 10 years ago

Any chance at support for more than 2 Y axes? :-)

masayuki0812 commented 10 years ago

I think this is needed, but it would be supported in version 0.2 or higher..

nathancole commented 10 years ago

So funny that you should ask @derricksimpson ! I'm really surprised that you are not familiar with the concept of a triple+ axis solution. Here are a couple of examples that might be instructive. I think it would also be nice to have the option of whether or not to actually display the additional Y axes. If you are showing the value labels, you wouldn't necessarily need to see the axes.

I am a big fan of the first implementation (perhaps with a bit less wasted space. Along with that, it would be nice to have the option to use custom shapes for the data points as you see in several of these charts.

my3 my1 my2 my5

sgoumaz commented 9 years ago

+1

On our side we definitely need to have more than 2 axes in data.axes but we don't need to actually display them (we just want the values to display on the chart surface). Currently, specifying more than 2 Y axes works with tooltip and legend but the points themselves aren't drawn.

(Update: actually the points are drawn, but very likely outside the visible area, which is that of the two supported Y axes.)

I imagine this could be implemented as a first step towards the "full" support described above. For us that's actually a dealbreaker, so happy to work on a PR if it helps.

misaizdaleka commented 9 years ago

+1

birdage commented 9 years ago

:+1:

lukecampbell commented 9 years ago

:+1:

aendra-rininsland commented 9 years ago

Axes.

(j/k, more-extensible axes sounds like a cool idea.)

gnomeontherun commented 9 years ago

+1 This would be useful!

gfoiani commented 8 years ago

+1

isapir commented 8 years ago

+1

jiangmf commented 8 years ago

+1 would love this feature

seven7e commented 8 years ago

Is this supported now?

filipkral commented 8 years ago

+1 We need more than 2 y axes very often.

ultravail commented 8 years ago

+1 would be very helpful

mapgiordani commented 8 years ago

+1 I am migrating graphs from Jpgraph (PHP) and I didn't find any free project to create a graph with multiple axis like the old lib.... Waiting for c3..........

petgus commented 8 years ago

+1 This is a deal breaker for me. This lib which also uses d3 seems to manage it. Using that until c3 has this feature. https://plot.ly/javascript/multiple-axes/

Boorj commented 8 years ago

+1 it's a quite common situation.. waiting for c3js, need to recreate this 2016-06-26_01-52-18

Thinking about adding marker + additional tick info. Or even custom svg lines...

Michael-AUT commented 8 years ago

+1 for me too

kunKun-tx commented 8 years ago

+1 I need to have an additional axis for label purpose. I ended up using vanilla D3 for this, like in this example i found http://jsfiddle.net/Ea4mT/1/

roryhardy commented 7 years ago

I see a lot of +1s here and am curious if there are any plans to do this for C3? Also 👍, very useful

jasonmooreme commented 7 years ago

+1

jpruetting commented 7 years ago

+1

mipapo commented 7 years ago

+1

neal-morgansolar commented 7 years ago

+1

ljubomirb commented 7 years ago

+1

utkarsh8085 commented 7 years ago

+1 Guys, please implement this feature. We all needed this very badly. Thanks in advance.

aendra-rininsland commented 7 years ago

Locking this issue because I'm really sick of people +1'ing it instead of using the emoji or simply subscribing to it.

Also, if you're absolutely desperate for more than two Y axes, please use another library for now — there's no way a massive feature request like this is going to get implemented before v1 drops.