Pages '09 Bar Graph Color Help!

Hi everyone.
I am trying to make a chart in pages 09 and I have a wee bit of a problem.
Lets say I make a bar graph, a simple one with 4 bars. What do I do if I want to change the color of just one bar? If I want the first bar to be red and the rest to be green for example. I already tried dragging the color onto one bar individually but all the bars are still changing with it.
Thanks a million
NeoXY

Pages uses a single colour for each series of data. Each series is listed in a single column.
Try moving the datum you want to show in a different colour one column to the right, leaving its cell in the 'regular' column empty.
Select the original column(s) and the extra one, then choose the stacked bar graph (second item) from the Charts button's popup menu.
Regards,
Barry

Similar Messages

  • Change the bar graph color

    Hi
    Is it possible to change the bar graph color? I want the first bar to be green, second to be red, thrird to be orange and fourth to be gray.
    Is there anywhere to specify the color?
    Thanks

    Did you find the Fusion 11g Web Guide section 23.5.1 any help?:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/dv_graph.htm#sthref410
    CM.

  • Setting bar graph color by means of formula

    Is there a way to set the bar graph color other than chart expert->color highlight. I need alternate way of setting color like this
    if data='ready%' then set color=green, I don't want manually set is ready* can be anything. Is this possible ?

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • Vary Chart Bar Graphs Color

    Hello folks!
    I am creating an Excel chart using Excel Interop (please find below code and output for the code given below). I need to vary the colors of same-series chart bar graphs (The graphs only now in orange). This line of code doesn't do the trick:
    series1.Interior.ColorIndex = XlColorIndex.xlColorIndexAutomatic;
     How can I achieve my goal? Any advice will be appreciated!
    Excel.ChartObjects xlCharts = (Excel.ChartObjects)_sheet.ChartObjects(Type.Missing);
    Excel.ChartObject myChart = (Excel.ChartObject)xlCharts.Add(236, 241, 224, 268);
    Excel.Chart chartPage = myChart.Chart;
    chartPage.HasLegend = false;
    chartPage.ChartType = Excel.XlChartType.xlColumnClustered;
    chartPage.ChartStyle = 4;
    Excel.SeriesCollection seriesCollection = chartPage.SeriesCollection();
    Excel.Series series1 = seriesCollection.NewSeries();
    series1.Name = "My Title";
    series1.XValues = xValues;
    series1.Values = yValues;
    series1.Interior.ColorIndex = XlColorIndex.xlColorIndexAutomatic;
    Excel.Axis axis = (Excel.Axis)chartPage.Axes(
    Excel.XlAxisType.xlValue,
    Excel.XlAxisGroup.xlPrimary);
    axis.HasTitle = true;
    axis.AxisTitle.Text = "My Chart";
    series1.ApplyDataLabels(
    Excel.XlDataLabelsType.xlDataLabelsShowLabel,
    true, true, true, false, false, true, true,
    true, true);

    Hi hokushin,
    The series1.Interior.ColorIndex property can only set the color for the whole series. If you want to vary the color of the bar graphs in the same series, one way is to vary the color by the Point.  For example:
    int pointsCount = series1.Points().Count;
    for (int i = 1; i <= pointsCount; i++)
    series1.Points(i).Interior.Color = Color.FromArgb(0, 30*i, 0);
    You can set the color as you want for every Point of the series, the series1.Points([point number]) method will return the whole Points collection or just one Point of them.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Data display on Bar graphs - Needs help

    Hi,
    I am facing a problem with discoverer's bar graphs.
    There is a 2D Bar Graph, which is required to display the respective strength for all the classes on the axis(e.g regionwise sales for North, West, East, South). In Oracle discoverer the sales is shown only when the mouse is pointed over the respective bar but that too at the bottom. The fixed values of the sales is not being displayed above each bar permanently.
    But the client requirement is to display the strength for each class above each bar numerically so that a print out can be taken along with values.
    Please suggest how can this be done.
    Goga

    On the Plot Area tab, check the "Show Data Labels for bars". To the right of that, clicking the "Options" button will let you place the labels above or in the bars.
    Also, check that the graph background color is not the same as the font color.

  • Help Needed : Changing the Color of Bar Graph Dynamically

    Hi..
    Is der any body to help me out...?
    My Question is :- How to change the color of Bar graph Dynamically..
    For example (Assume when one of the Bar Graph crosses certain limit of Y axis value mentioned, the graph must be changed into RED color)
    Thanks in Advance
    Edited by: user12873839 on Mar 30, 2010 10:03 PM

    Manoj,
    You have to create the entire chart manually. follow the below steps. You can refer to the anychart website for more help on different tags and features.
    1. Enter the following code in the html header of the page
    <script src="#WORKSPACE_IMAGES#AnyChart.js"  type="text/javascript" > </script>2. Create an ON Demand Application process by going to the Home>Application Builder>Application #>Shared Components>Application Processes
    3. Click On Create
    4. Enter the name as DYNAMIC_BAR_GRAPH_CHART
    5. Select the processing point as On Demand
    6. Click on Nxt
    7. Enter the following code in the processing text
    DECLARE
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    OWA_UTIL.http_header_close;
    HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
    HTP.p ('<anychart>');
         HTP.p ('<settings>');
              HTP.p ('<animation enabled="True"/>');
         HTP.p ('</settings>');
      HTP.p ('<charts>');
       HTP.p ('<chart plot_type="CategorizedVertical">');
         HTP.p ('<data_plot_settings default_series_type="Bar">');
              HTP.p ('<bar_series>');
                        HTP.p ('<tooltip_settings enabled="True">');
                        HTP.p ('<position valign="Top" halign="Right"/>');
                        HTP.p ('<format> Name: {%Name}');
                        HTP.p ( 'Value : ${%YValue}{numDecimals:0}');
                        HTP.p ('</format>');
                        HTP.p ('<font bold="false"/>'); 
                        HTP.p ('<background>');
                        HTP.p ('<corners type="Rounded" all="3"/>');
                        HTP.p ('<border type="Solid" color="DarkColor(%Color)" thickness="2"/>');
                        HTP.p ('</background>');
                   HTP.p ('</tooltip_settings>');
              HTP.p ('</bar_series>');
         HTP.p ('</data_plot_settings>');
         HTP.p ('<data>');
              HTP.p ('<series name="series 1">');
               FOR cThis IN (select table2.name, table2.value
                                  from table1,table2,table3
                                  where table1.T1ID = table3.T3ID
                                  and table2.T3ID = table3.T3ID
                                  and table3.C_ID=1
                                  and table3.A_ID=1
                        ORDER BY table2.name )
              LOOP
                   IF cThis.value > 90 THEN
                        HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" color="red"/>');
                    ELSE
                        HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" />');
                   END IF;
              END LOOP;
              HTP.p ('</series>');
         HTP.p ('</data>');
         HTP.p ('<chart_settings>');
              HTP.p ('<title>');
                   HTP.p ('<text>Chart Title</text>');
              HTP.p ('</title>');
              HTP.p ('<axes>');
                   HTP.p ('<y_axis>');
                        HTP.p ('<title>');
                             HTP.p ('<text>Value</text> ');
                        HTP.p ('</title>');
                        HTP.p ('<labels>');
                             HTP.p ('<format>${%Value}{numDecimals:0}</format>');
                        HTP.p ('</labels>');
                   HTP.p ('<axis_markers>');
                   HTP.p ('</axis_markers>');
                   HTP.p ('</y_axis>');
                   HTP.p ('<x_axis position="Normal" align="inside">');
                   HTP.p ('<labels display_mode="Rotated" rotation="90" align="inside" />');
                   HTP.p ('<title>');
                        HTP.p ('<text>Name</text> ');
                   HTP.p ('</title>');
                   HTP.p ('</x_axis>');
              HTP.p (' </axes>');
         HTP.p ('</chart_settings>');
        HTP.p ('</chart>');
      HTP.p ('</charts>');
    HTP.p ('</anychart>');
    htmldb_application.g_unrecoverable_error := true;
    END;8. Click on Create Process
    Now we will create a html region to display the graph.
    9. Create a new region of type HTML on the same page and select the region template as no template.
    10. Enter the following code in the region source
    &lt;div id="DynamicaBarGraph"></div>
    &lt;script type="text/javascript" language="javascript">
    function DynamicaBarGraph()
    var DynamicaBarGraph = new AnyChart('/i/flashchart/swf/AnyChart.swf');
    //    DynamicaBarGraph.width = "400";
    //    DynamicaBarGraph.height = "400";
    DynamicaBarGraph.addEventListener('pointClick', onDynamicaBarGraphClick);
        var DynamicaBarGraphData = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=DYNAMIC_BAR_GRAPH_CHART',0);
        gReturn = DynamicaBarGraphData.get();
        DynamicaBarGraph.setData(gReturn);
        DynamicaBarGraph.write("DynamicaBarGraph");
    function onDynamicaBarGraphClick(e)
    // Read point name
         name=e.data.Name;
    // Read point value
         value=e.data.YValue;
    // You can add onclick even here using the values name and value
    DynamicaBarGraph();
    </script> Hope it helps. Thanks.
    Regards,
    Manish

  • I'm not techinal so please bear with me. I don't have the bar that allows me to type in a website. I did have a few minutes ago. When I make the page full screen and move my cursor to the top of the page, the bar drops down and I can use it.  help

    I'm not techinal so please bear with me. I don't have the bar that allows me to type in a website. I did have a few minutes ago. When I make the page full screen and move my cursor to the top of the page, the bar drops down and I can use it. I've tried restarting my computer, didn't work. Help!

    Well I figured it out, right click the arrow that makes the screen bigger and unclick the Hide Toolbar. I knew it couldn't be that hard.

  • Anychart bar graphs - Can we map colors to customer IDs in JSON/XML dynamically?

    Hi,
    We are using the Anychart bar graphs to show our customers data. We need to be able to map colors to customer IDs, so that anytime we use a bar chart a customer will aways be the same color.
    Example: if one view shows 3 customers  (cust ABC is maroon, XYZ is yellow and DXA is blue) and a second view, because of the data, shows 12 customers, that if 2 that are in the first view are also showing they would have the same colors as they did in the first view (cust ABC is still maroon and cust DXA is still blue and if XYZ is not in the second view then Yellow would not be present)
    Is there a way to map the colors to the customers in an XREF table then build the JSON or XML dynamically and use that in the graph each time?
    I have found the Anychart site and it looks like it is possible but was wondering if anyone has done it? Otherwise it looks like it is going to be to time consuming to read everything I would have to read.
    Thank you,
    Bill

    thanks for passing this link Stijin,
    http://oraclebizint.wordpress.com/2007/09/25/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase1/
    http://oraclebizint.wordpress.com/2007/09/26/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase2-phase3/
    i already used this, but we need at least full explanation in how to build OBIE presentations layers and its physical and logical datas , and how to write codes using Java scrips and html codes using OBIE presentation on statistics text.
    if any of you just can link me link regarding to workshop lab's documentations and files regarding to OBIEE integrated to Mapviewer.
    with fully respect and love to you all,
    Yusuf Felemban

  • 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

  • Plot a bar graph of 1D array with different color of each bar?

    Any one has example for a graph of 1 D array ( exp: [1,2,6,4,6]  with different color of each bar? I want to make a bar graph of 1 D array, exp :if the value >=5, the bar is red, value< 5 is blue.

    What's wrong with the solution I showed you over two weeks ago?
    http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=281455#M281455
    LabVIEW Champion . Do more with less code and in less time .

  • Changing the color of bar graph

    I have created a bar graph in graphics builder and I want the
    report to display different colors to indicate different values
    in the field.
    What is the best way to do this?
    Can someone provide me with sample code?
    Thanks

    I have created a bar graph in graphics builder and I want the
    report to display different colors to indicate different values
    in the field.
    What is the best way to do this?
    Can someone provide me with sample code?
    Thanks

  • I need a stacked bar graph stacked but overlaying data help please

    Hi,
    I have a requirement to change an existing combination graph.
    Currently we use a combination graph that has a bar that shows the usage accross a number of weeks, with a line that shows total available over the top. So the customer can see what they have used in a week against themaximun it could be used in that week.
    Unfortunatley our customer would like this changes to a single bar graph that shows the usage and then if the total available is more than the usage (it is sometimes the same but never less) then this should be added to the bar graph to increase the bar in a different colour.
    I have looked at Reports 10g and the stacked bar graph seems perfect but this adds the two values together and not just the increase. I know i could minus one from the other but with the way my data is structured in the data model this could be a pain as they are linked via a data link in the data model and also seems a bit of a work around. Is there no way to have a overlay on the stacked graph or is there another way to achieve this that i cant see.
    Thanks

    I was able to figure it out.
    Instead of using creating the dataset using:
    CategoryDataset datasetWorkload = DatasetUtilities.createCategoryDataset()
    if a 'DefaultCategoryDataset' is used, the values to be displayed can be customised:
    DefaultCategoryDataset result = new DefaultCategoryDataset();
    result.addValue(200.0, "Allocated", "Jan 04");
    result.addValue(500.0, "Allocated", "Feb 04");
    result.addValue(10.3, "Over-Allocated", "Jan 04");
    result.addValue(16.2, "Over-Allocated", "Feb 04");
    Thanks for your time, users: wpafbuser1 and practissum.

  • How to create a link to Bar Graph......?

    Hi,
    Can any body tell me how to create a link to a bar graph such that on clicking, it should navigate to specified page in the same application or different application.
    I've written the following Region Source for creating link on Graph. Correct if it is wrong.
    function onDynamicaBarGraphClick(e)
    // Read point name
         name=e.data.Name;
    // Read point value
         value=e.data.YValue;
    // You can add onclick even here using the values name and value
    link='f?p=&APP_ID.:4:'||:app_session||'::::::';
    Thanks in Advance....
    Regards,
    Manoj
    Edited by: user12873839 on Apr 12, 2010 12:11 AM

    I have replied to you in another post. Help Needed : Changing the Color of Bar Graph Dynamically
    Please don't open multiple posts for the same question. Thanks.
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                       

  • Bar graph error

    I made a program that shows bar graphs, well it's suppose to. Its not working, the compiler says something about the for statements needing ';'s...
    help please!
    import java.awt.*;
    import java.applet.*;
    import java.awt.event*;
    public class Bars extends Applet implements ActionListener
         int offset = 75; //displace graph vert and horiz from origin
         int height = 150, width = 240;
         int vert_div = height/5; //vert_Div = 5
         int horiz_div = width/data.length; //horiz_div = 4 (4 entries)
         Label prompt = new Label ("Enter a value for the bar graph.");
         final static String data_label[] = {"T1","T2","T3","T4"};
         TextField input = new TextField(3);
         static int data[] = new int[4];
         int numb_entries = 1;
         public void init()
              add(prompt);
              add(input);
              resize(400,275);
              input.addActionListener(this);
         public void actionPerformed( ActionEvent e )
              int numb = new Integer(input.getText()).intValue();
              if(numb_entries<5)
                   data[numb_entries-1] = numb;
                   numb_entries++;
                   input.selectAll(); // places cursor in text box after first entry
                   if(numb_entries == 5)
                        input.removeActionListener(this);
                        remove(input); // deletes component from window
                        remove(prompt); // remove() is opposite of add()                    
         public void paint(Graphics g)
              if(numb_entries==5)
                   g.drawString("value 1 = "+data[0]+", value 2 = "+data[1] +
                                  ", value 3 = "+data[2]+", value 4 = "+data[3],70,30);
                   g.setColor(Color.black);
                   g.drawLine(offset+width,offset,offset+width,offset+height); //y-axis
                   for (int i=0;i<=5;i++) //y tick marks
                        g.drawString(String.valueOf(i*20),offset+width+10,
                                        offset+height-(i*vert_div));
                        g.drawLine(offset,offset+height-(i*vert_div),offset+width+5,
                                     offset+height-(i*vert_div)); //draws horiz gridlines
                   g.drawLine(offset,offset+height,offset+width,offset+height);//x-axis
                   for (int i=0;i<data.length;i++)
                        g.drawString(data_label,
                             offset+horiz_div*i+horiz_div/2,offset+height+20);
                        g.drawLine(offset+horiz_div*i+horiz_div/2,offset+height,
                             offset+horiz_div*i+horiz_div/2,offset+height+20); //x-ticks
                   g.setColor(Color.red);
                   for (int i=0,i<data.length;i++)
                        int bar_height = data[i]*height/100;
                        g.fillRect(offset+horiz_div*i+horiz_div/4,
                             offset+height-bar_height,horiz_div/2,bar_height);
                   resize(400,275); //paint bars and data values

    change
    import java.awt.event*;with
    import java.awt.event.*;

  • OBIEE 11g - Line-Bar Graph problem

    Hi,
    I am trying to build a Line-Bar graph where the line represents target. My data is as follows:
    Dim1 Dim2 Fact Target
    A Z 10 2
    A Y 5 2
    B X 6 3
    B W 7 3
    Please note that, the target is same across same Dim1. Like A has same target, B has same target.
    Now if I create a stack chart with stack based on Dim2 (Dim2 is in the Vary by Colour), then I get mutiple line for target with the same value for each Dim1.
    I am not sure if I could explain it clearly.
    I want to show one line for the target since its same for Dim1. How can I do that?
    Please help.
    My chart config is as follows:
    Group By (Dim1)
    Vary Coulor by (Dim2)
    Bars (Fact)
    Lines (Target)

    Not yet, and I've been too busy with some SEV 1 issues to goof around with it. I also need to open a ticket about default pivot table formatting - i.e. removing the background colors under the non-data areas, and they also seem to have some sort of gradient fill at the bottom. I'll let you know if I hear anything.
    Thx,
    Scott

Maybe you are looking for