c3 icon indicating copy to clipboard operation
c3 copied to clipboard

X axis lable gets hidden

Open vivekn91 opened this issue 12 years ago • 10 comments

When there are two line charts side by side one of the line line charts X axis labels gets hidden c3axisproblem

vivekn91 avatar Apr 10 '14 11:04 vivekn91

Is each graph instance bound to a unique bindto element id?

annayo avatar Apr 11 '14 00:04 annayo

yes ...that is what i am doing .... when i remove the other graph the first graph gets the labels

vivekn91 avatar Apr 11 '14 04:04 vivekn91

I am also seeing this problem. It's pretty consistent and as soon as you put two graphs on the same page I see it.

kc-dot-io avatar Apr 12 '14 01:04 kc-dot-io

Hi, Please let me confirm the version of c3 you're using. I could not reproduce this issue on the latest version 0.1.30. I tried this issue by this sample https://github.com/masayuki0812/c3/blob/master/htdocs/samples/multiple_charts.html

If it happens on the latest version too, please let me see a code or jsfiddle to reproduce. It would be really helpful. Thank you.

masayuki0812 avatar Apr 12 '14 12:04 masayuki0812

Absolutely. I apologize for not leaving more info but I was in a rush. Give me a few hours and I will compare against your multi chart example and report back. Thanks for responding so quickly.

kc-dot-io avatar Apr 12 '14 15:04 kc-dot-io

I merged your upstream changes from the last week into my fork and I no longer see the issue described here, however there appears to be a further regression where no timeseries ticks show at all anymore. Could this be due to the updates you implemented with regard to culling in adbe644ef? I'm still trying to isolate and familiarize myself with your library and I'll let you know where I get and try to get you a fiddle or something that you can use to replicate.

kc-dot-io avatar Apr 12 '14 18:04 kc-dot-io

I'm sorry, I added a bug for x ticks. I think this has been fixed by the commit above and I'd like you to try the latest version. If the issue still happens, please let me know. I'll prepare a fiddle.

masayuki0812 avatar Apr 12 '14 23:04 masayuki0812

Sure, I'll try right now and let you know.

kc-dot-io avatar Apr 13 '14 01:04 kc-dot-io

@masayuki0812 - Confirmed it is fixed. Much thanks.

kc-dot-io avatar Apr 13 '14 01:04 kc-dot-io

@masayuki0812 thanks for your response.. @slajax thanks for your collaboration

vivekn91 avatar Apr 13 '14 02:04 vivekn91