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

Chart Manipulation 1

Status
Not open for further replies.

JCruz063

Programmer
Feb 21, 2003
716
US
I have the verion of Crystal Reports that shipped with Visual Studio .NET 2002. I have a cross-tab-based line chart for which I need two things:

1 - I would love to control the width of the series lines, as the width that CR uses is annoyingly thin. How can I make the lines thicker?

2 - My chart is in the header of a group which is based on a formula. The formula on which the group is based is called "MyFormula". Crystal Reports provides me with an automatic sub-title for each chart which is "For @@MyFormula". I would like to make the Subtitle be just "@@MyFormula" but when I type this in the subtitle textbox, the literal string "@@MyFormula" is displayed, instead of the value returned by the "MyFormula" formula.

What annoys me the most is that if I let Crystal Reports assign the sub-title automatically, it makes it "For @@MyFormula" and this prints the right value returned by the formula, (except that it preceeds it with the word "For"). Can anybody tell me how I can make sub-title print based on a formula?

Thanks

JC

We don't see things as they are; we see them as we are. - Anais Nin
 
Could you print a blank chart title and subtitle, and then use formula fields on the report above the chart to customize the titles?
 
You can control the width of the lines by using the Chart Analyzer (right click on the chart->Chart analyzer->right click on the line->format chart->selected item->line->thickness), although I'm not sure whether this is a feature of your version.

-LB
 
MColeman,
Thanks for your reply. How can I access the Chart's title through code?

LB,
I don't think the Chart Analyzer is part of my version, but I'll give a star here as a Thank You for your reply to my other thread ("Sepcified Order" at run time).

JC

We don't see things as they are; we see them as we are. - Anais Nin
 
I don't know if you can access that chart's title thru code.

What I've done in the past, is to set the chart titles to blank with the chart expert. And then add a formula right
above the chart to print a custom title.

Hope this helps!
 
MColeman,
Thanks for your reply. I'll try your approach and see how it works.

Thanks!

JC

We don't see things as they are; we see them as we are. - Anais Nin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top