• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

Custom colours for the bars in bar graphs

Is it possible to specify custom colours (user definable) for the bars in the bar graph.
0
PradeepYadhav
Asked:
PradeepYadhav
1 Solution
 
peter57rCommented:
Hello PradeepYadhav,

You can in V9 by selecting the bar you want to format, rightclick and choose ChartOptions>SelectedItem.
Then on the Fill tab RightClick on any of the empty colour boxes at the bottom and choose Define Custom Color


Pete
0
 
PradeepYadhavAuthor Commented:
Can this be done in Crystal Reports for Visual Studio .NET ?
0
 
frodomanCommented:
PradeepYadhav,

No.  Unfortunately this cannot be done in the .Net version (If you follow Pete's instructions you'll notice there is no "Selected Item" option on the popup menu).

You could obtain an independant copy of Crystal Reports and develop your reports and them include them as resources in your .Net application.  In this was you could format chart colors before bringing into .Net and they will stay as selected.  I know this ability is in 8.5 and 9 - I don't know about other versions.

frodoman
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
PradeepYadhavAuthor Commented:
Hi Frodoman

I have crystal 8.5 but I am not able to select the bar in the graph. The whole graph gets selected. Are you sure you can do it in 8.5 if so how ?

I think I need Crystal 9.0.
0
 
frodomanCommented:
Yes, but it's a little bit different process to get to it.

In Preview mode click the chart to select it, then Report -> Chart Analyzer.  This opens a new tab (you'll have design, preview, and analyzer).  On the chart analyzer tab you can select the bar and change it's properties.

frodoman
0
 
TonySeawardCommented:
What if none of my color boxes are emtpy (so that I can right click and custom define)? Is there a way to reset the 16 boxes below the standard colors? Is there another way to define custom colors?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now