[ 
https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375223#comment-16375223
 ] 

Roger Whitcomb commented on PIVOT-1031:
---------------------------------------

Add/update Javadoc. Fix some of the paint logic if the min/max or current 
values haven't been set in the component.  Set more of the colors by default in 
the skin constructor, and then remove those defaults from the sample code:

 
{code:java}
Sending        tests/src/org/apache/pivot/tests/gauge_test.bxml
Sending        wtk/src/org/apache/pivot/wtk/Gauge.java
Sending        wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java
Transmitting file data ...
Committed revision 1825187.
{code}
 

> Create a new "gauge" object which can display a single value in a circular 
> "speedometer" fashion
> ------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-1031
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1031
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk, wtk-terra
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>         Attachments: gauge_demo.png, gauge_example.png
>
>
> For instance, in a monitoring application, things like CPU or disk usage can 
> nicely be displayed as a circular gauge, showing a single (the "current") 
> value.  This paradigm is currently being used in such products as Apache 
> Ambari (where it is called a "Gauge" widget).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to