I found that ABAP is quite poor in drawing graphic in an easy way; of course, there is plenty of tools which allow you to draw wonderful charts (Visual Composer, Web Dynpro, etc.) but few natively in ABAP, if you dont use the standard ABAP graphic (personally never used).
So, I tried to design some simple charts (lets me say Barchart and Pie chart) using only ABAP, HTML viewer class and SVG.
Below you see the results:
Image 1: Barchart example
Image 2: Pie chart example
They are not, of course, the state of the art, but can be a base to develop something very interesting…the classes I used to draw could be easily adopted also in ABAP Web Dynpro, for instance…
Here is the sample code, you need only to create the dynpro 100 with a custom control named HTML inside:
Of course, you need also the two classes ZZ_SVG_BASE and ZZ_SVG_GRAPH that you can download at http://code.google.com/p/svgabap/; you can load them by using the report yrs_class_upload_xml as described here