PDA

View Full Version : Dial Widget and Actions



bryce656
11-17-2006, 01:00 PM
Is there a way to create a dial similiar to a regular chart. So in the widget I could specify the action (which would be a query) to get the data.

Ex.
<data>
<data-solution>samples</data-solution>
<data-path>Statistics</data-path>
<data-action>statDial_data.xaction</data-action>

<data-output>rule-result</data-output>

<data-orientation>rows</data-orientation>
</data>

I am wanting to create a dial based on several values I pull back from a query. These variables include the min and max of 4 areas of the dial (colors will be red, orange, yellow, and green). And then also the actual value.

Can anyone give me an example of how to accomplish this? If it can't be done like that is there another way I can do it?

Thanks!

blaisdellk
02-27-2007, 01:14 PM
I would love to find out I am wrong. But from what I can see the dial widget apparently only allows 2 intervals to be defined. When I add 3 I get a java error. Does anyone else know anything about this?