adding several charts at runtime
RB7Std.
Hi all,
i need to perform at runtime those tasks:
1: create a tppchart
ok: that's easy...
2: position it into a TppRegion
mmmh.... tchart.parent is readonly... !?!
3: load chart definitions from file
ops, TeeStore.LoadChartFromFile accepts chart as a var parameter, while
tppchart.Chart is a constant object...
4: populate it with data
this is easy, too.
5: create, position and fill with captions some tpplabels.
no probs for that ...
any clues?
thanks to all in advance.
Hi all,
i need to perform at runtime those tasks:
1: create a tppchart
ok: that's easy...
2: position it into a TppRegion
mmmh.... tchart.parent is readonly... !?!
3: load chart definitions from file
ops, TeeStore.LoadChartFromFile accepts chart as a var parameter, while
tppchart.Chart is a constant object...
4: populate it with data
this is easy, too.
5: create, position and fill with captions some tpplabels.
no probs for that ...
any clues?
thanks to all in advance.
This discussion has been closed.
Comments
2. When using TeeCharts in ReportBuilder you will be using a wrapper object
named TppTeeChart. This wrapper object descends from TppComponent which
contains the Region property. Setting this property to a specific region on
your report will add this component to the region.
3. We have never tried this before. You may need to create a temporary
TCustomChart, load your chart from file, then assign it to the
TppTeeChart.Chart property.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Right! this really helps.
As usual, thank you, Nico!