unstable chart for contribution history

for some reason this has broken selecting another person, the views
won't show up
extracted chart code from view to person controller