Basically I think you need to do something like `chart.bind('change', makeGraph);`. That is probably wrong but you get the idea.