Print a Chart from Form

What is the best way to print a chart that already exists on a form?
How do I assign it to the frChartObject

I sure hope there are plans to update the help file and code examples.
If find the current help file very basic and lacking any real content to help
new users of your product.

I moved over from RAVE for a new project based on recommendation
from another user. Obvious tasks are taking longer to figure out than
I would expect, or Perhaps I am so used to how things work in the other
report writer.

I would be interested in evaluating FR3 BETA, but I understand it contains a nag screen.

Regards,
Scott.

Comments

  • Bert BinnenmarschBert Binnenmarsch Terneuzen
    edited 7:12AM
    Hi Scott,

    The answer for your question is in FAQ.txt:

    2.26. How to make the TChart with several series?

    You can't do this in designer. You need to write some code in Delphi.
    Create TChart or TDBChart, fill it out; put the empty TfrChartView to the report;
    write the following code in the TfrReport.OnBeforePrint event handler:

    if View.Name = 'Chart1' then
    TfrChartView(View).AssignChart(your_Delphi_chart)

    Regards,
    Bert

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.