"Date and Time" Extents and Preference Saves

Found a bug? Tell us about it here

Moderator: DPlotAdmin

Post Reply
raswaim
Posts: 69
Joined: Thu Jan 06, 2005 3:43 pm
Location: Houston, TX

"Date and Time" Extents and Preference Saves

Post by raswaim »

I've experienced two problems with using a Date and Time format X-axis in version 1.9.8.1:

1) With a "Date and Time" formatted x-axis, if I manually specify extents, close the extents dialog (hit "OK") and subsequently go back to the extents dialog (to change the y extents, for example), I find that the X-extents have been changed by 1 day. Example: I set one extent entry to "2/3/2005 16:00"; this works, but when I come back to the dialog, I find the field has "2/4/2005 16:00" in it... so I have to restore the date everytime I subsequently want to change any other extent/tick mark/size setting.

2) When I store a preference for a plot with HH:mm:ss time formats, applying that preference set to a new plot leaves me with the default format (AM/PM).
- RAS
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

1) Even better, with 'Calendar date' formatting the upper extent increases by 1 month with every usage. :shock:

2) Time format isn't saved to the preference file. Just an oversight.

Thanks for pointing out the problems. These are both easy and will definitely be fixed next time.
Visualize Your Data
support@dplot.com
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

1) With a "Date and Time" formatted x-axis, if I manually specify extents, close the extents dialog (hit "OK") and subsequently go back to the extents dialog (to change the y extents, for example), I find that the X-extents have been changed by 1 day. Example: I set one extent entry to "2/3/2005 16:00"; this works, but when I come back to the dialog, I find the field has "2/4/2005 16:00" in it... so I have to restore the date everytime I subsequently want to change any other extent/tick mark/size setting.


After further review, it looks to me like everything works as expected if you also specify the tick mark interval. If this isn't what you're seeing then please save and send me a DPlot file. If you aren't forcing the tick mark interval, the problem is competing goals + roundoff error - your selected extents vs. a tick mark interval that DPlot thinks "makes sense". It may be that I can improve on this anyway, but... maybe not.
Visualize Your Data
support@dplot.com
Post Reply