BI graph change bar color

Hi All,
I worked on the PJC BI graph, do you have an idea how to change bars color?
regards

The best place for information on the BI Graph is the Reports FAQ page:
http://www.oracle.com/technology/products/reports/htdocs/faq/Graph_FAQ_with_style.html
It contains a lot of useful tips on how to customize a BI Graph using the XML tags.
Hope this helps
Keith Laker
Oracle EMEA Consulting
OLAP Blog: http://oracleOLAP.blogspot.com/
DM Blog: http://oracledmt.blogspot.com/
OWB : http://blogs.oracle.com/warehousebuilder/
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

Similar Messages

  • Bar color in report

    Hi,
    We are using Crystal Reports XI R2. We have a requirement wherein we would like to programmatically set color or bars in a chart report. I was going through the API reference but could not find any class that could help. Could someone point me in the right direction?
    This is apart of a C#.net application using VS2005 and SQL Server 2005.
    Thanks!
    D2

    Hi John,
    Its not possible to programatically change bar color  in reports.
    See this business objects note # 1197468 .
    Content of Note is here:
    Symptom
    Is it possible to change the line colors in a line chart or the bar colors in a bar chart at run time using Visual Studio .NET?
    Cause
    The chart analyzer is a third party tool that Crystal is licensed to use in the designer. That means in the Crystal Designer you have a lot of chart functionality, but at runtime the chart exists as part of the report object and the analyzer is not present. That means you have a few formatting options but no creation functionality.
    Resolution
    Using the Crystal reprots SDK for .Net it is not possible to change the line colors in a line chart or the bar colors in a bar chart at run time.
    The .Net sdk provides minimal ability for accessing chart objects. Using Chart Object you can only set properties such as Height, Width, Border, etc., at runtime and retrieve information about the Chart Object in a report.
    Regards,
    Shweta

  • 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

  • How to change the color of points on a scatter plot graph

    I need this graph to be black and white only but the points are blue. How do I change that?

    ER,
    Select the points in the series and use the Format Bar color well to choose black.
    Jerry

  • Array of clusters and in the cluster is a bar meter, how can I change the color individually?

    Array of clusters and in the cluster is a bar meter, how can I change the color of the bar meter individually for each element of the array?  I have just figured out that you can't change properties of one element of the array without all elements changing.  For the scaling I had to make numeric indicators for each tick of the scale so that each bar meter in the clustered array would have individual scales.  I also had to do some math to scale each barmeter to display correct proportions from 0 to 100%.  Now I'm stumped on the color of the bar meter.  Basically, if the value goes over a setpoint, the bar meter needs to turn red.  It has to be in an array to be infinitely scalable.
    Thanks
    Matt
    Solved!
    Go to Solution.

    You can't do that-
    without a little trick.
    You could consider laying a custom color box over the bar graph in the cluster you can set the color based on the value of the bar graph or even make a "Pseudo"- bar graph using a series of color boxes stacked to look lie a bar and changing values of the Color boxs from empty to full to red.
    Here is an example to demonstrate
    Jeff
    Attachments:
    Pseudo bar.vi ‏12 KB

  • How to change the color of Data Markers in Bar chart

    Hi All,
    In OBIEE 11G, I have Bar chart with 4 measures, each measure is set to a color using Style properties of Graph. Now i want to change the color of the Data markers matching to the Bar color. Which means Bar and Data marker value should be set to same color.
    Please guide me on this.
    Thanks,
    GJ

    Here's a picture that may help in following Ian's instructions:
    I clicked on a green column to select the series as shown.
    Then this:
    Turns into this and you can click Style:
    SG

  • BI BEANS - Graph - How to change the color .. please help

    Hi Everyone,
    Can anyone please tell me how to change the color of the Graph bars or slices. I mean the color which represents the data.
    For example in a pie chart I want to set specific color for specific slice. Please help.
    Regards
    SRT

    It seems to be the SET_SERIE_COLOR() method added to the FormsGraph revised version, but this latest version is momentarily not available for download.
    I think there is an existant open thread on this. Maybe you could find it using the Forum Search box.
    Francois

  • How can i change the color of the graph in agreement of the program's condition

    Hi,
    I am using labview 5.1 in my graduation's project final. (sorry by my english, but i am ina hurry)
    How can i change the color of the graph in agreement of the program's condition?
    I am developing a VI to control the temperature of termistors,but i have another sensor too.
    In a graph i have the situation of the termistors,but i want to change the color of the graph when the sensor is active.
    Thanks a lot
    Rafael Wajnsztajn - Brasil

    To change the color of the line itself, you can use the attribute Plot>>Plot Color.
    To change the color of the points, you can use the attribute Cursor>>Cursor Color.
    To select the color, you should have a color box constant inside the Numeric>>Additional Numeric Constants palette.
    This is all in LV 7.0. I'm not sure how it similar it is in 5.1.
    One important thing is to place the attribute node inside a case structure which will execute only when your condition has been filled.
    If this didn't help you, I suggest you post the relevant piece of code, or at least an image of it (no BMPs, please).
    Try to take over the world!

  • How do I change the color of the triangle in a menu bar?

    Hi,
    I have a question that might seem very rudimentary...How can I change the color of the little downward-pointing triangle on my menu bar items that have sub-menus? Specifically, I want those triangles to be invisible when the cursor is not over the menu bar. Right now it is black and changes to white. I'm running Dreamweaver CS5 on a Mac if that makes any difference. Is there a CSS rule for this somewhere that I am not seeing?
    Many thanks for any help!
    -AG

    Those are images, so you will need to change the image.

  • Using footage from my iPhone 4, how can I remove the black bars on the sides of my picture? Or change the color to white...

    My footage is vertical and there are two black bars on the side filling in the rest of the picture. I want to imbed this into PowerPoint without the black bars on the side. Any suggestions on how I can remove them or at least change the color to white? I changed the background color in View > Background > White, but it was only for editing purposes and didn't keep the color after rendering.

    To change the background to white, in FCE, place the video on track V2 and place a color matte generator on track V1.  The default color for the color matte is grey so you'll need to change it to white using the color picker.
    -DH

  • How do I change the color of the area next to the Tab Bar

    I've got Firefox 8.0, and ever since they went to the new layout I've had problems with the area at the right of the Tab Bar. When FF is maximized, the buttons up there ( > + ▼ X ) are black on a dark blue background, and I almost can't see them - so I never use it maximized.
    How do I change the color, maybe back to the colors it uses when not maximized?

    I got used to the tabs at the top -- and kinda prefer that look, but I'll try this for a while.
    Is there any way to change the color of either the buttons or the background?
    Thanks.

  • How to change the color of a title bar

    Hello !
    I try to change the color from my title bars, but I fail.
    I tried to change the activeCaption value to an other colour, but that didn�t work. Currently I use a own LAF and set it with UIManager.setLookAndFeel("dpg.beans.GuiWindowsLookAndFeel");
    import javax.swing.UIDefaults;
    import com.sun.java.swing.plaf.windows.WindowsLookAndFeel;
    public class GuiWindowsLookAndFeel extends WindowsLookAndFeel {
      protected void initSystemColorDefaults(UIDefaults table) {
        String[] colors = {
           "activeCaption", "#B0171F" 
         loadSystemColors(table, colors, false);
    }I also used the complete stringarray from WindowsLookAndFeel and only changed that one color. Still no changes.
    Any ideas ?

    import javax.swing.*;
    import java.awt.*;
    class Testing
      public void buildGUI()
        UIManager.put("activeCaption", new javax.swing.plaf.ColorUIResource(Color.YELLOW));
        JFrame.setDefaultLookAndFeelDecorated(true);
        JFrame f = new JFrame();
        f.setSize(200,100);
        f.setLocationRelativeTo(null);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setVisible(true);
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    }

  • How to change the color of font in the menu bar for more clarity?

    I am using a Persona and the color of the font is white. There is not enough contrast for easy reading.
    How do I change the color of the font?

    If you have installed a persona then the default text and background color are supplied by that persona.<br />
    The currently selected persona if stored as the first entry in the pref lightweightThemes.usedThemes.<br />
    You can edit that pref and set another value for the "textcolor":"#ffffff" part (e.g. "textcolor":"#000000").<br />
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    See also http://kb.mozillazine.org/about%3Aconfig

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

  • How to change the color (or fill) of a SINGLE bar in a bar chart series

    I've searched the forum and consulted the help system in Keynote '09, and I can't find the answer.
    I have a simple bar chart with 6 bars. I want to select two of the bars and turn them a different color. I only seem to be able to change the color of the series as a whole. I can only select the series as a whole, and I can't Ungroup it or even copy it to the clipboard (it beeps!). I've tried changing the color of the number represented by the bar in the underlying table; can't be done.
    Am I attempting something impossible? If so (grumble grumble), why hasn't Apple made it possible? It seems like an obvious thing to allow.

    It is unfortunately impossible -- the individual bars are not selectable. As a workaround you can a) overlay them with a rectangular object, or b) overlay them with a second chart identical to the first, with all the bars except the two set to zero.

Maybe you are looking for

  • Creating greyscale PDF's from coloured documents?

    When creating a Microsoft Publisher document (2003 to 2014 versions) to create a greyscales PDF by selecting Print: Adobe PDF AND having selected print as BLACK & WHITE, some clipart, shapes, lines and wordart remain in colour.  Is there a way to sto

  • Low Broadband speed = line fault?

    Hi, We have had a very slow download speed since the high winds started last week (live in a rural area about 1 mile from exchange). I have run through the BT Broadband speed wizard & not improved the speed. ADSL Speedtest results are: Download speed

  • How to open archive link PDF in CRM Webclient UI

    Hi, i developed an own assignmentblock to display the last ERP billing documents for the current BP. In ERP we attach the printed PDF billing document as a archive link document which is stored on the SAP content server. I have the requirement to ope

  • Podcast mp3 to podcast section in itunes

    i have some podcasts downloaded on disc in mp3 format, is it possible to add these to the podcast section in itunes, and if not, is there a way i can play my songs in music library on shuffle without playing these podcasts?

  • Case sensitive Usernames and deleting users

    I created a user in a new database and did not get the case correct.  It needed to match a username in another database, since it was, in fact, the same user and I did not want to unnecessarily burn another license.  Since this newly created user had