I am new in making GRAPHs with WF, so mayby someone could help me in making a GRAPH?
I have a table with raw data:
-------------------------------------------------
| OBJECT_ID | PRICE | LOCATION | TIME |
-------------------------------------------------
| 000000001 | 0800 | AFRICA | 2005-10-25 |
-------------------------------------------------
| 000000001 | 3400 | EUROPE | 2005-10-25 |
-------------------------------------------------
| 000000001 | 1500 | N. AMERRICA | 2005-10-25 |
-------------------------------------------------
| 000000001 | 5500 | S. AMERRICA | 2005-10-25 |
-------------------------------------------------
| ... | ... | ... | ... |
-------------------------------------------------
| 000000001 | 1000 | AFRICA | 2005-10-26 |
-------------------------------------------------
| 000000001 | 3500 | EUROPE | 2005-10-26 |
-------------------------------------------------
| 000000001 | 1100 | N. AMERRICA | 2005-10-26 |
-------------------------------------------------
| 000000001 | 3000 | S. AMERRICA | 2005-10-26 |
-------------------------------------------------
I want to make a GRAPH which represents the price dinamics in diferent locations in time scale.
X axis should be TIME
Y axis should be PRICE
and LOCATION should be represented in different color lines.
I am making this graph in quite inefficient way:
1) making HOLD for every value in LOCATIONs
2) JOIN them all together by TIME column
3) making a graph:
GRAPH FILE AAA1
PRINT
PRICE_1 AS 'Price 1'
.....
PRICE_N AS 'Price N'
ACROSS TIME
...
END
I think this is not an efficient way isn't it?
Moreover, it is not dinamic (!!
)
[of course I can use cycles and make it dynamic
but how to make it eficient?
]
I think there should be a GRAPH trick, isn't it?