Date Display

Use this forum to post Sable related questions.

Moderator: Administrator

Post Reply
klaus
Junior Member
Posts: 13
Joined: Mon Mar 08, 2010 4:06 pm

Date Display

Post by klaus »

Hi,

in Vensim i have defined time bounds from 0 to 36 month. Then i selected the corresponding Date displays (2018-01-01, 2018-02-01, 2018-03-01,...)
It works fine in Vensim. But in Sable (Graphs and Tables) the original time lables (0 to 36) are shown.

Thanks for your support

Klaus
Administrator
Super Administrator
Posts: 3951
Joined: Wed Mar 05, 2003 3:10 am

Re: Date Display

Post by Administrator »

Sable cannot pick up the time bounds from the Vensim model. But I should be able to limit them in a future version of Sable.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
klaus
Junior Member
Posts: 13
Joined: Mon Mar 08, 2010 4:06 pm

Re: Date Display

Post by klaus »

Thanks for your quick reply.

So there is no way in Sable displaying Date labels instead of Time labels in graphics and tables like in Vensim?

Best regards

Klaus
Administrator
Super Administrator
Posts: 3951
Joined: Wed Mar 05, 2003 3:10 am

Re: Date Display

Post by Administrator »

Can you give me an example of what you want to display?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
klaus
Junior Member
Posts: 13
Joined: Mon Mar 08, 2010 4:06 pm

Re: Date Display

Post by klaus »

Hi,

here is an example.
Sable Display.png
Sable Display.png (114.95 KiB) Viewed 7710 times
Best regards

Klaus
Administrator
Super Administrator
Posts: 3951
Joined: Wed Mar 05, 2003 3:10 am

Re: Date Display

Post by Administrator »

Are you using a Sable table or an embedded Vensim one?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
klaus
Junior Member
Posts: 13
Joined: Mon Mar 08, 2010 4:06 pm

Re: Date Display

Post by klaus »

A Sable table and a Sable Chart.

Best regards

Klaus
klaus
Junior Member
Posts: 13
Joined: Mon Mar 08, 2010 4:06 pm

Re: Date Display

Post by klaus »

Sorry, but i want to ask if there is a solution to my problem?
Many thanks for your support.

Best regards

Klaus
Administrator
Super Administrator
Posts: 3951
Joined: Wed Mar 05, 2003 3:10 am

Re: Date Display

Post by Administrator »

Sorry for the delay.

You will need some extra parameters in your model (year, month of year, day of year). Once you have these, you can insert a row in a Sable table, go to the "Format" tab and select "Use Custom Series". In here, type something like
@year@-@month of year@-@day of year@

This should give you the output you need.

You might also need to play with the number formats
@year,%.0f@-@month of year,%.0f@-@day of year,%.0f@
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
klaus
Junior Member
Posts: 13
Joined: Mon Mar 08, 2010 4:06 pm

Re: Date Display

Post by klaus »

It works!

Many many thanks.

Best regards

Klaus
Post Reply