?
Solved

Custom colours for the bars in bar graphs

Posted on 2004-04-08
6
Medium Priority
?
382 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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 1000 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: 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.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 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