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
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