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

Format text in Pie Chart Key

Status
Not open for further replies.
May 5, 2000
168
US
I have a report based on a stored procedure from SQL.
In the report I am including a pie chart. The chart key displays what the various colors in the chart represent.

This is what the key displays. I have described the color where in the key it shows a color square.

blue Sum of pr_TransportationMode_Report.Transit
red Sum of pr_TransportationMode_Report.Carpool
green Sum of pr_TransportationMode_Report.Bicycle
orange Sum of pr_TransportationMode_Report.Walk
yellow Sum of pr_TransportationMode_Report.Vanpool

What I want the key to display is this

blue Transit
red Carpool
green Bicycle
orange Walk
yellow Vanpool

You can see that the key is displaying the name of the stored procedure and then the field name.

I can't find anywhere in the chart options where you can customize the labels in the key.

Does anyone know a workaround for this.

Thanks



 
This is from Crystal 10 Dev. help:

Changing the chart's legend text
On the Preview tab, click the text in your chart's legend to select it.
Tip: Be sure to select the text and not the entire legend.

Right-click the legend text and select Edit Axis Label from the shortcut menu.
In the Label Aliasing dialog box, add the text you want to see in the Displayed Label field.
Click OK.

GJ
 
Hi;
I'm using CR 11 in a VB.NET program, so I don't have an option to select the Preview tab, click the text in your chart's legend.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top