Dumb question about hiding weekends on time series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
doowell
Newbie
Newbie
Posts: 4
Joined: Thu Sep 09, 2004 4:00 am

Dumb question about hiding weekends on time series

Post by doowell » Mon Feb 06, 2006 6:49 pm

I've searched hard to find a way of making sure that a time series doesn't display gaps for weekends/public holidays (i.e. where there's no data) but I can't find any obvious candidate. The only way I've come up with is to have a sequence number for each day and use this as the XValue and then display the date separately, but this is inelegant and feels more difficult than it should be.

Bit of a newbie question but answers greatly appreciated...!

Thanks

doowell

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Feb 08, 2006 9:44 am

Hi doowell,

There's a specific example for what you request. You can find it at TeeChart's features demo, available at TeeChart's program group. Search for "weekend", the example is called "Axis Labels No Weekends".
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

doowell
Newbie
Newbie
Posts: 4
Joined: Thu Sep 09, 2004 4:00 am

Weekends

Post by doowell » Wed Feb 08, 2006 10:03 am

Hi there and thanks for the reply. When you say "available to TeeChart's program group", what does this mean? In C:\Program Files\Steema\ ??

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Feb 08, 2006 10:12 am

Hi doowell,

No, I mean the start menu program group created for TeeChart for .NET installer. There you'll find the Feature demo. However, at C:\Program Files\Steema Software\TeeChart for .NET v2\Examples\DemoProject you'll also find the sources for that demo.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

doowell
Newbie
Newbie
Posts: 4
Joined: Thu Sep 09, 2004 4:00 am

Weekends

Post by doowell » Wed Feb 08, 2006 4:59 pm

OK, I've found it now. It works, but it feels very clumsy. Could I make a wish to have a simple flag in the next version to toggle between two modes, one displaying non-business days and the other leaving them out?

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Feb 09, 2006 9:51 am

Hi doowell,

Sure. I've already added your request to our wish-list to be considered for inclusion in future releases.

BTW: The difficulty lies on which days are considered non-business days as it may vary on each user needs. What do you thing it would be the most generic approach, from Monday to Friday? Creating an enum type for all possibilities it may be excessive as there are many of them.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

doowell
Newbie
Newbie
Posts: 4
Joined: Thu Sep 09, 2004 4:00 am

Thanks

Post by doowell » Thu Feb 09, 2006 10:31 am

Narcis

I see your point and have tackled it myself in another context.

I identified the following possibilities:
- show every calendar day (like it currently does)
- show every weekday (so public holidays appear as gaps)
- show only days where there is data (no gaps at all)
- show all data PLUS gaps where the user specifies e.g. by providing a public holiday calendar object

Regards

doowell

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Feb 09, 2006 3:56 pm

Hi doowell,

Thanks for your input. I've added it the wish-list item I created earlier today.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply