Set the data of the bar graph to the right graph.
Replaced BundleContext with CyServiceRegistrar where appropriate.