Date or time for Gauge

Answered (Verified) This post has 1 verified answer and 2 replies

Not Ranked
Posts: 4
saminpro Posted: Sat Jan 29, 2011 @ 2:36 AM

I need to show a range of "date or time" in a gauge and pointer must show a selected date or time.

min = 2000/01/01
Max = 2009/12/29

Value = 2005/02/03

Answered (Verified) Verified Answer

Top 10 Contributor
Posts: 1,302
Answered (Verified) milos Posted: Tue Feb 1, 2011 @ 6:14 AM
Verified by milos

Saminpro, the values gauges operate on must be numeric.

 

Can you convert your Min/Max/Value dates into a single numeric value? For instance, you could use the number of days since Jan 1, 2000. You'd have to create your own annotations, though.

 

Does that help?

 

 

All Replies

Top 10 Contributor
Posts: 1,302
Answered (Verified) milos Posted: Tue Feb 1, 2011 @ 6:14 AM
Verified by milos

Saminpro, the values gauges operate on must be numeric.

 

Can you convert your Min/Max/Value dates into a single numeric value? For instance, you could use the number of days since Jan 1, 2000. You'd have to create your own annotations, though.

 

Does that help?

 

 

Not Ranked
Posts: 4
saminpro Posted: Tue Feb 1, 2011 @ 8:06 AM
Hi thanks for your guide I solve my problem by use double data type Double Date = Year + (month/13) Gauge major range is years(2010.00, 2011.00, 2012.00, ... ) and step is1 and minor range are months step is 1/13 And I show days in innergauge And it worked truly
Page 1 of 1 (3 items)