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

TppDPTeeChart questions

edited November 2006 in General
Hi,

First attempt at using the Chart and I am having a few issues.

First, I notice in RB that there are 2 chart options: DB and DP Chart. When
I add a TppDBTeeChart to a report and click on the chart property in the
object inspector Delphi closes without any message.

Second, I am working with the DP chart and I cant seem to get anything to
show up in the dataset dropdown on the datasource tab. What do I have to do
to get something to show up in there?

And third, what is the difference between a DB and DP chart?

I am using D7 and RB Professional v9.03

Thanks,
Shane

Comments

  • edited November 2006
    Hi Shane,

    I believe for some installations of RB 9.03, the TppDBChart component was
    being installed automatically. This has been fixed for later versions. Do
    not use the TppDBChart component, this is included for backward
    compatibility with very old versions of ReportBuilder. The proper component
    to use is the TppDPChart. Check your installed components in the Delphi IDE
    and be sure there is not an entry for "ReportBuilder DBTeeChart 7.0
    Component" (rbTDBC97.bpl). If there is, remove this package.

    Which version of TeeChart are you using? If you are using TeeChart 4.04
    (the version included with Delphi) you will not be able to access data from
    the chart at design-time. This can be done at runtime or by upgrading your
    version of TeeChart. Take a look at the RBuilder.hlp file under the
    ReportBuilder Reference | TeeChart | Delphi 7 | ... section for information
    about TeeChart compatibility and limitations.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2011
    Hi Nico,

    an old message, but a current one for my case, it seems.

    When loading a form with a report at runtime, I'm getting the message "Class
    TppDPTeeChart not found".
    On my search for the reason I've found this post.
    I've checked my installed packages and there is one "ReportBuilder
    DBTeeChart 9.0 Component" (rbTDBC1215.bpl). Is it wrong to have it there?
    I also have this one there "ReportBuilder TeeChart 9 Components"
    (dclRBC1215.bpl).

    Do I miss the proper package for the TppDPTeeChart class? Or is there
    another reason for the message I get?

    Regards,
    Mark


  • edited June 2011
    Hi Mark,


    It is not wrong to have the DBChart installed but it is unlikely you
    will need it for backward compatibility purposes. You can remove this
    package.

    At runtime, you need to be sure you have the ppChartDP unit added to
    your uses clause before loading a template containing a ppDPChart.


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2011
    Hi Nico,

    thanks for your reply.


    We are considering switching to Delphi XE and are testing the whole process
    right now.
    That means we port our project, which is working with Delphi 2007 just fine.

    The unit ppChartDP is not included anywhere and it still works.

    Right now the unit ppChartDP.pas is located only in
    ..\RBuilder\TeeChart\TeePro900 and there is no library / search path set to
    this directory (in the original project as well).

    Somehow I feel, that either RB or TeeChart (or both) are not installed
    correctly. I've tried to execute the RBTeePackageBuilder.exe but it didn't
    work, since some packages / units couldn't be found, althought they are
    there...

    Any ideas?

    Regards,
    Mark
  • edited June 2011
    Nevermind, my bad.

    Apparently my colleague had some trouble with the installation and commented
    out those units temporarily.
    I didn't know about it and thought there is a problem...

    It's all good now, sorry...

    Regards,
    Mark

This discussion has been closed.