Charts are now created using a new graph class that generates the require hash