I'm having problems with the styling of one of my charts on the iPhone. The chart and its details are loading based on information coming from the server.
Right now, I am having 3 different basic problems:
- If the chart title is too long it is cut off at the edge of the frame (instead of resizing or wrapping.)
- The last label on the x-axis also extends past the edge of the frame.
- This graph is drawn with 2 points, but it is hard to decipher what those 2 points are because of the way the line was drawn and the x-axis spaces itself. (The points for the below graph are 310,000 on 12/4/2011 (2011-12-04) and 110,000 on 9/11/2012 (2012-09-11). The first date is the beginning on the chart, but the second date is hard to even approximate.
Is there a way to automaticaly size and format the labels to ensure they fit in the chart's frame? Is there a better way to lay out the x-axis so that charts similar to this one are more easily read?