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

Chart Data

edited September 2006 in Datapipelines
Using Delphi, ADO, I was able to view my Access data easily in a report.

When I try to set up a chart, I seem to need a specific type of dataset. My
ADO dataset not qualifying. What options are there to connect Access data
with a chart?

Thanks,
Steve

Comments

  • edited September 2006
    Hi Steve,

    You can connect a chart to a dataset from within a report using the DBChart
    component and connecting it to a DBPipeline on your form. For instance, if
    you have an ADO dataset on your form, you would connect a TDataSource to
    that dataset, and a TppDBPipeline to the datasource. Then place a DBChart
    on your report, right click it and select Edit Chart. Add a series and
    navigate to the Series | Datasource tab. Next select DataPipeline from the
    list box at the top and define your data.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2006
    Hey Nico,

    I do just that, but my only DataSource options are: Random, Function,
    Dataset and Single Record.
    Why is it missing? I have ver. 9.02. From my deisgner, I use the dbChart
    component with the server symbol behind it. The other component (with the
    table in the icon) just crashed my Delphi.

    Regards,
    Steve


  • edited September 2006
    Which version of TeeChart are you using? Note that the version that comes
    with Delphi (Ver. 4.04) is not fully functional at Delphi design-time. You
    will either need to purchase the pro version of TeeChart or us it at runtime
    if you are using this version.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2006
    Okay, that makes sense. Thanks.

This discussion has been closed.