BEMSimpleLineGraph
BEMSimpleLineGraph copied to clipboard
Use NSDate Objects for X-Axis
I'm wondering if it's possible to use NSDate objects for the X-axis labels, rather than text? This could be quite a large feature to implement, but I'm curious - have you considered adding it? Why would I want to do this?
- it would allow axis labels to have timestamps relative to an NSDate object (e.g. 1 minute ago, 5 days ago...)
- You could scale up/down the date resolution when zooming in/out. So at largest zoom level the dates read annually (2010, 2011), and when you zoom in the dates read at each zoom level (2010, Feb 2010, 3rd Feb 2010, 7pm 3rd Feb 2010...).
What do you think?
This is a good idea as well. As you said, this is quite a large feature, so I think that I will reserve it for after the release of the v3.0. Thanks!