Error when adding chart object to report page

I have been given assignment to maintain some Delphi 7 apps and develop reports using FR4. I am new to both Delphi and FR.

I need to add a chart to an existing report. The report uses an ADO connection and Access database. I have added the frxChartObject1 to the Delphi form.

When I open the FR4 report designer and add the chart object from the toolbar, I get an error

"Error reading ChartTree.Items.NodeData: Property NodeData does not exist"

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:58AM
    fr is initially installed using the standaqrd version of tchart. Have you run fr's recompiler and selected the
    correct version of tchart that you are using and recompiled?
  • edited 8:58AM
    gordk wrote: »
    fr is initially installed using the standaqrd version of tchart. Have you run fr's recompiler and selected the
    correct version of tchart that you are using and recompiled?

    No, I have not ran FR's recompiler and do not have any knowledge that it existed. When I googled it, I got the link belwow with instructions on recompiling:

    http://www.facebook.com/note.php?note_id=160224804031792

    Is there an exe for the recompiler? Do you have a link? I am using FR 4.1.2.

    Thank you.
  • edited 8:58AM
    I found a recompile.exe in my FR Folder here: c:\Program Files\FastReports\Fast Report4

    Is that what I need to run? Anything else to do?
  • gordkgordk St.Catherines On. Canada.
    edited 8:58AM
    make sure you add the fr chart unit to the delphi app as well.
    You might also want to go to your fr dl page first and update your version of fr.
  • gpigpi
    edited 8:58AM
    Replace your frxChartEditor.dfm with file from attach and recompile FR packages
  • edited 8:58AM
    gpi wrote: »
    Replace your frxChartEditor.dfm with file from attach and recompile FR packages

    I have not had any luck with this yet. Here's is what I have tried:

    1.Recompiled FR:
    Recompile.exe
    >Select tee chart version: TeeChartStd
    >Recompiled project

    2. Downloaded Steema TeeChart 707
    > Recompile.exe
    > Selected Tee77.dcu
    > Added uses: "teeGally" to project
    > recompiled project

    3. Replaced frxChartEditor.dfm using gpi's link
    > Recompiled project

    gordk, frxChart is in the Using section of my project. Is that what you mean?

    Understand that I am bumbling around here in 2 "new" environments (for me) - Delphi 7 and FastReport 4. Please forive my ignorance. Thanks for help and patience.
  • edited 8:58AM
    Noticed that I do not have a toolbox teechart component in any if Delph's toolbox palletes. Is teechart a Delphi add in and is not having it why the FR chart won't work? Does no std chart ships with Delphi 7?

    The Steema teechart I installed is not in the Delphi pallette either.

    I am using Delphi on a remote virtual machine on which I do not have adminstrator rights. The install exe's "work", but the component does not show up in Delphi. So maybe that's where I need to start before the FR chart component will work?
  • gordkgordk St.Catherines On. Canada.
    edited 8:58AM
    yes you must have tchart installed.
  • edited 8:58AM
    I am having similar difficulties with Fast Reports 4.0 and the trial version of TeeChart 2012.

    First problem is that TeeChart 2012 (trial or not) version is not in the list of versions of TeeChart supported by FastReport.

    Fast Report compile wizards only list up to "Version 9" which I assume is also called "Version 2010" on the Steema website.

    Now that version is no longer current and the new version is "version 10" aka "Version 2012" on the Steema website.

    Very confusing mess.

    Warren
  • edited 8:58AM
    Hi Thanks for the zip file and instructions, all very clear It works a treat and solved a bug that has haunted me this evening.

    Mark

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.