fixes #9 embarrasing pointer mistake: fixing x axis showing up on api generated graphs