Colored bars in BAR Chart

Hi all,
I want to display a bar chart which is having different colored bars. For example, i am now using equipment wise bar chart, if i am having 50 equipments, all 50 equipments should be displayed in different colors in bar chart. Now i am getting output for those 50 equipments having same color. I tried by giving that equipment column in DATA MAPPING -
> LABEL COLUMNS, I got only 32 bars which is in different colors in output. Kindly give me some solution for this.
thanks in advance

You may have more than 32 bars but they will be the same data series and therefore the same color.  For separate colors the limit is 32 (I think you'll see that pens 17-32 repeat the colors from pen 1-16 in the default template).
It sounds like your best bet is using ValueColumn for your numerical field and then LabelColumn for the string name field.  This way, depending upon the results returned it will provide good coloration between bars, but it may also be decreasingly relevant beyond the first 'x' items.  A normal Pareto chart might use the notion of top 10 or top 20, which would be well within the 32 color limit.

Similar Messages

  • I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    Thanks Gary, but no, that does not work. First of all, I can't select each bar individually. When I click on one bar, all three bars are selected.
    When I use "inspector > graphic" I have 5 fill options: none, color, gradient, image, tinted image. The default selection for the theme I'm using is image. What I would like to use for my charts is the same image that this theme uses for table headers. It has the same texture as the chart, but a different colour. Using anything but image or tinted image removes the texture from the fill.
    I have found I can do one of two things. I can select tinted image from the fill selections in "inspector > graphic" or I can select 2D Image Fills from "inspector > chart > chart colors". The first choice does not allow me to match the table header colour because it only allows me to apply a tint to the existing colour and adjust its opacity. The existing colour has too much influence on the fill, so I can't find an RGB adjustment that will match the table header colour. The image selections from "inspector > chart > chart colors" do not quite match the colour or the texture. Again, I can try to tint the image, but I still can't get it to match and the texture is not the same anyway.
    The image I want to use obviously exists in the software as it is an attribute of the theme, but for some reason is inaccessible. The other angle I have tried is to edit the theme, but I can't figure out how to do that either.

  • Fine-grained control of colors in a bar chart

    Hello,
    Short version: How do I control the colors of the bars in a bar chart in Keynote, so that each bar, representing a particular entity, retains its color no matter its position relative to the other bars after updating the chart?
    Detailed version: I am using iWork '09. In Keynote I have a 3D bar chart showing an indicator for different companies (industry comparison). The companies are sorted in ascending order by revenue, so that the lowest bar (company with smallest revenue) is to the far left and the tallest - to the far right. I update the chart regularly. I have the following problem: each bar, representing a company, is in a particular color. When I update the chart, if the the order of the companies changes, the colors of the bars do not change, so that in the new chart the order of the colors is the same, although some or all of the bars now represent different companies. In other words: if in version 1 company A is in red and comes before company B which is in blue, if in the next version company A comes after company B, I want its bar to still be red. In the current situation, if company A comes after company B its bar will be blue and comapny B's will be red, i.e. red still comes before blue.

    I have to give up the beautiful colors of the automatic chart and only use the restricted number of colors from the color well.
    There is no restricion in the choice of colour, the colour depth on a Mac has over 16 million to choose from.
    Further, the fill type has options for;  colour, gradient, image and tint

  • How to change the color of bar in bar chart

    Hi I'm
    using Crystal Reports 2005 with Visual Studio 2005. How do i change the color of the bar in a bar chart, i don't see any options, someone telling in the forum that i can simply right click on the bar and choose color, but i don't get that option. all i can select is the entire chart object.
    any help is greatly appreciated.
    Thanks
    yesvee

    You have to make sure that you select the correct part of the bar.
    For Example:   When you click on the outside of the chart, the entire chart will be selected. Clicking somewhere inside the chart will also highlight the entire chart, but to highlight a specific bar or line you have to click until only that part is highlighted.
    Once you have the bar or series highlighted, right-click on the highlighted section and then select Chart Options, or "Format Series Riser" and you should be able to change the colour of the bar/line.

  • Can you change color of bars in bar chart?

    I have made a chart by using the spreadsheet and converting my data to a bar chart. I would like to change the default colors of the bars in the chart but so far haven't figured out how to do it, if indeed it is possible. Is it? If so, how should I go about it? I have been able to change the labels for the bars, but I want to change the colors of the bars themselves. Also, is it possible to change the arrows in the pictogram graph to some other clipart that might better represent the thing I am graphing?
    iMac G5   Mac OS X (10.4.8)   AppleWorks 6.2.9

    "I tried what you suggested, but it didn't work. When I click on the color square in the legend, a small circle appears in the square, but I am unable to select any of the paint tools. ... (Likewise, when I open the Modify dialogue and try to select the color in the sample box there, AppleWorks won't let me change it."
    Paint tools won't work, as the bars are Draw objects, and you have only limited control over them while the chart is still connected to the spreadsheet. Click on the colour square in the Legend. The white dot indicates it's selected.
    Now click on the Fill formatting button in the bottom section of the Tools (It's the almost invisible plain white button in the stack of three. The other two are the Pen formatting button—which has a black outline—and the Text formatting button—which has a T.). Then choose a colour from the Colors palette in the stack to the right of the three buttons.
    "Similarly, when I open the Modify dialogue and try to delete the arrow symbol in the sample box, it won't go anywhere; I just get an alert sound and nothing happens. Am I doing something wrong?"
    Should work like this:
    Double click the chart.
    In the Modify dialogue, click Series.
    In the Series dialogue, click the Sample box. A black outline should appear around the box, indicating it is selected.
    Press Delete to delete the current image. You should then see only the background colour.
    Press command-V to Paste your image.
    Uncheck Repeating to get a single copy of the image, stretched to fill the bar.
    Check Repeat to get a fixed size image that repeats to fill the bar.
    Set the overlap percentage if you want the repeating image to overlap.
    Click OK to return to the chart and view the results.
    Regards,
    Barry

  • Chart: Changing the color of a bar

    Hello Experts,
    We would like to change the color of a particular bar in the chart. Can someone share a code snippet to achieve the same? If we use color-pallete aggregation then color change is getting reflected to all the bars.
    We are using makit library, please note that we had tried the same with viz library also.
    Snippet from XML view:
    <ma:Chart id="idChart1" height="50%" width="100%" type="Column"
      rows="{/}" showRangeSelector="true"
      showTableView="false" showTotalValue="false">
      <ma:category>
      <ma:Category column="type" displayName="Product" />
      </ma:category>
      <ma:values>
      <ma:Value expression="tickets" displayName="Gross Value"
      format="number" />
      </ma:values>
      <ma:columns>
      <ma:Column name="type" value="{BillCycle}" />
      <ma:Column name="tickets" value="{Volume}" type="number" />
      </ma:columns>
      </ma:Chart>
    Regards,
    DR

    annajus wrote:
    Hello
    I am having trouble changing the color of a line chart. I can change colors in bar charts, but it does not let me change the colors for the same data set in a line chart format.
    Do you mean that you want to have different parts of the same line to appear in different colors?
    When I move the chart to Pages it won't let me put the chart legend actually in the chart (which I need based on the APA guidelines).
    Print the Chart to PDF and import the PDF to Pages, with the Legend wherever you want it.
    Finally - any thoughts on how to adjust the X axis so that the first data point doesn't start right on the Y axis?
    Set the Axis Minimum to some other value.
    Regards,
    Jerry

  • SSRS- Drill down to sub report of a bar chart on click on a particular color of the bar

    Hi,
    I have a bar chart which can have many colors on each bar, Now if i click on a bar, i am getting all the data related to that particular bar. Is it possible to click only on a particular color and get related data instead of whole bar?
    To be more precise, in the below image if i click on 16/6/2013 bar, i am getting all the data related to the bar, but is it possible to click on red  and green colors of the bar separately and  get the relevant data? Any help is greatly appreciated.
    Kruthi Hegde

    Hi Kruthi,
    In your case, you can use “Go to report” property to solve the issue.
    Suppose we have a dataset (DataSet1) in main report and subreport with following fields: Months, DateTime, Amount. We can according to Months and DateTime fields to display the subreport. Please refer to the steps below:
    Subrepot:
    Add dataset (DataSet2) in the report with Months field.
    Add dataset (DataSet3) in the report with DateTime field.
    Add two parameters in the report. Please refer to the following Available Values:
    Months:
    Dataset:  DataSet2
    Value field: Months
    Label field: Months
    DateTime:
    Dataset:  DataSet2
    Value field: DateTime
    Label field: DateTime
    Add filters in the tablix.
    Main report:
    Right click the bar chart, select Series Properties.
    Click Action in the left pane, select “Go to report” option.
    Specify the corresponding report.
    Click Add icon to add parameters to run the report:
    Name: Months    Value: [Months]
    Name: DateTime    Value: [DateTime]
    (Note: If we want subreport display these data which is only relevant with color, we can delete DataTime parameter in the report.)
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Gantt chart- How to change the color of time bars of different versions

    Hi All,
    My Client wants to see all changes in planning schedule. I made different versions of these changes but he also want to see all these changes in gantt chart and in different colors. I tried to change the color in planning board assistant but in this screen (CJ27/ CJ2B). we cannot view all versions together. And if I use CN41, there I cannot change the colors of time bars.
    Secondly, we can change colors of times bars of basic dates, forecast dates and actual dates but there is no provision to change the colors of schedule bars of different project versions. Kindly reply-
    1. How to see all project versions in CJ27 or How to customise bar chart in cn41 or if we change in SPRO, then how to change graphic profile in project info profile
    2. How to change colors of different time bars of different versions.
    3. How to mention these legends (meaning of each color in chart) at footer of gantt chart (in print outs)
    Please Help.
    Thanks & Regards
    Dinesh Chauhan

    Thanks,
    actually I've created new project planning board profile where planning board assistant is customized but unable to use this profile in CN41. we can change PS info profile in CN41 and that;s why I thought that planning board profile may be assigned somewhere in PS info profile so that changes in planning board assistant will be applied in CN41 through PS info profile. Graphic profile is too complex to understand and not sure if it will help to get colored time bars of projct versions in gantt chart. Still not clear.
    Secondly not able to see all versions (snap shots) in gantt chart with different colors of time bars.
    I mean planning board screen can be customized but we cannt see different versions here which are possible in CN41, but we cannt customize the gantt chart (time bars) in CN41. Pls help.
    Thx & Regards
    Dinesh Chauhan

  • Customize colors in horizontal bar in charts OBIEE 10g

    Hi All,
    I have a chart report which has horizontal bars. I want th change the color of each bar to different colors. I have no condition,any color is fine for me.
    How can I achieve it? In Format Chart Data, I haev specified different colors,but it gives only one color for each Horizontal bars.
    Thanks,
    Krishna

    Hi Krishna,
    Try chart conditional formatting, if you have year in X axis and Revenue in Y axis, add conditional format for each year. By this you can vary color for each bar.
    Regards,
    Dpka

  • Crystal Report Version 11.5.8.826 - Color Sorting - Stacked Bar Chart Issue

    Hi All,
    I have issue on sorting the color on stacked bar chart.
    Below steps are not reflect the color sorting.
    1. Right click on chart area in the report
    2. Select chart expert
    3. Go to Color Highlight tab
    4. In the item list, change the sequence of color
    Is there any way to sort the color on stacked bar chart?
    Please advise, thank you.
    Regards, Sumardi

    hi,
    You can right click on each bar individually,
    Format Series Riser -> Fill -> Foreground Color.
    This will apply the required colors.
    Also, if you have any color standards, try to create  a sample report with this kind of Chart and specify the colors individually.
    Right Click the chart -> Save as Template.
    In future, if any other reports have Stacked Bar Chart with same color standards, you can directly re-use this template.
    Regards,
    Vamsee

  • Different bars in column chart

    Hi All
    I want to show a column/bar chart with huge amount of data.
    Here each bar should be in different colors. May be five to six
    colors dynamically changing regularly. Is there any way to add
    custom bars to the chart like renderer for datagrid.
    Any suggetios will be appreciated.

    Are you going to show the bar going past the maximum value?
    If not, then you should change the Y value when entered into the array to the maximum value allowed. i.e.
    if(itemYValue > maxAllowedValue) {
         itemYValue = maxAllowedValue;
    Where maxAllowedValue is a variable you set on the application to control the maximum value for the chart.
    This is assuming that you are loading the values into an Array before updating the chart dataprovider with that array.

  • 10g Graphs - How to customize the default color of a Bar Graph

    Hi,
    I've posted this thread in Reports section, have received no reply yet. Maybe no one has ever tried this before!!
    I am porting a couple of 6i OGD's to 10g graphics.
    Basically I am invoking reports from a form. The reports contains embedded Graph.
    Here comes the tricky part.
    I have a couple of Graphs in 6i that display each bar of a bar graph in different color.
    Example:
    Value       Bar Color
    Critical     Red
    Major       Orange
    Minor       Yellow
    None       GrayQ) I want to know how to set the color of each bar of a bar graph based on the value it takes. i,e If it's critical the bar should be displayed in red. If it's major, the bar should be displayed in orange.
    I added conditional formatting in 10g Graph, and this is the trigger that was created.
    function CT_1FormatTrigger return boolean is
    begin
      -- Automatically Generated from Reports Builder.
      if (:f19 > -1)
      then
        srw.set_foreground_border_color('yellow');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('yellow');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:f20 > -1)
      then
        srw.set_foreground_border_color('red');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('red');
        srw.set_fill_pattern('solid');
      end if;
      return (TRUE);
    end;When I try to invoke the above report from the form, I get the error: FRM-41214: Unable to run report.
    If I remove conditional formatting, I am able to invoke the report from the form with the default color in the embedded graph.
    Hopefully someone has ideas on this!
    Thanks

    Why don't you use the build-in charting capability of reports 10g instead? There is FormsGraph.jar implementation for forms but that might not have the flexibility of what 6i graphs has/had and not "officially" supported - not like the reports 10g charting capability (which is built in and can be customized by editing the related xml files (if necessary). Note: FormsGraph.jar has it's own limitations

  • Change colors CNE5 char bar

    Hi PS experts, i have a consultant. In the transaction CNE5, when I visualize the bar chart shows me some colors to actual dates. Where can configure to change the color of these bars?
    please help me
    Greats
    Augusto, Lima Peru

    You can use initWithImage or initWithCustomView to get the look you want.

  • Plot line, bar and pie chart

    Anyone can let me know where can i learn or tutorial on how to plot line, bar and pie chart by using java2D... (no third-party software)....
    thanks in advance.

    Here's a pie chart app I made for an earlier question:
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class PieChart {
      public static void main(String[] args) {
        int[] data = {
          18, 95, 102, 87
        PieCharter pie = new PieCharter();
        pie.enterData(data);
        JFrame f = new JFrame("Pie Chart");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(pie);
        f.setSize(400,300);
        f.setLocation(300,300);
        f.setVisible(true);
    class PieCharter extends JPanel {
      int[] data, percents;
      int dataTotal;
      final int
        PAD = 25,
        R_PAD = 5;
      public PieCharter() {
        setBackground(Color.white);
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        Font font = new Font("lucida sans unicode", Font.PLAIN, 16);
        g2.setFont(font);
        FontRenderContext frc = g2.getFontRenderContext();
        int width = getWidth();
        int height = getHeight();
        int cx = width/2;
        int cy = height/2;
        int dia = (int)Math.min(width, height) - 2*PAD;
        g2.draw(new Ellipse2D.Double((width - dia)/2, (height - dia)/2, dia, dia));
        // draw zero datum
        double radians = 0;
        int x = cx + (int)((dia/2) * Math.cos(radians));
        int y = cy - (int)((dia/2) * Math.sin(radians));
        g2.draw(new Line2D.Double(cx, cy, x, y));
        String s;
        int dataWidth, dataHeight, deltaR, rXInc, rYInc;
        for(int i = 0; i < data.length; i++) {
          radians += 2*Math.PI * data/dataTotal;
    x = cx + (int)((dia/2) * Math.cos(radians));
    y = cy - (int)((dia/2) * Math.sin(radians));
    g2.draw(new Line2D.Double(cx, cy, x, y));
    s = String.valueOf(percents[i]) + "%";
    dataWidth = (int)font.getStringBounds(s, frc).getWidth();
    dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
    deltaR = (int)Math.sqrt(dataWidth*dataWidth + dataHeight*dataHeight)/2 + R_PAD;
    rXInc = (int)(deltaR * Math.cos(radians));
    rYInc = (int)(deltaR * Math.sin(radians));
    x += rXInc;
    y -= rYInc;
    x -= dataWidth/2;
    y += dataHeight/2;
    g2.drawString(s, x, y);
    s = String.valueOf(data[i]);
    dataWidth = (int)font.getStringBounds(s, frc).getWidth();
    dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
    x = cx + (int)((dia/4) * Math.cos(radians - 2*Math.PI * data[i]/(2*dataTotal)));
    y = cy - (int)((dia/4) * Math.sin(radians - 2*Math.PI * data[i]/(2*dataTotal)));
    x -= dataWidth/2;
    y += dataHeight/2;
    g2.drawString(s, x, y);
    private void prepareData() {
    for(int i = 0; i < data.length; i++)
    dataTotal += data[i];
    percents = new int[data.length];
    int dataPlus = 0;
    for(int i = 0; i < data.length; i++) {
    dataPlus += data[i];
    percents[i] = Math.round(100 * dataPlus/dataTotal);
    public void enterData(int[] data) {
    this.data = data;
    prepareData();
    repaint();

  • Error Bars in WAD Chart

    All:
    Can anyone tell me if it's possible to add Y Error Bars to a chart in the Web Application Designer v3.5?  I'm able to add a trendline to the data series, but do not see an option for error bars.
    Thanks in advance...
    KB

    Did you have get this issue resolved or answered?

  • Bar and Pie chart  display with values

    Hi All...
    I want implement the my swing application Bar and Pie chart functionality with vales, If both are disply same veues.
    Thanx to Advance
    Arjun

    www.jfree.org

Maybe you are looking for

  • Installation ProBleM with Adobe Reader on WinDows 8.1

    I've been trying for some Time to install Adobe Reader on 2 different Windows 8.1 computers, using Internet Explorer and Chrome, and haven't succeeded. The "Adobe Reader Installer" opens up, but the screen remains grey. Nothing seems to be happening.

  • C# console application closes on it's own as soon as it opens

    Hello to all of you. I know this is a very common problem but there seems to be no solution for me so far. The known problem that right after build and start debugging, terminal opens and closes like a flush. Have Tried the below already: Console.Rea

  • Schedule Creation of Material

    Hi Gurus, What is the purpose of shedule creation of material in master data (MM11) ? Can anybody explain ? With Regards <b>Ram Kumar</b>

  • How to SET Informix (ifxjdbcx.jar) LOCALES in Pool Properties - by G Moykin

    Hi everybody, Some users complain about setting the DB and Client Locales in Connection Pool Properties, when IBM Informix JDBC Driver (Type 4 XA) <b>ifxjdbcx.jar</b> is used. The usual way to set them is:<br> <i>DB_LOCALE= …<br> CLIENT_LOCALE= …

  • T-code that  resets the counts in the storage bins

    hello, is there any T-code that  resets the counts in the storage bins. As we do our weekly counts it keeps a running total of how many bin are completed and allows us to track the warehouse's progress. Regards Goutham