2008 Jan 15 3:07 PM
Hello,
can anyone help me with the function GRAPH_MATRIX_2D please,
i couldn't draw a line graph with three data series, i mean with three lines in the graph.
i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
can anybody send me a sample code that does what i want.
i am expecting your answers,
thanks.
2008 Jan 15 6:01 PM
Hi,
I would recommend not to use GRAPH_MATRIX_2D or the GFW and use the chart engine instead. Reports GRAPHICS_GUI_CE_DEMO and GRPAHICS_IGS_CE_TEST show examples of how to use the chart engine. With the Chart Designer (available in the Downloads - Web AS section in SDN) you can interactively define the chart customizing, e.g. for a line chart.
Best regards
Matthias
Hello,
can anyone help me with the function GRAPH_MATRIX_2D please,
i couldn't draw a line graph with three data series, i mean with three lines in the graph.
i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
can anybody send me a sample code that does what i want.
i am expecting your answers,
thanks.
2008 Jan 15 3:30 PM
Hi,
Check programs starts with GFW_DEMO_* and also check transaction GRAL, there will be many graph examples in this transaction.
Regards,
Satish
2008 Jan 15 6:01 PM
Hi,
I would recommend not to use GRAPH_MATRIX_2D or the GFW and use the chart engine instead. Reports GRAPHICS_GUI_CE_DEMO and GRPAHICS_IGS_CE_TEST show examples of how to use the chart engine. With the Chart Designer (available in the Downloads - Web AS section in SDN) you can interactively define the chart customizing, e.g. for a line chart.
Best regards
Matthias
2008 Jan 16 9:57 AM
i understand but i should do it this way but i couldn't find any helpful examples,
can anyone help please?
2008 Jan 16 10:03 AM
Hi Ali
Please check the programs GRSTAT_1 and
GRSTAT_2, these are also giving line charts with three lines.
Regards
Ranganath
2008 Jan 16 1:18 PM
Hi,
have you checked the two reports Matthias mentioned?
After downloading the SAP Chart Designer the general procedure should look like: create your chart settings interactively using the designer. Save these settings as a local XML file. Use this XML in your ABAP application and additionally create a data XML at runtime (the format is described in the pdf of the SAP Chart Designer zip).
Regards, Kai
PS: Please don't use these very outdated function modules graph_matrix* / grstat* in new projects!
2008 Jan 17 10:26 AM
the graph matrix 2d is good for the usage area,
i couldn't manage to find any exapmles about what are the setting parameters of the function(infact abap editor gives them) and the values that can be send to function to make it draw 2d line graph so can you help me?
thanks.
2008 Jan 22 7:25 AM
Thanks for the answer, i am still working on it,
but there is an issue which i couldn't manage to solve,
my data is float just like in the example but i think the graph function draws the graph with 0.1 thicks so because my data is like 2.907, 2.950, 2.905 and so on, all data is shown between two grids and looks really small, can you imagine it? have you got any solution to it, is there any other function that draws the graph for smaller data ranges?
thanks.
2008 Jan 22 7:42 AM
Yes, the chart engine is able to handle this! Once again: don't use the outdated function modules for new projects.
Regards, Kai
2008 Jan 22 8:26 AM
You're right but this program will be used at the manufacturing part of the factory so operators will use it and believe em the most appropriate method is this if there isn't any functions that draws graph in gui environment, so please help me this way.
thanks again.
2008 Jan 22 8:29 AM
Hi,
as mentioned above report GRAPHICS_GUI_CE_DEMO shows an example of how to use the chart engine within the GUI.
Regards
Matthias
2008 Jan 23 4:07 PM
OK, but now i can draw the chart with stat_graph function, but i wonder something,
is it possible to write LCL(lower control limit) and UCL(upper control limit) next to the line (just left of the line)
can anyone help me?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |