Accessing Teechart properties/series values from RAP
RBEnt 6.03, TeeChart 5.02.
Quite new to this stuff, so again I hope to get some help from the
newsgroups.
I wonder if it is possible to access properties and add values into a
Teechart series from RAP code?
Is the teechart classes available, or do I have to add something through
RTTI?
Any suggestion or lead on how to best solve would be appreciated.
What I want to do is equivalent to :
DBChart.Series[0].Add(23,'Test',clBlue);
DBChart.Series[0].Add(14,'Also a test',clRed);
I have no experience with RTTI, and a quick look into the examples and RAP
help file did not enlighten me on this.
Best Regards,
Paul
Quite new to this stuff, so again I hope to get some help from the
newsgroups.
I wonder if it is possible to access properties and add values into a
Teechart series from RAP code?
Is the teechart classes available, or do I have to add something through
RTTI?
Any suggestion or lead on how to best solve would be appreciated.
What I want to do is equivalent to :
DBChart.Series[0].Add(23,'Test',clBlue);
DBChart.Series[0].Add(14,'Also a test',clRed);
I have no experience with RTTI, and a quick look into the examples and RAP
help file did not enlighten me on this.
Best Regards,
Paul
This discussion has been closed.
Comments
Series object is.
I would create a pass thru function to add stuff to the series of a chart.
There are tutorials on creating pass through functions in the installed
RBuilder\Demos\RAP\
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com