TeeChart DBChart referring to dataset in runtime designer
Delphi 5 Pro
TeeCharts 5.0 (that came with Delphi)
I have a form in Delphi containing the following components:
TppReport, TppDesigner with the TppReport as its report,
TDataSource, and a TppBDEPipeline with the TDataSource as its
datasource,
and the TppReport has the TppBDEPipeline as its pipeline.
In the runtime Designer when I add a DBText I gain access to the pipeline
through the interface, no problems there. But consider this:
Add a DBChart to the Report
Right click and edit the chart
Add a series, say bar
Click on the series tab and choose the DataSource tab
In the dropdown choose Dataset, which changes the interface to display a
Dataset dropdown.
Now, I would expect to see my pipeline as a choice in the Dataset dropdown,
but there is nothing. So the question is, how do I refer to the pipeline (or
any other dataset on the form) from within the Edit Chart interface at
runtime.
--
Thanks,
Brian Mashburn
bmashbu@msedd.com
TeeCharts 5.0 (that came with Delphi)
I have a form in Delphi containing the following components:
TppReport, TppDesigner with the TppReport as its report,
TDataSource, and a TppBDEPipeline with the TDataSource as its
datasource,
and the TppReport has the TppBDEPipeline as its pipeline.
In the runtime Designer when I add a DBText I gain access to the pipeline
through the interface, no problems there. But consider this:
Add a DBChart to the Report
Right click and edit the chart
Add a series, say bar
Click on the series tab and choose the DataSource tab
In the dropdown choose Dataset, which changes the interface to display a
Dataset dropdown.
Now, I would expect to see my pipeline as a choice in the Dataset dropdown,
but there is nothing. So the question is, how do I refer to the pipeline (or
any other dataset on the form) from within the Edit Chart interface at
runtime.
--
Thanks,
Brian Mashburn
bmashbu@msedd.com
This discussion has been closed.
Comments
ReportBuilder contains a TppDPTeeChart component that can be used to connect
the Series to the a DataPipeline. Older versions of RB contained a
DBTeeChart, but you do not want to use this component, it has been
deprecated.
I just performed two test using RB 7.03 and D5.
1. TeeChart 4.04. This is the version that comes bundled with Delphi 5. (To
check the TeeChart version press the right mouse over the DPTeeChart control
to display the context menu).
The RB DPTeeChart editor enables me to select DataSet from the series data
source drop down list. I can then select a DataPipeline.
2. TeeChart 6.
The RB DPTeeChart editor enables me to select DataPipeline from the series
data source drop down list. I can then select a DataPipeline.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks for the information. Specifically, I am running Report Builder
Enterprise Edition v6.01 and TeeCharts v4.02. Sorry, I was wrong about the
TeeCharts 5, thanks for telling me the proper way of checking the version.
On the form I have implemented the Designer's OnCreateComponent event
handler, so when I drop a chart
component on the report designer I can catch it and check its type, and
after checking it it is specifically a TppDPTeeChart.
So during runtime in the designer, I drop a TppDPTeeChart on the report, add
a series, set the series DataSource to DataSet, and in the DataSet drop down
that appears there are no entries.
Could there be some incompatabilities with the version of Report Builder and
TeeCharts that I am running?
--
Thanks,
Brian
Brian C. Mashburn
System Developer
Management Services for Education Data (MS/EdD)
bmashbu@msedd.com
501.801.2500x106
Could be a problem with RB 6.01.
Try downloading a trial version of RB 7.03 and performing the same test.
Backup your existing installation and reports prior to installing RB 7.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com