1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: CSS Meter display and Progress Bar |
From: | David Dudley <[email protected]> |
To: | EPICS tech-talk <[email protected]> |
Date: | Mon, 03 Jan 2011 11:54:46 -0500 |
Not a CSS pro, but ....
On 03.01.2011 17:04 David Dudley wrote:
CSS Meter display and Progress Bar 2 questions for a CSS pro somewhere....
- How do I set the precision displayed in a CSS meter? The meter seems determined to display a reading to 2 digits precision, but I’d like to be able to display more accuracy than that.
Hm. You should be able to either directly set the precision in the widget's properties view, or switch the widget to "precision from PV", in which case the precision is taken from whatever ChannelAccess returns (which - for analog records - is the value of the PREC field).
2. Is it possible to display a progress bar from right to left? I have 2 valve positions I want to indicate, and they are inverse of each other. I would like to display them as bars where one grows from left to right, and the other grows from right to left.
Try the bar widget instead. That should have a property to select the direction.
BOY assumes that progress is irreversible and always goes into the same direction, i.e. forward, aka left-to-right. (I.e. the direction of writing - should that be reversed when switching l10n to east asian or arabic areas?) As we all know, that is not always true - is still seems a reasonable assumption for a display manager.
Cheers,
Ralph