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

TeeChart Examples

edited January 2008 in General
Hi

I would be pleased if you could give me a few pointers on how to create a
report using R Builder with teeChart. I have created a simple example but
the one graph keeps repeating and values are all over the place.

The data I have is in the form of

Project 1 Job1 Budget Spend Month1
Project 1 Job1 Budget Spend Month2
Project 1 Job1 Budget Month 3
Project 1 Job1 Budget Month 4
Project 1 Job2 Budget Spend Month 1
Project 1 Job2 Budget Spend Month2
Project 1 Job2 Budget Month 3
Project 2 Job3 Budget Spend Month1
Project 2 Job3 Budget Spend Month2
Project 2 Job3 Budget Month 3
Project 2 Job3 Budget Month 4
Project 2 Job3 Budget Month 5
Project 2 Job3 Budget Month 6
Project 2 Job4 Budget Spend Month 1
Project 2 Job4 Budget Spend Month2
Project 2 Job4 Budget Month 3

For each job, I wish to create a Budget v Spend Graph and list the
individual Budget and Spend Values below the graph.

I need a new page for each Project.

Are there any guides/example projects available to learn about using
TeeChart in Report Builder?

Thanks in advance

Regards

Philip L Jackson

Comments

  • edited January 2008
    Hi Philip,

    Take a look at the following example. A DBTeeChart in a report will
    automatically traverse the entire dataset you give it. If you need to limit
    the data traversed it's best to create a master detail relationship with
    your data and place the TeeChart in the Title band or Summary band of a
    subreport connected to the detail.

    http://www.digital-metaphors.com/tips/MasterDetailTeeChart.zip

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2008
    Hi Nico

    Philip has asked me to look at the example (I work for him). Unfortunately
    when I try to run the example you gave I get:-

    Invalid resource file
    Error creating form
    Property emailsettings does not exist
    Undeclared identifier: MainFormOnTaskbar

    I am using Delphi 6 and Reportbuilder Enterprise Edition v 9.03. Can you
    please help with this?

    --
    Thanks

    Martin Houlton
    P C Data Services
  • edited January 2008
    Hi Martin,

    Unfortunately I am unable to create examples for older versions of
    ReportBuilder. Try deleting the .res file so Delphi creates a new one,
    ignore any properties that do not exist, and comment out the
    MainFormOnTaskbar declairation and see if you can get the application
    running. If not, you might try simply looking at the design of the report
    and data organization to copy this with your own environment.


    --
    Regards,

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

    Best Regards,

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