{ "title":{ "text":"Portreath beach", "style":"{color: #736AFF; font-size: 25;}" }, "elements":[ { "type": "line", "colour": "#87421F", "width": 3, "values" : [1.5,1.69,1.88,2.06,2.21,2.34,2.43,2.48,2.49,2.47,2.40, 2.30,2.17,2.01,1.83,1.64,1.44,1.24,1.05,0.88,0.74,0.62, 0.54,0.50,0.50,0.54,0.61,0.72,0.86,1.03,1.22,1.41,1.61, 1.81,1.99,2.15,2.29,2.39,2.46,2.49] } ], "y_axis":{ "max": 3, "colour": "#FF0000", "grid-colour": "#FF0000" }, "x_axis":{ "steps": 4, "labels":{ "visible": true, "rotate": "vertical", "steps": 1, "labels": [ "1", "2", {"text":"3","colour":"#00D000"}, "4", "5 Hello", {"text":"Long text 1","colour":"#00D0D0", "rotate": "diagonal"}, /* override parent */ {"text":"Long text 2","colour":"#00D0D0", "rotate": "moo", "size":30}, /* should default to horizontal */ {"text":"Long text 3","colour":"#D000D0", "size":10} /* inherit and become vertical */ ] } }, "bg_colour": "#F8F8F8" }