Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I need to create a report that displays a line graph. The values for the graph is passed via parameters. I tried creating a line graph by adding a chart to the report but I can't select parameter fields from the wizard and because it doesn't display any. Also, the Ok button is disabled no matter what I do. I'm using crystal reports 2010 with Visual Studio 2010 ultimate. Please help.
Posted

1 solution

Create Formula fields for those parameter fields & you can select those formula fields in the crystal report.

For example, if you create a parameter field(parameterfield1) for input(If it is a string you can convert into number in your formula), then create a formula field(Formula1) for parameterfield1.

Formula1
ToNumber(@parameterfield1)


EDIT
----------------
Crystal Reports Charting Fundamentals[^]
 
Share this answer
 
v2
Comments
obhasha07 26-May-11 22:32pm    
hey man, I did as to told. Now the chart expert displays all the values. But I don't understand a thing about how to insert them into the chart. You know, there are three categories which says "On change of", "For each record" and "For all records". What do they do? Also what does the "Show Value(s)" list box do?
thatraja 26-May-11 22:37pm    
Check my updated answer dude

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900