Legends on any bar graph

Hi
Please guide/ suggest how to get legends permanently displayed on the any bar graphs in the SOD Analytics dashboard. As of now the legends are visible only when the curser is on that bar.
regards
NSC

It's not clear if you are referring to Values or Legend, so I'll address both. You can find the options mentioned below in the chart Edit View (same applies for Pivot Table charts).
By default, the value of a bar will appear when you roll your mouse over it. If you want the value to appear permanently, then click the "Chart Properties" (pointy finger icon) and choose "Show Data Labels: Always".
Some chart types will not, by default, show a legend (indicating what each color stands for). To show a legend, you click on "Additional Charting Options" (arrow pointing right icon), choose the "Legend" tab and select the location for the legend to appear.

Similar Messages

  • Bar Graph Click Listener Should Open a Tab

    Hi,
    We have got a special requirement: Our application has 6 tabs. The first tab is the Dashboard. On Dashboard, we have few bar graphs. And each graph represents the current status of remaining 5 tabs.
    And the requirement is, when the user clicks on any bar graph, respective tab should get opened. We easily achieved this when using a button/ Command Link/ Command Image Link as because they are supporting action event.
    In case of bargraph, we are not getting this happened. Could you please let me know if there any way for us to achieve this requirement.
    And FYI … here is the dashboard screen shot of our application. As per the below URL, when user clicks on the bar of Request bar graph, the Requests tab should get opened.
    https://picasaweb.google.com/112002138169335747235/IssueWithBarGraph?authuser=0&feat=directlink
    Here is the code snippet for the same:
    public void alertsBarGraphListener(ClickEvent clickEvent) {
    UIComponent uiComponent = clickEvent.getComponent();
    if (uiComponent instanceof UIGraph ) {
    String id = uiComponent.getId();
    List<UIComponent> panelTabs = this.mainMenuTabs.getChildren();
    boolean foundTab = false;
    for(UIComponent tab: panelTabs) {
    if(tab instanceof RichShowDetailItem) {
    String[] triggerIds = ((RichShowDetailItem)tab).getPartialTriggers();
    if(triggerIds !=null) {
    for(String triggerid : triggerIds) {
    if(id.equals(triggerid)) {
    this.dashBoardDetailItem .setDisclosed(false);
    ((RichShowDetailItem)tab).setDisclosed(true);
    foundTab = true;
    Please let me know your comments.
    Thanks & Regards,
    Kiran Konjeti

    After setting the disclosed property for the tabs, you would need to have PPR to the panelTab in order to reflect the changes in UI.
    Here, is an sample based on your use-case:
    TestPage.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    *<af:panelTabbed id="pt1" binding="#{TestPageBean.panelTab}">*
    *<af:showDetailItem text="Graph" id="sdi1">*
    *<dvt:barGraph id="barGraph1" subType="BAR_VERT_CLUST"*
    *clickListener="#{TestPageBean.clickListener}">*
    *<dvt:background>*
    *<dvt:specialEffects/>*
    *</dvt:background>*
    *<dvt:graphPlotArea/>*
    *<dvt:seriesSet>*
    *<dvt:series/>*
    *</dvt:seriesSet>*
    *<dvt:o1Axis/>*
    *<dvt:y1Axis/>*
    *<dvt:legendArea automaticPlacement="AP_NEVER"/>*
    *</dvt:barGraph>*
    *</af:showDetailItem>*
    *<af:showDetailItem text="Another Tab" id="sdi2">*
    *<af:commandButton text="Button in another tab" id="cb1"/>*
    *</af:showDetailItem>*
    *</af:panelTabbed>*
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *TestPageBean.java:*
    package view.bean;
    import java.util.List;
    import javax.faces.component.UIComponent;
    import oracle.adf.view.faces.bi.event.ClickEvent;
    import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class TestPageBean {
    private RichPanelTabbed panelTab;
    public TestPageBean() {
    public void clickListener(ClickEvent clickEvent) {
    List<UIComponent> showDetailItems = this.panelTab.getChildren();
    for (UIComponent showDetailItem : showDetailItems) {
    RichShowDetailItem currentRichShowDetailItem =
    (RichShowDetailItem)showDetailItem;
    currentRichShowDetailItem.setDisclosed(false);
    if (currentRichShowDetailItem.getText().equals("Another Tab")) {
    currentRichShowDetailItem.setDisclosed(true);
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    adfFacesContext.addPartialTarget(this.panelTab);
    public void setPanelTab(RichPanelTabbed panelTab) {
    this.panelTab = panelTab;
    public RichPanelTabbed getPanelTab() {
    return panelTab;
    Thanks,
    Navaneeth

  • Bar graph legend problem

    Hi I am using JDeveloper Studio Edition Version 11.1.1.3.0.
    My problem is that I have made a bar graph inside an af:showDetailItem but the legends isn´t shown correct. I can´t see the legends at all when I place the legends in the bottom and if I place them in the right I can see half of the text. The source code is below. If someone can see something wrong in this code don´t hesitate to point it out or if someone know how to get this to work please let me know. To me it looks like a bug but I could be wrong.
    <af:showDetailItem text="Søgulig gongd" id="sdi8"
    stretchChildren="first">
    <dvt:barGraph id="barGraph1"
    value="#{bindings.TrxBrw360JLHistoryGraphRO1.graphModel}"
    subType="BAR_VERT_STACK"
    partialTriggers="::pc1:t1"
    dynamicResize="DYNAMIC_SIZE">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis/>
    <dvt:legendArea automaticPlacement="AP_NEVER"
    position="LAP_BOTTOM"/>
    <dvt:o1Title id="o1Title1" text="Tíðarskeið"/>
    <dvt:y1Title id="y1Title1" text="Upphædd"/>
    </dvt:barGraph>
    </af:showDetailItem>

    Hi,
    I stumpled accross this thread and fear I will hit the same problem with a new customer request.
    Has a bug been filled for this?
    Could not find anything relevant in metalink.
    regards
    Peter

  • Sort legend area in stacked bar graph

    Hi!
    Is it possible to sort the legend area in a stacked bar graph?
    Br
    Casper

    In the chart data editor, click and drag one of the the rows to change the ordering:

  • Is there any way I can create a bar graph in TextEdit?

    I need help completing a science lab due tomorrow. I have to make a bar graph, and I can't figure out how to make one. Any suggestions??

    No, however Numbers easily can.

  • Action event on click of any bar in graph???

    Hi Everyone,
    My Jdev version is 11.1.2.3.0.
    I have developed one ADF BAr Graph </dvt:barGraph>. Everything is working fine.
    My graph has 15 bars, each bar has some value.
    Now my requirement is when i click on any bar then my page navigation should go to next page and show that record in table.
    how can i achieve this requirement???
    Any suggestions will be really helpful.
    Thanks.

    Well,
    I'm no expert but i think you can do something like:
    In the table you want to show the row, you bind it using the bindings property, that will create a RichTable variable.
    Then you create the click action method (or selection action method, wich one you prefer), you get the value of the element selected on the bar Graph, pass it to the table, refresh the table with partial trigger and it will show.
    If this is possible, then you can have something like this on your action in the bar Graph:
    public void onBarGraphSelect(oracle.adf.view.faces.bi.event.graph.SelectionEvent selectionEvent) {
    DCIteratorBinding conIter = ADFUtils.findIterator("VGraphStoreSalesView2Iterator"); // iterator of your bar graph
            var_dimStore.append(conIter.getCurrentRow().getAttribute("FkStore")); // this will get a specific attribute
            BindingContext bctx = BindingContext.getCurrent();
            BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding executeWithParams2 = bindings.getOperationBinding("ExecuteWithParams2");
            executeWithParams2.getParamsMap().put("var_dimStore", var_dimStore.toString());
            executeWithParams2.execute();
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance(); // the partial trigger to your table where you want to show the row
            adfFacesContext.addPartialTarget(dimFactSales);
    Btw, this is done with BarGraph Selection, not click..
    Hope that helps,
    Frederico.
    ps - if this code does work for you, you only show the row that you put in your binding, if you want to show more, you have to add them to the variable and i use a executeWithParms for this (but i think this is not necessary for you)

  • Using the report generation toolkit, how do I make a bar graph verticle instead of horizontle?

    The attached vi is similar to what I am using, and it produces an Excel bar chart. I would really like to create the same chart, only vertically instead of horizontly. I have tried all kinds of things that don't work. Is there a way to do this that does work. I want a result similar to rotating the produced chart 90 degrees CCW.
    Thank you!
    Attachments:
    Chart Test.vi ‏20 KB

    you want to use a xy-graph.
    you can right click the plot legend to make a bar graph vertical.
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    bargraph2.jpg ‏91 KB

  • How to use a single variable in multiple schedules in bar graph

    Hello Experts,
    I am usiing a variable X in different schedules for creating a bar graph.This variable X is used in all schedules with different restrictions.For that reason I have to use X and follow some space after X to use it in another schedule. Is there any method to use X again base on schedule name? For example: If schedule1 then X where key=1000 and if schedule2 then X where key=2000.

    Hi,
    You can create a variable with the same name but use this in a small case...
    All the Best,
    Madhu....

  • Single Line and Stacked Bar Graph Representation

    Data to be plotted on graph is as follows
    Year and Month               Study               Planned Subject               Study-Site ID #               # Enrolled          
    2001 / 03          AMXN 9374               50     US-001               1          
    2001 / 04               AMXN 9374               50               FR-101               1          
    2001 / 04               AMXN 9374               50               SP-301               1          
    2001 / 04               AMXN 9374               50               US-001               2          
    2001 / 05               AMXN 9374               50               FR-101               1          
    2001 / 05               AMXN 9374               50               US-001               1          
    2001 / 06               AMXN 9374               50               FR-101               2          
    2001 / 06               AMXN 9374               50               SP-301               2          
    2001 / 06               AMXN 9374               50               US-001               1          
    I want to display the above data in line stacked bar graph format where the
    #Enrolled will be in Stacked Bar by Study -Site ( Y axis)
    Planned Subject should represent a single line at 50 ( Y axis)
    Group by Year and Month ( X- Axis)
    Study excluded ( Study will be selected from dashboard prompt)
    I'm getting the stacked view of Study Site ID correctly but I want Single Line for Planned Subject .
    Currently I'm getting multiple line .
    Eg for 2001/03 I'm getting line at 50 in yellow colour
    for 2001/04 I'm getting a line at 150 in different color since it has 3 Study-Site ID's But the desired output is Single Line at 50
    As per 11g doc this is not possible because there is some upgradation in the nature of the graph
    " Stacked line-bar graphs in which 2 or more measures are shown as lines on the same axis and are not stacked in 10g are stacked in 11g."
    Refer - http://docs.oracle.com/cd/E21764_01/bi.1111/e16452/apndx_ui_chngs.htm
    Is there any workaround for it ?

    Did you found any workaround for it ? I am too looking for same scenerio.

  • Creating a popup on mouse over in bar graph

    Hi,
    I want to create a popup using mouse over event on bar graph but I didn't find corresponding property in the property inspector. Is it possible to display a popup on mouse over in bar graph?
    At present I am able to create a popup in the backing bean based on click event. I want to align it to the bar in the graph which was clicked. But now, it is being aligned to the bar graph as a whole(like above the graph , below the graph) when I use "RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID, source". Is there a way to align it to the particular bar?
    Any help is greatly appreciated
    Thank you,
    KK

    Hi,
    don't think you can align it to an area within a component. The align id property expects a component reference. Note that mouse over on a bar graph doesn't select the bar, which means that the data in the binding layer is not set to current (just in case that the data in the popup is meant to be dependent)
    Frank

  • How to plot bar graph in the real time?

    Hi guys
    I have n row and 3 column array, n will vary according the time, for example t=10ms, n=1;t=20ms, n=2;..., I would like to display all the data of the array in the bar graph  in real time. I tryied with example "array to bar graph demo.vi" but very time, only one row was displayed.
    Could anybody help me?
    Many thanks. 
    Sorry I don't know how to capture the picture from VI, so I pasted it diagram to word document.
    Attachments:
    question.doc ‏240 KB

    Where did you get this example. I can't find it listed in the current shipping examples.
    Also, posting a small image of a section of a block diagram is not much to work with. You are using local variables and a sequence structure. Neither one is a good sign. If you would simply post the actual VI (and any subVIs), it would be much easier to see what you mean.

  • Using stored parameter from data control class with stacked bar-graph

    Hi folks,
    I'm relatively new to ADF & EJB so I want to apologise in advance if this question seems rudimentary to many of you.
    Edit:  I should have mentioned that I'm using JDeveloper 11.1.1.5
    I'm having a hard time determining how to retrieve the value from a variable to be assigned to a property of the bar graph I'm trying to display on my JSF page.
    I have tried to briefly summarise the logic below for reference.
    I have a data control class (ActivityChart) that includes a method "getActivityDetail" returns a List of custom Objects (ActivityDTO) that are the underlying data for my bar graph.
    public class ActivityChart {
        private Double axisScale;
        public ActivityChart() {
            super();
            axisScale = 0.0;
        public List<ActivityDTO> getActivityDetail(List<String> businessUnits) {
            List<ActivityDTO> returnNewList = new ArrayList<ActivityDTO>();
            List<TransactionDTO> dataList = new ArrayList<TransactionDTO>();
            TransactionSessionBean transBean = lookupTransactionSessionBean();
            if (businessUnits != null && !businessUnits.isEmpty()){
                dataList = transBean.getActivityData(SystemUtil.getCurrentUser(), businessUnits);           
                returnNewList = processTransactions(dataList);
                axisScale = calcAxisScale(returnNewList);
            return returnNewList;
    ...The TransactionDTO object is basically a mirror of the entity object to store the fields from the queried db transactions.
    The ActivityDTO object contains a String value (x-axis label) and 3 Double values for the values required for the bar graph.
    What I'm trying to do is dynamically set the scale for the 2 y-axes (I'm using a dual-axis stacked bar graph) because the auto calculated values are not aligned.
    Right now I've got the two relevant elements of the bar graph hard-coded with a specific axis value:
    <dvt:y1Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>
    <dvt:y2Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>.
    The value I want to use for the Y-axis is calculated and stored in the "axisScale" variable in the above class.
    Really at a loss of how to move forward from here.
    Would very much appreciate any guidance/direction offered.
    Thanks,
    Karim
    Edited by: 973742 on Nov 28, 2012 8:12 AM

    Looks like I may have found the answer!
    I had to set up the variable in the bindings for the page and then reference the variable from the binding and add the property inputValue.
    ie. value="#{bindings.axisScale.inputValue}"

  • 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                                                                                                                                                                                                                                                                                                                                                                                                       

  • 3D bar graph with time stamp on X-axis

    Hi all....I try to plot date data (first column in array)  to x axis in 3D bar graph follow by example in this link
    http://forums.ni.com/t5/LabVIEW/3D-bar-graph-issues-using-2D-Y-Z-plane-and-timestamp/td-p/1923027
    But I still do not succeed.
     I'll be glad if you had any suggestions that could help.
    Thank you
    HiN
    Attachments:
    xy_bar_graph Version 0.vi ‏21 KB

    Hi Jubchay,
    Here is an example of displaying the given timestamp. Only the 3D vision has the customized marker.
    The 3D Bar is not suitable to display a lot of bars, which make the marker overlapped. So I only input the subset of 15.
    Attachments:
    xy_bar_graph Version 1.vi ‏23 KB

  • 3D bar graph: issues using 2D Y-Z plane and timestamp

    Hi,
    I'm having issues trying to plot a multiplot 3D bar graph using view towards Y-Z plane property (3D plot properties/View direction). This makes the 3D graph basically look like 2D. Bar graph looks quite ok when it is drawn without y vector (timestamp) but as soon as the timestamp is connected it doesn't make any sense. The bars are basically thin lines plotted to a very small area. Autoscaling or manual scaling doesn't help. Attached is a small example VI with some data which gives an idea what I'm trying to accomplish and what the issue is.
    What I would like to achieve is to keep the bar width as in the case before y vector is connected to and have timestamps.
    I'll be glad if you had any suggestions that could help.
    Thanks,
    Matti
    Attachments:
    3D Bar Plot_mod.vi ‏13 KB

    Oooh. This is a bug for 3D Bar. The width and internal are not relative to the actual range. I filed CAR 344934.
    If you could use 3D projection, you can use value pair (also from Properties or VI Server) as a temporary workaround. Value pair can override scale with any text. Here is an example.
    Attachments:
    3D Bar Plot_mod3.vi ‏16 KB

Maybe you are looking for

  • Confirmation/backflushing of finished goods

    Hello all, We sometimes produce finished goods using other finished goods.  We have them added to BOMs accordingly, however, during Production Order confirmation CO15 they do not show up in the list of other components. Backflush indicator etc is set

  • Transparency issues

    I have used an online service to convert a bitmap into vector( http://vectormagic.com/home), the bitmap had a transparent background, during the proccess though it was converted to white, something i do not want. I opened the file in AI and i cannot

  • Dislay res too big & won't reset in prefs

    The display on my PB 12 G4 1.5, loooks as if it's displayng @ 600x800 but it is set at 1024x768. In prefs I've changed the res down and it gets even bigger but doesn't come back to nrmal when reset to 1024. I normally run a 20' apple LCD from it mirr

  • Audio levels not retained when pasting clips into another timeline

    I have FCP 5.1.4 When I copy audio clips with keyframed levels and paste into another timeline, the levels are all messed up upon pasting. What's the deal? Anyone see this before?

  • Illustrator CS6 is stop working

    When I tried to open a xxx.ai file on Windows 8, Illustrator CS6 is stop working. How to solve this problem?