TfrxChartObject BackWall problem

FR v5 : my Delphi VCL application has a TDBChart to which I have added an image on the BackWall through the TeeChart Std editor.

I have added a TfrxChartObject to my FastReport, but cannot find a way to add the same image to the BackWall of the FastReport Chart.
The FastReport Chart Editor has properties for the BackWall.Picture but nowhere to load the image.

Help appreciated.

Comments

  • edited 2:11AM
    If anyone's interested, I have managed to solve the problem myself ...

    This code needs to go in the Delphi application itself ...

    procedure TMyForm.frxReportBeforePrint(Sender: TfrxReportComponent);
    begin
    if Sender.Name = 'Chart1' then
    TfrxChartView(Sender).Chart.BackWall.Picture.LoadFromFile('MyPicture.jpg');
    end;

    Within the FastReportDesigner>ChartEditor, you also need to set Chart1.Chart.View3DWalls to true.

Leave a Comment