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

Problem with TppDPChart

edited March 2003 in General
Hi,

I think I have found a bug in the component. The component is a wrapper for
the TeeChart component. It allows to feed a chart series with data from a
data pipeline. However, TeeChart support series of data that arrive from
functions on other series. For example, a chart may have one data series and
another series for trend.
The problem is that when the report runs, the trend does not display any
data. I have search why, and found that the datasource of the trend series
is set to nil. When designing the chart, and selecting the parameters of the
trend series, the chart editor sets the datasource of the series to be the
series to apply the formula to. In the loaded method of TppDPChart, RB
checkes the datasource property of the serieses, and tries to assign to them
datapipelines.
The problem is that the loaded method does not allow the possibility of a
function series, who's datasource is another series. It sets the datasource
of those serieses to nil.
I have not found as yet the right method to fix this problem, but any fix
will require some changes to the RB sources.
Any advice on this matter? Is there a made fix for this?

Thanks, Yoav.

P.S. I'm using RB6, Delphi 6 Ent.

--
Yoav Abrahami
R&D Software Engineer
T-Soft - The Essence of Network Knowledge
---------------------------------------------------------------------
Tel: +972 (0)9-971-3148 (Direct)
Tel: +972-(0)9-971-3131 (Main)
Fax: +972-(0)9-971-3133
E-mail: yoav@tsoft-tele.com
www.tsoft-tele.com

Comments

  • edited March 2003
    This is intentional. The ReportBuilder Teechart wrapper doesn't support the
    data traversing series of a Teechart which are not supplied data by a data
    pipeline. Feel free to modify the Teechart wrapper to attempt a workaround.
    It may work for you, but we have found in most cases this doesn't work.

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.