devxlogo

How to print datawindow object and graph control on one page

How to print datawindow object and graph control on one page

Question:
How can I print a datawindow object and a graph control on one page?

Answer:
This is a common question. Normally the graph datawindow and the reportdatawindow can be combined together into a composite datawindow. Tocreate a composite datawindow, select the composite style datawindowfrom the new datawindow dialog. You will then be presented with a listof all datawindows in your application. Select the report and the graph. The datawindow painter will then open with both reports. You can resize them to fit as required.

If the graph is based on a data value from the report detail band, use a nested report and match the graph retrieval arguments to the valuein the report result set.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist