Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Resize Not Working #220

Closed
taylorbrooks opened this Issue · 1 comment

2 participants

@taylorbrooks

Trying to make the graph work responsively like this:

  $(window).resize ->
    divWidth = $('.rickshaw_graph').width() 
    graph.configure({ width: divWidth })
    graph.render()

Getting this error:

Uncaught TypeError: Cannot call method 'removeChild' of null rickshaw.js:1232

@dchester
Owner

Hi, that looks like it should work. Here's a functional example for reference:
http://code.shutterstock.com/rickshaw/examples/resize

@dchester dchester closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.