Tidy up some more view strings and refactor.
change to use localisation for chart generation.