Solved

Custom colours for the bars in bar graphs

Posted on 2004-04-08
6
380 Views
Last Modified: 2006-11-17
Is it possible to specify custom colours (user definable) for the bars in the bar graph.
0
Comment
Question by:PradeepYadhav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 10782232
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
 

Author Comment

by:PradeepYadhav
ID: 10782795
Can this be done in Crystal Reports for Visual Studio .NET ?
0
 
LVL 42

Expert Comment

by:frodoman
ID: 10782992
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:PradeepYadhav
ID: 10783179
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
 
LVL 42

Accepted Solution

by:
frodoman earned 250 total points
ID: 10783849
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
 

Expert Comment

by:TonySeaward
ID: 11905804
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question