Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:56
    hieroglyph1 starred c3js/c3
  • Jan 31 2019 04:41
    paulcarroll starred c3js/c3
  • Jan 31 2019 01:24
    morukutsu starred c3js/c3
  • Jan 30 2019 20:54
    ebk13579 starred c3js/c3
  • Jan 30 2019 20:51
    stanzani starred c3js/c3
  • Jan 30 2019 18:02
  • Jan 30 2019 17:32
  • Jan 29 2019 22:08
    michaelreynolds starred c3js/c3
  • Jan 29 2019 21:00
    mikeringrose starred c3js/c3
  • Jan 29 2019 17:06
    mullerzs commented #2357
  • Jan 29 2019 07:40
    whbjob starred c3js/c3
  • Jan 29 2019 05:28

    kt3k on gh-pages

    Deploy c3js/c3 to github.com/c3… (compare)

  • Jan 29 2019 05:25

    kt3k on master

    Typo fix (#2568) (compare)

  • Jan 29 2019 05:25
    kt3k closed #2568
  • Jan 29 2019 01:38
    hiro-info starred c3js/c3
  • Jan 28 2019 16:32
    codecov-io commented #2568
  • Jan 28 2019 16:32
    codecov-io commented #2568
  • Jan 28 2019 16:29
    codecov-io commented #2568
  • Jan 28 2019 16:29
    codecov-io commented #2568
  • Jan 28 2019 16:27
    Salsao opened #2568
Juan Mejia
@nice00xt
i tried with css first but, this is set with a transform attribute in the axix X element, and i cant not to set its position with css
Alex
@lifecoderua
@nice00xt I had issues with CSS translatenotations which uses only one dimension (x/y), but regular translate(x, y) works fine. Also inline svg styles are used as default, they don't overlap css-driven rules. The only drawback is the css translate doesn't add to the inline one, so you should provide a full translation, not a partial against current position.
Hanuma
@hanu412
Hey There
I need some help with the bar chart..Is anyone around online now?
Hanuma
@hanu412
blob
I need to have some spaces in between the bars in the above chart..Is there a way to achieve this?
What property could get me that?
Joe Seifi
@joeseifi_twitter
Is there any way to set a custom legend without using the imperative approach shown here? http://c3js.org/samples/legend_custom.html I'm looking for perhaps setting up a reusable template etc?
Kenneth Bier
@kenbier
is there a simple way to sort tooltips alphabetically rather then by value?
Michael Watson
@node-monk

Tooltip Performance issues. Here is my setup. 2 pie charts and a bar chart — tooltips are really responsive when mouseover. Add a 3rd pie chart to the mix and the third pie chart has really slow lag time when showing tooltip, but other charts still are fast.

Remove one of the other pie charts, and the last chart is fast again. Chrome shows “forced reflow is like performance bottleneck”.

This sound like anything you guys have experienced before?

Tiago Costa
@mistic
Hi guys
do you know how to render point bullets on top of x-axis if every points have y=0?
Screen Shot 2016-07-28 at 15.55.03.png
currently the bullets are hidden for 50% by x-axis
as you can see on the screenshot
Jago Kosolosky
@Jago-Kosolosky
Hi everyone, I was wondering if someone knows how I can make a subchart disappear and appear again on a click event. Should be easy but I'm really having trouble figuring it out... http://c3js.org/samples/options_subchart.html
Jago Kosolosky
@Jago-Kosolosky
Managed to do it with jquery but I have to assume there is a better way
Kenneth Bier
@kenbier
i am trying to write my own tooltip, and i am having trouble getting the x offset of each tick
i grab the x attribute off the passed in element to the tooltip position, and i left to x
which should, in theory, align the left edge of the tooltip with the selected x tick
but it does not, and i seems the x value is not precise
is there a better way to get the x offset rather than calling $$.x(some-x-value) ?
Kenneth Bier
@kenbier
ah i've got it i think, i need to add the width/2 from the element passed into, to the x value
patrickmcgloin
@patrickmcgloin_twitter
I am loading data dynamically from a URL for a stacked chart and to do that I think I need to set the groups. But as this data is loaded dynamically I don't know what the label for the group is up front. There are too many possibilities to set them all. Is it possible to tell c3 to stack the data, no matter what the label/group?
patrickmcgloin
@patrickmcgloin_twitter
I solved this by calling chart.groups(newGroupsJSON); after each chart.load iteration.
Kenneth Bier
@kenbier
i wrote a custom tooltip and contents fn, and i want a chart to render with the tooltip displaying in the correct position by default.
i pass in init: { show:true, x: 1} but it does not use the position fn i wrote on first render
is i add position: my-position-fn to that map, it fails
seems to expect the object the position fn returns, not the position object itself
Juan Mejia
@nice00xt
hi everybody can someone explain how resolve this issue ?
c3js/c3#1792
Jago Kosolosky
@Jago-Kosolosky
Hi everyone, I was wondering if you all would have a look at an interactive I published today using c3. Basically it looks at the interest rates of the Bank of England since it was founded in the 17th century up to today. You have several chapters at the top that guide you through, but you can also click on events and get a brief description. No need to look into the code, it’s real messy but I’m mainly curious about feedback on user experience et cetera. Unfortunately (it was key to show all the data on opening) there is no mobile version (it exists but has no interactivity so please look on tablets or laptop. And please go a little easy and constructive on me, I’ve only been coding for about a full year now and am 24 years young(?). Looking forward to hear what you think! http://multimedia.tijd.be/bankofengland-1694-tot-brexit/
VoidVolker
@VoidVolker
@Jago-Kosolosky looks great
Jago Kosolosky
@Jago-Kosolosky
@VoidVolker thanks, any suggestions for improvements?
VoidVolker
@VoidVolker
@Jago-Kosolosky yes, show bottom chart immediatly after load
Gil Millasseau
@gilmillasseau
Hey guys how can I access to the y axis values generated by c3?
Juan Mejia
@nice00xt
@gilmillasseau you can access to the element that you want in c3.chart.internal.fn
Gil Millasseau
@gilmillasseau
@nice00xt thanks I was hoping there is a method to access to yAxis values generated by c3
Vincent
@vincentwongso
Hey guys, I notice that the subchart performance is very slow when the data points are above 1000. Any idea on how to improve the performance?
VoidVolker
@VoidVolker
@vincentwongso you can't, only use chart lib with canvas renderer
Jago Kosolosky
@Jago-Kosolosky

Hello everyone, I have a bit of a theoretical question on c3. When generating a chart, is it correct to say that you pass the generate method a configuration object as an argument? Say I would like to use some pure d3 on the chart I just generated, how would I be able to, for example, log the actual chart object that was generated to see what I can alter?

Just to recap (please, do tell me if I'm wrong): the way I see it is when we use c3 generate we create a d3 object with a lot of default sorted out. What I am looking for is a way to inspect the actual d3 object that was generated to make changes to it using d3.

Jago Kosolosky
@Jago-Kosolosky
Posted it on Stack Overflow as well, please let me know if the question doesn't make sense. http://stackoverflow.com/questions/39080108/how-to-use-d3-js-on-c3-js-chart
mli6
@mli6
Hey all, I've been looking for a way to recreate this graph in c3js (or d3js if it isn't possible in c3)
Would appreciate any help or pointers
Tony Xavier
@vinzandtonz
Is there a way we can create 3d Pie and 3d donut chart using c3?
Alex
@lifecoderua
@vinzandtonz c3 is based on d3, so you may (more or less) directly play with the interpolation of underlaying d3 abstractions. I guess it would be much easier to use d3 directly though, like this: http://bl.ocks.org/NPashaP/9994181 unless you are really familiar with the c3 internals.