PDA

View Full Version : dial chart



mata123
11-02-2007, 02:02 PM
hello to everyone.. i need help, i want to do a dial chart that receive values from a jsp dashboard but i dont know how to do it. i've have seeing the examples of Ingo: http://forums.pentaho.org/showthread.php?t=54951&page=3
but i cant understood why he uses javascript..i want to know how to define the minimun, maximun value in a dial chart but this definition have to be by sql...

sorry for my confusing explanation...:)
bye
mata123

ingo.klose
11-05-2007, 06:01 AM
Hi,

have a look at: http://wiki.pentaho.org/display/PentahoDoc/Dial+Chart

In my example I put the variance, which is the actual value, in a variable to display it as the title of the chart.

Best regards,
Ingo

mata123
11-05-2007, 10:13 AM
i have deleted the part of the relational(sql instruction) and the javascript part.... and only leave the dial chart.
bye
regards
mata123

ingo.klose
11-05-2007, 01:18 PM
Hi,

have a look at the documentation above, it states that you need to pass a result set with one line and three columns to the chart containing the value, a min and a max value.

Either you have to create this result set via an SQL statement or you have to build it out of your parameters in a javascript action.

If I have time I will try to get you xaction working.

Regards,
Ingo