Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a TQRChart component

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I have added a TQRChart component to a QuickReport. Ideally I want this to be exactly the same as the one (a DBChart) as generated by my program on a form. Is there a direct way of doing this ? The Help file indicates that you should be able to use the 'Chart' property of the 'TQRChart' component.
When I use QRChart1.Chart.Assign(DBChart1) I only get the title and color of chart set. The Series are not added. I have had to resort to cycling through the Series in the DBChart componet and use QRChart1.Chart.Series[x].Assign(DBChart1.Series[x]). This works OK but I was curious to know if I'm missing a one-step route ?
There is no PrintPreview option against the DBChart component - or can I not seeing it for looking ?
Thanks in advance
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top