Chart and multi culomn problem
Hello FastReport Experts
I want to print a list of measurements as a two culomn report, and show the same data as a chart on the same page. It works fine with a data band with 2 culoms, but the list is now sorted left to right, but I need down first. If the report page has 2 culoms, the list is ok, but I can not place a chart that is as wide as the page.
One solution is to place the chart in the report title, but it is not recommended to place data on non data bands. This works fine for a single page. But if I use this report as a subreport, the report title of the subreport is ignored!
Who has a tip for me!
I want to print a list of measurements as a two culomn report, and show the same data as a chart on the same page. It works fine with a data band with 2 culoms, but the list is now sorted left to right, but I need down first. If the report page has 2 culoms, the list is ok, but I can not place a chart that is as wide as the page.
One solution is to place the chart in the report title, but it is not recommended to place data on non data bands. This works fine for a single page. But if I use this report as a subreport, the report title of the subreport is ignored!
Who has a tip for me!
Comments
i can only suggest.
you may want to fake column by using the engine object and some variables to control output positioning engine.curx cury props.
see the chapter in the user manual on using the engine object.
I will first try your answer from an other thread: engine.newcolumn.
Now I have done some work and got the desired result:
I use a report with 2 columns to get 'down first' columns.
My chart for the details is located in the master band and is aligned to page width.
I use 2 local variable and three events to start with the details line in second column after the chart.
The Engine and the scripting is very powerful, but still easy to understand and use!
Here is the code of the three events: