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

Group based teechart

edited May 2004 in General
I have a chart that I want to populate via a calculated field in the footer
of a group. basically this variable is the total for that group and I need
to add a point on the graph at each position for this group. However I've
attempted to add the Chart.Series[0].Add(StrToInt(lbTotalScore.Text)) in
various events and constantly end up with too many points - especially as I
navigate through the report and each page is reprinted. Is there an event
where I can guarantee to only return the correct number of printed groups?

Thanks

Comments

  • edited May 2004
    Hello,

    There is only one event that is guarenteed to fire only once per traversal
    and that is the TppVariable.OnCalc event. You could possibly place an
    invisible TppVariable inside the band you need and use its OnCalc event to
    add the new points to your TeeChart series. As for navigating through your
    report multiple times, you might try setting the Report.CachePages property
    to True. This will use more memory but should fix the issue.

    --
    Best Regards,

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