dodgy error in my json building where i was passing x-axis as a string basically