c3 icon indicating copy to clipboard operation
c3 copied to clipboard

More than 2 Y axes

Open nathancole opened this issue 12 years ago • 27 comments

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

nathancole avatar Apr 02 '14 03:04 nathancole

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

masayuki0812 avatar Apr 02 '14 14:04 masayuki0812

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

nathancole avatar Apr 03 '14 15:04 nathancole

+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.

sgoumaz avatar Oct 06 '14 12:10 sgoumaz

+1

misaizdaleka avatar Oct 22 '14 15:10 misaizdaleka

:+1:

birdage avatar Dec 01 '14 17:12 birdage

:+1:

lukecampbell avatar Dec 01 '14 17:12 lukecampbell

Axes.

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

aendra-rininsland avatar Dec 01 '14 17:12 aendra-rininsland

+1 This would be useful!

gnomeontherun avatar Apr 30 '15 02:04 gnomeontherun

+1

gfoiani avatar Oct 27 '15 14:10 gfoiani

+1

isapir avatar Dec 22 '15 19:12 isapir

+1 would love this feature

jiangmf avatar Jan 19 '16 15:01 jiangmf

Is this supported now?

seven7e avatar Mar 16 '16 08:03 seven7e

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

filipkral avatar Apr 03 '16 07:04 filipkral

+1 would be very helpful

ultravail avatar Apr 11 '16 16:04 ultravail

+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..........

mapgiordani avatar Apr 11 '16 16:04 mapgiordani

+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/

petgus avatar May 13 '16 19:05 petgus

+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...

Boorj avatar Jun 25 '16 19:06 Boorj

+1 for me too

Michael-AUT avatar Jul 12 '16 06:07 Michael-AUT

+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/

kunKun-tx avatar Jul 18 '16 18:07 kunKun-tx

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

roryhardy avatar Aug 05 '16 18:08 roryhardy