The DIAGRAM command specifies that an image of the diagram be inserted into the report output.
This is supported for only HTML and Publisher reports.
A selection must be made with the SELECT statement in the same level as the DIAGRAM keyword for this to work.
If no output is to be presented other than the DIAGRAM image, you can use SELECT "Name" LEGEND "Invisible" with the HTML Tables and Nested Tables2 stylesheets.