Reworking some uses of the Charting classes as Mono was complaining

Note however, that the Charting classes will not work on Mono; these have only just been stubbed in in version 3.2.3