Solved

Custom colours for the bars in bar graphs

Posted on 2004-04-08
6
379 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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

Question has a verified solution.

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

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 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