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 » Tue May 08, 2018 7:34 am

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: 3150
Joined: Wed Mar 05, 2003 3:10 am

Re: Date Display

Post by Administrator » Tue May 08, 2018 7:54 am

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 » Tue May 08, 2018 11:33 am

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: 3150
Joined: Wed Mar 05, 2003 3:10 am

Re: Date Display

Post by Administrator » Tue May 08, 2018 2:11 pm

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 » Fri May 11, 2018 7:21 am

Hi,

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

Klaus

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

Re: Date Display

Post by Administrator » Fri May 11, 2018 11:32 am

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 » Fri May 11, 2018 5:42 pm

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 » Thu May 24, 2018 2:00 pm

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: 3150
Joined: Wed Mar 05, 2003 3:10 am

Re: Date Display

Post by Administrator » Thu May 24, 2018 2:20 pm

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 » Mon May 28, 2018 8:30 am

It works!

Many many thanks.

Best regards

Klaus

Post Reply