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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programmatically Add Chart to Crystal Report

Status
Not open for further replies.

lucyv

Programmer
Mar 11, 2002
152
US
I am currently developing a system that allows my users to run reports based off of their data. I had to developed a way that would allow them to view their reports with either bar charts, pie charts, or area charts.

In order to accomplish this I had to create one report file 4 different times, each with their own chart. I named them:
- 001a.rpt for Standard Chart.
- 001b.rpt for Bar Chart.
- 001c.rpt for Pie Chart.
- 001d.rpt for Area Chart.

Not only does this make my reports directory extremely large, but if I make a formating change to one report I have to update the other three.

I was wondering if there was a way I could programmatically create a chart from within my VB.NET application. Basically I would like to have only one report file (i.e. 001.rpt) and then programmically add a bar, pie, or area chart into the appropriate area.

Can this be done? Does anyone know how to do this? I am currently using Crystal Reports 10.

Thanks in advance,

-lucyv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top