‎2010 Aug 04 12:43 PM
Hi,
I have a dynpro with a custom control, I create an obj from cl_gui_chart_engine. I create some demo data, convert it to XML with CALL TRANSFORMATION. Call the method u201Eset_datau201C. Set Customizing, like barchart or lines and call method u201Eset_customizingu201C.
Then the user will add more data (a second line) into the chart, so I change customizing (u201Eset_customizingu201C ) from barchart to lines and use again set_data with both data. So I wanted to display two lines in 1 chart but only the customizing ist the new one (lines) and not the data so only one line is shown.
In short: I would like to have two lines in one chart.
Can someone help?
Best regards and thanks in advance,
B.Lindackers.
‎2010 Aug 05 12:28 PM
‎2010 Aug 06 12:50 PM
I just forgot to "Clear: workarea".
Follow these steps: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13313. [original link is broken] Use the same object and call again set_data and you´ll see two series.
I´ve got a new problem: I want to create a chart with chart type "TimeScatter", but I don´t know how to generate the "data xml".
More informations:
I want to display this graph:
http://i34.tinypic.com/1z688w.jpg
I want to set value for each month, but i don´t know how to generate the data.xml, any solutions?
Edited by: B.Lindackers on Aug 9, 2010 9:55 AM
Edited by: B.Lindackers on Aug 9, 2010 10:00 AM
‎2010 Aug 06 12:51 PM