[jira] [Closed] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion

2018-02-28 Thread Roger Whitcomb (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Whitcomb closed PIVOT-1031.
-
Resolution: Fixed

Closing again after fixing text position, adding borders and other styles.

> 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, gauge_with_ticks.png, 
> metrics_small.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)


[jira] [Commented] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion

2018-02-28 Thread Roger Whitcomb (JIRA)

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

Roger Whitcomb commented on PIVOT-1031:
---

Implemented these styles ("showBorder", "borderColor", "borderThickness", 
"onlyMaxColor"):

Sending tests\src\org\apache\pivot\tests\GaugeTest.java
Sending tests\src\org\apache\pivot\tests\gauge_test.bxml
Sending tutorials\src\org\apache\pivot\tutorials\explorer\gauge.bxml
Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraGaugeSkin.java
Transmitting file data done
Committing transaction...
Committed revision 1825593.

> 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, gauge_with_ticks.png, 
> metrics_small.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)


[jira] [Commented] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion

2018-02-28 Thread Roger Whitcomb (JIRA)

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

Roger Whitcomb commented on PIVOT-1031:
---

And another thing:  add a style to show only one color for the entire gauge 
value, rather than separate segments (so, show only the maximum color, which 
would be normal, warning, or critical, depending on the value).

> 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, gauge_with_ticks.png, 
> metrics_small.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)


[jira] [Updated] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion

2018-02-28 Thread Roger Whitcomb (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Whitcomb updated PIVOT-1031:
--
Attachment: metrics_small.png

> 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, gauge_with_ticks.png, 
> metrics_small.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)


[jira] [Commented] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion

2018-02-28 Thread Roger Whitcomb (JIRA)

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

Roger Whitcomb commented on PIVOT-1031:
---

Actually I see one more thing I could do – the Ambari examples now show the 
"inactive" portion with just border lines, and the inside of the stroke the 
same color as the background.  So, we could have a new style for this: 
"showBorder" and "borderColor".

!metrics_small.png!

> 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, gauge_with_ticks.png, 
> metrics_small.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)