Suggestions for a report designer to produce a 4 quadrant page for printing? - delphi

I have a project that needs to produce reports in Delphi XE2 that have 4 elements per page. For instance, one page (11 x 8.5) landscape needs four quadrants
Rich text bulleted items in quadrant one
Bar chart in quadrant two and quadrant three
Pie chart in the final quadrant
Today, these reports are produced with a combination of Excel and Powerpoint which is very time consuming and I'd like to automate the process with a Delphi App.
I've had experience with Report Builder and Rave Reports, but I never ran into a situation where I needed to divide the page up into four areas. It was always the traditional single graph per page design.

Use Fastreport, it has Rich text and Chart objects and can make the layout that you want.
Just put one Rich text object and 3 chart objects on the page and fill them in the code.

You can use fastReport with subReports. Also you can activate the pages columns=2 and I think its possible to do it.
In FastReport you have all you say you need:
Pie Chart
Bar Codes
Ritch ext
And Group & master Detail Lists

One solution is to create you report and export it in pdf or jpeg, and then use another tool to produce the 4 quadrant.
Have a look to (free) PosteRazor application.
http://posterazor.sourceforge.net/

You can use the report generated by code, as available in our mORMot framework.
Each page is rendered in a TMetaFile content. In fact, you can use QuickReport or other report able to export the pages as meta files. The same occurs for charts: you save the chart as EMF content, then you draw it on the TGDIPages report.
Then it is easy to use a 2nd report instance to draw 4 pages per page.
Then you'll have preview, print or native pdf export at hand.

Related

SPSS: Changed color settings for model viewer

how do I changed the color for significant lines in SPSS model viewer for nonparametric results?
currently, the display is in orange lines. I dont see any options in Edit> Options > Viewer > Model Viewer.
If you change your preference setting in Edit > Options > Output to "pivot tables and charts", the output will appear in traditional form. You can double click a chart, which opens it in the Graphboard editor (rather than the more familiar Chart Editor), where some editing is possible. However, chart elements that are structural, i.e., that come from the chart logic, generally cannot be changed as this could violate the chart integrity.
It would be better if the Graphboard Stylesheet option choices applied to these charts, but currently they don't. It is possible to edit the standard stylesheet, but this is quite difficult and I wouldn't recommend it. I'm not sure that even then it would affect these charts.

Prawn - Zoom out contents so that it fits in one page

I have a dynamic PDF report which gives monthly report of our database. I am using Prawn to generate the PDF report.
The monthly report can contain maximum of 90 rows (maximum 3 per day). There can also be days with no record. So, the number of rows in a monthly report is highly dynamic.
The client needs the report in a single page PDF. They dont care if the font size becomes very small or the row height is really small. But the contents should fit in a single page.
They have shown examples of PDF that are generated using their previous application. In those, it seems that they are creating the table with a fixed font size and row height etc. and they are somehow zooming out so that the PDF has some whitespace in the right side of the page, but it fits in a single page.
Something like this:
Is there a way to achieve this in Prawn?
The needed page layout can be easily achieved with PD4ML's fitPageVertically() API call - but PD4ML approach differs from Prawn quite significantly.
With PD4ML you have to generate an HTML document with report data/table (not that tricky to do) and after that pass it to PD4ML for a converting to PDF.
PD4ML in Ruby scenario can be launched as a standalone converter application.
You can build a fixed size table for print with option:
overflow: :shrink_to_fit
in table cells. That will shrink to a smaller font automatically.
given the number of rows to be print, you can dynamically adjust tables row heights
see: http://prawnpdf.org/prawn-table-manual.pdf

Custom legend in TChart Tool

Can one provide me a example for the Custom Legend Tool. I Want to Show Data in a tabular Format at the bottom of the chart. Can't use Data Table since it display the Value which are used for the drawing the chart. I want to provide some product related Data in tabular format.
This tool isn't still fully usable in TeeChart ActiveX as you can read here.
Feel free to add your mail to the CC list to be automatically notified when an update arrives.
In the meanwhile, the only solution I can think on would be using custom drawing techniques: manually drawing your texts and shapes at OnAfterDraw event.

Split large page into multiple A4 pages

I am printing some custom drawn charts on a fast Reports 4 databand.
The band has one text component and one picture component which I manipulate in the OnBeforePrint event to draw my charts using its canvas.
The problem is that the width of the charts may change drastically and go far beyond the page width and scaling/streching the charts to fit the page limits is not an option for the user.
I tried to make the page width grow to accommodate the graphics and it worked very well while visualizing, but I cannot print it since the user's printer only accepts A4 paper size.
So how can I split the report in smaller A4 pieces like the following image?
PS: the first image is the actual report output and the second one is the desired result.

timeline chart with events

For a rails web application I need a timeline with on the top (stacked) bar charts and on the bottom single events that should be recognizably different using e.g. forms (squares, rhombus, circles) and colors.
It's also important that I get some kind of picture back in order to reuse it to build a pdf.
At the moment I do the bar chart part with google charts, but I can't find a way to do the events. Those could also be on a separate chart that I then align in html or the pdf.
have you ever try the highcharts.
Here is an example of time series with events made with amCharts: http://www.amcharts.com/stock-chart/stock-events/
You can have any number of graphs stacked on each other, if this is what you want to do.
Disclaimer: I am the author of amCharts.

Resources