This discussion is archived
1 2 Previous Next 16 Replies Latest reply: Oct 1, 2013 6:29 AM by myluism RSS

Can not display graph bean for specific chart types in Forms 11g Rel2

myluism Newbie
Currently Being Moderated
Hi all, I have this piece of code:

declare
v_tx_data varchar2(200);
v_delimitador varchar2(1);
begin
set_custom_property('control.BeanArea1',1,'CLEAR_GRAPH','');
v_delimitador :=',';
go_block('CLC');
first_record;
loop
v_tx_data := :clc.nb_clase_cliente||v_delimitador||'Monto'||v_delimitador||to_char(:clc.mn_venta);
set_custom_property('control.BeanArea1',1,'ADD_ROWDATA',v_tx_data);
exit when :system.last_record = 'TRUE';
next_record;
end loop;
set_custom_property('control.BeanArea1',1,'ENABLE_TOOLTIPS','ALL');
set_custom_property('control.BeanArea1',1,'GRAPHTYPE',:control.v_tipo_grafico_clc);
set_custom_property('control.BeanArea1',1,'SET_DEPTH','30,75');
set_custom_property('control.BeanArea1',1,'SET_DELIMITER','#');
set_custom_property('control.BeanArea1',1,'SET_TITLE','Ventas x Tipo Cliente#120,234,120#bi#12');
set_custom_property('control.BeanArea1',1,'SET_DELIMITER',',');
set_custom_property('control.BeanArea1',1,'ADD_DATA_TO_GRAPH','');
end;

The graph type is selected from a list item. It all works perfectly except when :control.v_tipo_grafico_clc takes the following values:

- VERTICAL_STACKED_LINE_GRAPH.
- HORIZONTAL_STACKED_LINE_GRAPH.

Is there a special requirement for this type of chart...? Something i missed reading...?

Best regards, Luis ....!
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points