> Could you give example source about TeeChart usage in code?
Specifically what are you looking for? TeeChart in RB? Or in general? Did you drop a TeeChart in a report and it doesn't work? Are you looking at data-bound TCharts, or non-databound?
Of course TeeChart in RB 6.02. I writing server application and without form objects. I can't use ReportDesigner object because I need create RB objects in runtime. My application server's datasource is Oracle Express (OLAP) and not RDBMS. I need use charts. I think about TeeChart for RB that will be good solve. I like give example source code from you about TppTeeChart usage (not in RB Designer).
We developing Integrated Business Planning System (IBPS) for economists and controllers. Your report designer is too complicate for economist We need develop simple report designer (for economist). Every report is source based because reports is being generate in runtime by the users. If we finished the IBPS, I will send demo CD for you (at november)
How to use TppTeeChart, TppTeeChartControl, TBarSeries in CODE? Please send demo source for me...
Comments
Specifically what are you looking for? TeeChart in RB? Or in general? Did
you drop a TeeChart in a report and it doesn't work? Are you looking at
data-bound TCharts, or non-databound?
Thanks
Ed Dressel
objects. I can't use ReportDesigner object because I need create RB objects
in runtime. My application server's datasource is Oracle Express (OLAP) and
not RDBMS. I need use charts. I think about TeeChart for RB that will be
good solve. I like give example source code from you about TppTeeChart usage
(not in RB Designer).
Thanks,
Attila
form
objects
and
usage
All your reports are source based? Wow... that is a lot of extra work! I
don't think you have to do that.
In any case, create a TppChart object and assign the chart's band property,
then add the series to it.
Try creating a report in Delphi, not using RB, then add RB, and rather then
assigning the .parent property, assign the .band property.
Ed Dressel
Team DM
controllers. Your report designer is too complicate for economist
We need develop simple report designer (for economist). Every report is
source based because reports is being generate in runtime by the users.
If we finished the IBPS, I will send demo CD for you (at november)
How to use TppTeeChart, TppTeeChartControl, TBarSeries in CODE? Please send
demo source for me...
Thanx for your help!
Attila
and
I am not an RB employee--just peer to peer support.
send
var
lppLabel: TppLabel;
lppReport: TppReport;
lppChart: TppTeeChart;
lSeries: TLineSeries;
begin
lppReport := TppReport.Create(self);
lppreport.CreateDefaultBands;
lppLabel := TppLabel.Create(self);
lppLabel.Caption := 'Test This';
lppLabel.Band := lppReport.HeaderBand;
lppChart := TppTeeChart.Create(self);
lppChart.Band := lppReport.DetailBand;
{configure the chart size et al here}
lppChart.Left := 0;
lppChart.Top := 0;
lppChart.Width := 7;
lppChart.Height := 8;
lppReport.DetailBand.Height := 8.2;
lSeries := TLineSeries.Create(self);
lSeries.ParentChart := lppChart.Chart;
lSeries.FillSampleValues(100);
lppreport.Print;
end;
HTH,
Ed Dressel
Team DM