Missing parameter in _prepareData

I'm seeing this error in my console

Uncaught ReferenceError: graph is not defined

Adding this parameter fixes the function for me.