We are using the RadiMation Report generator to present the graphs of the immunity measurements.
We want to have our graphs on the right side of the page, sized to be 1/3 of the page width.
What is the best method to ensure that a graph is included in a report at a specific location and with a specified size?
Exact placement of graphs in the report
Re: Exact placement of graphs in the report
The best results for exact positioning of the graphs in a report, is to use tables.
For your example it is best to insert a table (with a single row, and 2 columns) at the desired location in the report.
Insert the report generator code of the graph in the 2nd column, and adjust the height and width of the cells of the table to the desired sizes.
To ensure that the sizing of the table cells is not automatically updated, it is best to disable the 'Automatically resize to fit contents' option. This option can be accessed from the table properties, the 'Table' tab, and then the 'options' button.
It is also best to disable the borders and shadowing of the table, so the table itself is not visible in the final report.
With these settings the graph will always be on the specified location, and with the specified size in the final report. See the screenshot below for an example.
For your example it is best to insert a table (with a single row, and 2 columns) at the desired location in the report.
Insert the report generator code of the graph in the 2nd column, and adjust the height and width of the cells of the table to the desired sizes.
To ensure that the sizing of the table cells is not automatically updated, it is best to disable the 'Automatically resize to fit contents' option. This option can be accessed from the table properties, the 'Table' tab, and then the 'options' button.
It is also best to disable the borders and shadowing of the table, so the table itself is not visible in the final report.
With these settings the graph will always be on the specified location, and with the specified size in the final report. See the screenshot below for an example.
Re: Exact placement of graphs in the report
There are several other advantages of using the graphs in a table:
- It is possible to use the table cell borders and shadowing to have a custom border around the graph
- A header or footer for the graph can be included in the table cell above or below the graph. This can even be optimized to always have the header and footer on the same page as the graph.
- Any layout is possible: a 2 by 2 table, can be used to show 4 graphs in a 2 by 2 grid, or a 1 by 3 table can be used to show 3 graphs right beside each other