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

Dynamically changing graph types in crystal reports 1

Status
Not open for further replies.

crystalReporterNew

Programmer
Jan 18, 2004
24
US
Hi,

I have inserted a graph as a bar chart in my crystal report but want it to change into say a pie chart or a line chart depending on certain conditions at run time. Instead of making different crystal reports for that can I make the change in my VB program that sets the graphtype as what I want? I tried looking at the Section.ReportObjects.Item.ObjectFormat functions and stuff like that but nothing allows me to set the graph type in my program...is there anyway to do this?? please please help
 
The Crystal 9 Chart examples take an interesting approach to this.

Have a section (a,b,c,etc) with a differnet chart type in each section. Conditionally suppress all the other sections except the chart you want.

Should work with any older version of CR.

Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top