The TppTeeChart component has a Chart property that provides access to the TeeChart. So you should be able to use standard TeeChart methods. Contact tee chart tech support if you need help on how to dynamically create chart series. That is a tee chart question.
I know how to add add a series at run-time but my problem is that i want to do this in the calc tab of the designer. (runtime). There i can't access property's and method's of the chart component.
so my question is: How can i make them visible/useable in the designer so that the enduser can use it in his reports?
There are two very simple and powerful techniques to extend the capabilities of RAP infinitely. These are summarized below and covered in more detail in the RAP.hlp online help. Demos and tutorials are installed to RBuilder\Demos\RAP. The tutorial text is located in RAP.hlp.
1. RAP Pass-Through Functions
These are functions that appear in the Language tab of RAP's Code Toolbox. These functions are written in Delphi and can be called from RAP. RAP's pass-through function architecture enable's developers to add new built-in functions to RAP's code toolbox.
2. Extend RAP's RTTI
RAP's Run-time Type information defines what classes and properties can be accessed via RAP. By default the published properties of any class that is registered with Delphi's RegisterClass procedure is recognized by RAP. In addition many of the public properties and methods of ReportBuilder classes are exposed.
Comments
The TppTeeChart component has a Chart property that provides access to the
TeeChart. So you should be able to use standard TeeChart methods. Contact
tee chart tech support if you need help on how to dynamically create chart
series. That is a tee chart question.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
do this in the calc tab of the designer. (runtime). There i can't access
property's and method's of the chart component.
so my question is: How can i make them visible/useable in the designer so
that the enduser can use it in his reports?
Ruud
For future reference, please post RAP related questions to the RAP
newsgroup.
You can extend RAP with custom functions the do whatever need. See article
below...
--------------------------------------------------
Article: Extending RAP
---------------------------------------------------
There are two very simple and powerful techniques to extend the capabilities
of RAP infinitely. These are summarized below and covered in more detail in
the RAP.hlp online help. Demos and tutorials are installed to
RBuilder\Demos\RAP. The tutorial text is located in RAP.hlp.
1. RAP Pass-Through Functions
These are functions that appear in the Language tab of RAP's Code Toolbox.
These functions are written in Delphi and can be called from RAP. RAP's
pass-through function architecture enable's developers to add new built-in
functions to RAP's code toolbox.
2. Extend RAP's RTTI
RAP's Run-time Type information defines what classes and properties can be
accessed via RAP. By default the published properties of any class that is
registered with Delphi's RegisterClass procedure is recognized by RAP. In
addition many of the public properties and methods of ReportBuilder classes
are exposed.
--
Tech Support mailto:support@digital-metaphors.com
Digital Metaphors http://www.digital-metaphors.com
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com