Need help on OG.REFRESH()
Date: 1996/10/24
Message-ID: <1996Oct24.164232_at_winnie>#1/1
Hi,
I have a question on how to refresh an enbedded Oracle Graphics chart in Forms 4.5. I hope someone can help me out.
I put two charts in a form. One is a pie cahrt that displays the total salary per team(It's one of the exercise I wrote to learn Oracle.) and the other one is a line chart that displays individual player's salary within each team. The following code is written for when-mouse-click trigger for the pie chart. But og.refresh() doesn't work(The line that's commented out.) and I have to close the line chart and open it again to achieve the effect. It's frustrating cause I have set refresh to true when I og.open() the line chart. I don't know what went wrong. Any suggestions?
declare
wh varchar2(10); plist paramlist;
begin
og.mousedown('c:\orawin\wilson\drill_w1.ogd','SALARY_CHART.drill1',
refresh=>false);
wh:=og.getcharparam('c:\orawin\wilson\drill_w1.ogd','SALARY_CHART.drill1','team_name');
og.close('c:\orawin\wilson\drill_w2.ogd','SALARY_CHART.drill2'); plist :=create_parameter_list('chart2'); add_parameter(plist,'team_name',text_parameter,wh);
og.open('c:\orawin\wilson\drill_w2.ogd','SALARY_CHART.drill2',false,true,plist);
--og.refresh('c:\orawin\wilson\drill_w2.ogd','SALARY_CHART.drill2',plist);
destroy_parameter_list(plist);
end;
Wilson --
| XiaoDong(Wilson) Zhang |
| 2000 Goldsworth Valley, Apt Z-2 Phone: (616)387-6569 |
| Kalamazoo, MI 49008 Email: 95zhang_at_wmich.edu |
Received on Thu Oct 24 1996 - 00:00:00 CEST