Daylight Saving and charts

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
RoyG
Newbie
Newbie
Posts: 5
Joined: Mon Aug 14, 2006 12:00 am

Daylight Saving and charts

Post by RoyG » Sun Aug 29, 2010 10:14 pm

I need to display both Fastline and Gantt charts over transition periods for daylight saving.

Daylight Saving means that moving from Standard Time to Daylight time there are only 23 hours in the local day, and moving from Daylight Time to Standard time there are 25 hours in the local day (24 hours UTC is constant).

Is there any way to make the date/time axis display say 0130 0300 0330 0400 etc and at the end of daylight saving displaying 0130 0200 0230 0200 0230 0300 0330 etc. All other days between need to the standard 24 hour day and display range is typically anywhere between 6hrs and 58 days.

FYI all plot points are referenced back to UTC.

Regards,

Roy

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Daylight Saving and charts

Post by Yeray » Mon Aug 30, 2010 6:14 pm

Hi Roy,

I think you should do something similar to the shown in the example at All features\Welcome !\Chart styles\Financial\Candle (OHLC)\Axis Labels no Weekends in the feature demo program.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

RoyG
Newbie
Newbie
Posts: 5
Joined: Mon Aug 14, 2006 12:00 am

Re: Daylight Saving and charts

Post by RoyG » Mon Aug 30, 2010 8:33 pm

Hi Yeray,

Thanks for the suggestion but I am not able to work out how to do " set the x axis value to sequential".

If I delete the data for 4th and 5th September it still displays the 4th & 5th but without data (as expected). The x axis itself remains unchanged.

I am needing to change the way the x axis is displayed, and in the case of the Fastline version actually plot data points using a mouse.

Regards,

Roy

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Daylight Saving and charts

Post by Yeray » Tue Aug 31, 2010 1:21 pm

Hi Roy,

I think you'll have to add your data with your times as labels and show these labels in the bottom axis. If you can arrange a simple example project we can run as-is to reproduce the problem here, we'll try to suggest you how to wok around it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply