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.
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
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