Customize the color of bars in chart

Hi All,
How to customize the color of a simple bars in a simple bar chart having Year and Sales as measure so that for each year different color is generated?
Thanks,
Sushil

Got it we can do it using conditional formatting.

Similar Messages

  • 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

  • Is it possible to customize the playback controls bar in a dvd flash?

    Is it possible to customize the playback controls bar in a dvd flash?
    I mean is it possible to change the size of the bar? and the size of the controls?
    Is it possible to remove (not hide or disable but remove from the bar) some controls as "search", "title" ecc...
    Thank You...

    CS5 greatly improved the options for player configuration.
    http://help.adobe.com/en_US/encore/cs/using/WS130B1F01-AE62-4c59-BA44-F29ACD8522EEa.html#W Sf01dbd23413dda0e-3ea68760123ebe30b7c-7ff2
    I have not played with this enough to answer your specific questions. Let us know.

  • How do I customize the color of the toolbars?

    I would like to customize the colors in the toolboxes, etc. to coordinate with the background.

    Thank you all for responding
    Ian, those effects that appear in the video are great. There will be no any way orwebsite where you can get for free. I have a while to find and not find anything similiar.

  • How do I customize the "Navigation Tool Bar" by adding the print ICON so that the ICON will remain when I close the browser?

    I have tried SEVERAL times to customize the "Navigation Tool Bar" by adding the print ICON. Every time I do this it works until I close the browser then I have to re-add the ICON the next time I open the browser. How do I make the ICON stay from session to session?

    See [[toolbar keeps resetting]].

  • Using the instructions posted, I am not able to customize the add-on bar. I cannot move or remove the elements there.

    I went to the instructions about how to customize the add-on bar. These were basically the same as for the other bars which appear on the top of the browser which I've done many times before. I wanted to move some items to the left of the bar and I wanted to remove some items. I was not able to do either of these things. The icon which is the moveable hand would not appear when mousing over the elements on the bar. I was able to add and remove a separator element but it would place only to the left of all the elements. I was not able to place it in any other spot.

    Some (possible) bug reports have been filed on the inability to rearrange all of the icons on the Add-on Bar. There may be some involvement of other add-ons causing that problem, but that is yet to be determined.
    I have not tried the latest version or Organize Status Bar (OSB) that '''silkphoenix''' pointed to in the post above. The note on that page indicates that the only update was changing the <max-version> to 4.0. I had already done that in the previous version of OSB that I have installed and doing just that did not solve the problem. In my case, some of the add-on icons are grouped together with a gray background in Customize mode and those seem unmovable.
    To move items to the left, you can try inserting Flexible spaces (or spaces) from the Customize palette.
    <br />
    <br />
    '''Other issues needing your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe Shockwave for Director Netscape plug-in, version 11.5.9.615
    **Current security update version is 11.5.6.620
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.2"
    **Current security update versions are 9.4.3 and 10.0.2 released on 2011-03-21
    *Shockwave Flash 10.2 r152
    **Security update version10.2 r153 released on 2011-03-21
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE

  • Customize the colors  to tables

    Hi
    I need to configure the colors of the tables of some querys from the Portal, how can I customize the colors according to the data of Resultd
    Thanks

    HI,
    your question is not really detailed...
    - what queries (from BI) ?
    - what results
    - what Ids
    You may have a look with catchword "Portal Theme" - there you can customize colors for portal - tables.
    http://help.sap.com/saphelp_nw70/helpdata/en/f4/bb7a3b688d3c1de10000000a11402f/frameset.htm
    Regards
    Johannes

  • 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 I get back the color control bar?

    After a 5 hour download and install, the most noticeable change is that Apple changed the left-hand side control bar from colored to all gray. 
    Frankly, I've been very disappointed with Apple's design changes lately, and this one is another example, although, I love the new translucent trash can.  I've figured out work-arounds to many of the changes I find most offensive (e.g. my folders are no longer Yosemite-native neon blue.) 
    Is there a way to get back the colors on the left-hand side control bar in iPhoto? 
    I don't mind digging through hidden folders and re-building the icons so that my interface looks good again.  Any suggestions are appreciated.

    If you want to restore the color to the Finder's sidebar give the open source application cDock a try.  You can change the Dock's background scheme (I use transparent) and add color icons to the Finder's sidebar:

  • How to customize the color of EBS webpage

    Hi Hussein,
    I want to change background color of EBS webpages.
    Some default customized look and feel webpages are there,but client requires some specific color is not matched with available default webpages.
    How we can customize the webpages regarding the client requirement ?
    Is there any specific metalink document fot this ?
    Plz suggest me.

    Please see these docs.
    How To Change Look And Feel and Colors Of Oracle Applications 11i and R12 [ID 210670.1]
    Changing Java Color Scheme Within Core Applications [ID 311052.1]
    How To Change The Colour And Fonts Size In 11.5.10.2 Version [ID 412718.1]
    Thanks,
    Hussein

  • HT203172 Can't customize the color of desktop background anymore.  What happened?

    I have Snow Leopard and used to be able to customize desktop background colors to go with personal pics I might want to use but now it won't work.  I can open the color wheel and move the color marker to get the color I want but it never changes in the box where the color shows up.  I close the wheel and nothing happens. ( What have I forgotten to do?)  I thought it did it automatically as I was moving the colors around??
    Thanks.

    I'm replying to my own question! I got the urge to click on the wheel itself, you know, when all else fails, CLICK where the cursor is!  And it worked!  I tried to get this answered in the Help menu but it didn't help.   See, the atmosphere within this Apple online community is so powerful with help that all you have to do sometimes is just put a question out there and before you know it, the answer will be revealed!  Wow!

  • Conditionally Changing Colors of Bars in Chart Using BI Templatet Builder.

    How to change color of bars in Bar Chart using BI Publihser Template Builder?
    Ex : We have conditions such as When Revenue is between 2000 to 4000 Color of Bar should be red, If Revenue is Higher then 4000 then color of Bars should be Green.
    Please reply!!

    Go to insert menu and choose condetional foram ans set appropreate settings in your template bilder.
    Venkat v

  • How can I customize the color of the finder bar

    hey guys I would like to make my Finder menu bar less bright.... anyone know how to customize this sort of thing?
    thx-
    DM

    Currently, something like  TinkerTool or maybe Onyx, perhaps
    just a suggestion
    JB

  • 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

  • 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

Maybe you are looking for

  • Placeing douments in to enterprise portal

    hi, i have one requirement. i have documents in my desktop. i want to display all the documents in enterprise portal. i created folder,while uploading i am getting this message You can upload a file to the repository from your computer. Click "Show P

  • I scroll up, my page goes down...and down

    Every time I scroll up on a page, the page jumps down at speed. Very irritating. Does anybody else have same problem??

  • Forms 6i sample code

    i download forms6i samplecode and i have oracle 8i rel 2 every thing installing will except that when i impot koow.dmp they say IMP-00008: unrecognized statement in the export file is that bug in sample code ???????

  • Access 2010 and CR XI

    I have a legacy Access ADP app originally developed in Access 2000, and has since been upgraded to Access 2002 and subsequently Access 2003. The app references CR XI RDC in order to print report. It has worked for years until we started running the A

  • Use of serial# as Primary Key. (Experience DBA Advise Requested)

    Sorry if question is out of the scoop of forum. In my newly joined environment my seniors always use serial# as PK in every table every time & never use candidate key as PK. Doing so always left the candidate key as un-index, non-unique & null. It pr