We help IT Professionals succeed at work.

Custom colours for the bars in bar graphs

PradeepYadhav
on
Medium Priority
396 Views
Last Modified: 2006-11-17
Is it possible to specify custom colours (user definable) for the bars in the bar graph.
Comment
Watch Question

CERTIFIED EXPERT

Commented:
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

Author

Commented:
Can this be done in Crystal Reports for Visual Studio .NET ?

Commented:
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

Author

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.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
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?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.