load data values from JSON.
added support for multiple series.
added grid lines.
added different colours for each series.
tidied code.
tidied code.
switched to OO design.