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

How to connect TeeCharts dynamically to report ? (2)

edited July 2003 in General
May be I did not express clear enough in my last try from 12.07.2003 . Hope
anyone can help me this time.

My application has, for example, 2 TCharts on a form. One for data A and one
for data B

I want to print these two TCharts with report builder using TppTeeChart. The
layout of the report builder template should be created by the enduser.

When the enduser creates his own NEW template with 2 TppTeeCharts he has to
tell report builder what original TChart belongs to what TppTChart on his
template. I don't find any way to let this user "mark" his TppTeeCharts. So
my app does not know where to assign the original TCharts to. It may be,
that the enduser creates 4 TppTeeCharts (2 copies) on other pages.

thanks again !

--
Joachim Schonart

Comments

  • edited July 2003
    Joachim,

    The TppTeeChart component in ReportBuilder is just a wrapper around an
    acutal TChart component. When you place one on a report, you are
    instantiating a TChart component behind the scenes.

    If you need to display individual TCharts on a Report, you will need to save
    the TCharts as an image and then display the image on the report. We have
    has many customers use this method and there are numerous posts with tips
    and tricks on getting this to work. Search "Ed Dressel TeeChart" in the
    newsgroups for more information.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2003
    OK. I know that, but how can it be that the Tchart has to be saved first to
    an emf or so and then to be reimported as a TPicture descendent ? That is
    the way I always did it, but the scaling and so on is totally insufficient
    then...

    thank you

    --
    Joachim Schonart
    Sportsoftware Hille GbRmbH
    - Entwicklungsabteilung -
    Tel.: +49/(0)5323 / 948 828
    Fax: +49/(0)5323 / 948 834
  • edited July 2003
    Joachim,

    Try saving the TChart to a bitmap instead of an emf and see if the results
    are better.

    --
    Best Regards,

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