Tanvi
Report Builder 20.04
I am using Report Builder 20.04 Enterprise version
I have the following code on the button click on Delphi XE6
lChart := TppTeeChart.Create(self);
lPieSeries := TBarSeries.Create(Self);
lChart.Band := ppDetailBand1;
lChart.Width := 7;
lChart.Height := 7;
lChart.Chart.Title.Text.Text := 'MyChart';
lChart.ParentChart := FChart.Chart;
lChart.Clear;
lChart.Add (10, 'K2', clGreen );
When I do ppreport.print it prints this report.
Now I want to AddXY to the chart where X or Y can be string or integer.
In this lChart.Add or lChart.AddXY accepts only extended.
It it possible to pass string values as well?
For ex: lPieSeries.AddXY('FirstName',15) where values of x = 'FirstName' and y = 15