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

Need help building a chart at runtime in VB

Status
Not open for further replies.

EzriR

Programmer
Jul 31, 2000
2
IL
I need help building a chart at runtime in VB.
I have a wizard that allows the user to build a report at
runtime from the data in our database and one of the things
I am stuck on is allowing the user to build a chart if he wants.
I know how to build the graph object,

Dim pGraphObject As GraphObjectSet pGraphObject = Report.Sections(curSection).AddGraphObject(crGroupGraph, 100, PageY + 200)

but how do I assign the data to the graph.

Has anyone succeeded in invoking the chart expert at runtime
to allow the user to build a chart.

Thanks.
 
When I started at a previous employer, they had a product which allowed the user to create reports on the fly (based on a generic crystal report) and to create graphs on the fly. However, even though Crystal Reports was used for the printed reports, it was not used for the graphs. We used a component called graphs32.ocx, purchased from Bits Per Second - on the web - I did not enquire as to why we used this component, but it worked well.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top