Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Tee Chart Problems

edited March 2004 in General
Well, I've tried the approach you suggested using the
Chart.TeeCreateMetaFile method and assigning the image to the
TppImage.Picture.Graphic property and that works, but only if the actual
DBChart is visible (the property) AND part of the chart is viewable on the
form. If the form is sized so that the chart doesn't show, no image.
I tried adding a new form with 2 TeeDBCharts on my rbServer program. When I
connect through the web tier, the charts appear fine. But when I close the
preview window and try to select another report, I get error messages from
Report Builder about my charts. So I deleted the charts and put a DBChart
on the form and used the TeeCreateBitmap method as described above and
assigned it to a TImage on the report and nothing appears - I believe
because the form is never visible.

In any case, I started recompiling the TeeChart packages that come with
Report Builder. I'm following the instructions in the TeeChart help file
(under Report Builder). When I try to recompile the dclRBC77.dpk, I get an
error in the ppChReg.pas unit saying that it can't find the DesignIntf.dcu.
That file exists in my Delphi7\Source\ToolsAPI directory, so I added that to
my library path and now I get an error in the DesignEditors.pas unit saying
it can't find Proxies.dcu. The only Proxies.dcu file I have on my hard
drive is in my Delphi5\Lib directory dated 8/11/1999. Is my installation
corrupt or what?

Comments

  • edited March 2004
    Hi Gary,

    Sorry for the delay in this response. Unfortunately Borland does not give
    us all the source files any more so to include the Proxies.dcu file you will
    need to add the DesignIDE.dcp package to the requires clause of the
    dclRBC77.dpk. This file is located in the \Delphi7\Lib\... directory.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2004
    I have the same problem; I include DesignIDE.dcp but don't resolve...

    Tathiana
    SP - Brasil

  • edited March 2004
    Hi Tathiana,

    If you add the DesignIDE.dcp file to the Requires clause of the dclRBC77.dpk
    package, you still receive the "Cannot find Proxies.dcu" error? Which
    version of Delphi are you using? This may be a corrupt install of this
    file.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2004
    Yes, this is my message!!! I'm using Delphi 7.

    Thanks!

  • edited March 2004
    I don't found "proxies.dcu" in my computer...

  • edited March 2004
    I found on the web Proxies.pas:

    unit Proxies;
    interface
    Function IsProxyClass(ComponentClass: TClass): Boolean;

    implementation
    Function IsProxyClass(ComponentClass: TClass): Boolean;
    begin
    Result := True;
    end;
    end.

    Now, my problem is: "iEditCha.dcu not found". My co-worker foud this file
    only in Delphi 3...

    Thanks for all!


  • edited March 2004
    Tathiana,

    When you receive the IEditCha.dcu not found error, this means you are trying
    to edit a chart at runtime with the version of TeeChart that came shipped
    with Delphi. To solve this problem, you will need to purchase a registered
    version of TeeChart from Steema at http://www.teemach.com. Please see the
    ReportBuilder help under the ReportBuilder Reference | TeeChart | Delphi 7 |
    ... section for information on which versions are compatable with your
    version of RB.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.