.
get the graph working
smarter handling x
iphone and ipad