[reportlab-users] times in a plot lines chart
Robin Becker
robin at reportlab.com
Tue Apr 12 04:45:32 EDT 2011
On 11/04/2011 19:07, Julio Cesar Rodriguez Cruz wrote:
> Hi all, I need to display a lines chart with a series of values vs
> time, of my captured logs data i.e.
>
> var1 = [(13:55:20 4/11/2011, 1.5), (13:58:10 4/11/2011, 2.3)...]
> var2 = [(13:55:20 4/11/2011, 3.5), (13:58:10 4/11/2011, 3.3)...]
> ...
>
> I check the code at http://www.reportlab.com/snippets/5/ it works ok,
> but it display in the x's axe only the month and the year, I research
> a bit but as I see NormalDate object is only for dates, allowing to
> display until date details, and I need more deep details to display
> also the hours, minutes and seconds in the chart
>
> ...I missed something and there is a way to handle this using the
> GridLinePlot? ...maybe by scripting a pluggin? any ideas?
>
> Thanks
> Julio Cesar
......
we don't currently have a datetime axis, but I guess given how long the datetime
module has been around I guess we ought to. We have a couple of bank holidays
coming up so remind me Thursday 21'st and I will have a go at creating one;
we're busy right now so it will have to wait till then.
--
Robin Becker
More information about the reportlab-users
mailing list