How to use charts in reports

You can either use “chart report elements” or use images of online charts. For the description of the chart report elements please refer to the documentation of reports. To use images of online charts in your reports or documents do the following:

  1. Define a query to display your chart (see Chart presentation of query results
  2. When defining chart properties of the query specify a unique id of the chart (can be any string)
  3. Define an attribute of the Picture type in some object to store the image of the chart
  4. Create a document template that would use this attribute in a tag expression, for example
    <<MyObject.ChartImage>> 
  5. Write a process that will save the image of the chart in this attribute using the SAVE SCREEN action and display the document template, for example:
    SAVE SCREEN 'my chart id' TO MyObject.ChartImage
    DISPLAY DOCUMENT 'My template using chart image' 
  • Last modified: 2023/03/09 03:57