I actually added a transition to the wrapper element (I was using the graphs in tabs, so that was okay).
So because the parent element changed, the graph seemed to resize.
Didn’t have to do anything else I guess, cause I already set everything on responsive in the plugin settings