Legend in graph

Hello ,
I am unable to get the Legend for my graph in my application in NetWeaver2004s though I have done soem settings via chart designer. Can anyone tell me the settings to be done to get this?
Thanks & regards,
Uma.

Post Author: V361
CA Forum: General
is the field you are working with a date or a string.  If a string, you may need to write a formula to convert to a date, then use that formula in your chart.  Hopefully that will fix the legend

Similar Messages

  • How to show only legend in graph?

    Is there any way to show only legend in graph? I tried to look in XML of request but I didn't find anything. Please help. :)

    Just add a custom graph with
         <Graph Name='graph' Top='0' Left='0' Visible='False' Evaluation='Yes' Type='Bar' SubType='Basic'>
              <ValueScale Position='Left' MinorFont='Size:10;'/>
              <CategoryScale MinorFont='Size:10;'/>
              <Legend Name='legend_graph' Top='0' Left='0' Width='300' Height='100' Anchor='BottomRight' ZIndex='1'>
                   <Properties AutoSizeMarkers='False' BorderType='Medium' BorderColor='#e5e5e5' UseTransparentFill='False' FillColor='#b999b9' GrowVerticalMaxHeight='64' MinimumFontSize='0' Font='Style:Italic; Color:#4c4c4c;'/>
              </Legend>
         </Graph>see also:
    http://obiee101.blogspot.com/2008/08/obiee-date-time-scatter-graph.html
    regards
    John
    http://obiee101.blogspot.com

  • Legend in graphs

    The plot function is CW is great but does not have a built-in legend.
    Are there any examples of a plot with legend available?

    Create a property node for your graph. Use the property node "Active Plot" to define which plot (or line) you want to rename. Then write the new legend label to the property node "Plot.Name". See attached.
    Tim
    Attachments:
    legend.vi ‏12 KB

  • 11.1.1.5 - Measure labels are appearing in legend (line graph)

    I've created a line graph in 11.1.1.5. My legend is showing a combination of the column value and the measure name (e.g. Web Sales, Direct Sales, Retail Sales). I want my legend to simply say Web, Direct, and Retail, without the appended 'Sales' measure label.
    The Measure Labels tile is currently residing in the Vary Color By (Horizontal Axis) zone, along with the legend column, so I guess it makes sense that the legend column and the measure labels would both show up in the legend (although I don't think that was the case in 11.1.1.3). However, there doesn't appear to be any place into which I can relocate the Measure Labels tile so that the word Sales DOESN'T appear on the line graph. If I move the Measures Labels tile into Graph Prompts, Sections, or Group By (Horizontal Axis), the word Sales appears in those locations. If I attempt to move that tile into the Lines (Vertical Axis) box, or into the Excluded box, it won't allow being dropped there.
    Switching between line, bar, and area graphs reveals the same problem in all graph types.
    Is there any way to supress the display of measure labels on graphs in 11.1.1.5?

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • Marker Shape in Legend - Line Graph

    Hello,
    I have recently upgraded from 10g Release 1 to 10g Release 2.
    I am using a line graph. In Release 1, the data marker shapes show up in the legend. In Release 2, they don't. In Graph.xml, I have set the Graph element to have the attribute markerShapeInLegend="true".
    Does anybody else have this problem and/or know of a solution?
    Thank you.

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • Set fixed width to legend in graph

    Hello,
    i have a graph on a panel that has an enabled legend.
    Now o want to set the width of the legend to a fixed size.
    For this there is the property Legend.Size.Width.
    This property only works if Autosize is disabled.
    The question is now:
    It looks as if the size of the plotname-field is always the same and only the small graphic gets bigger?
    But i want to increase the size of the visible plot-name.
    How to do this?
    Thx
    Attachments:
    LegendSize.vi ‏13 KB

    The only thing I came up with is to leave it in Autosize, change the plot name to something that has the length you desire for the name field and then turn Autosize off and put in the name that the plot should really have. Like so. (see attached VI)
    Attachments:
    LegendSize.vi ‏15 KB

  • Multiple legend on graph

    Hi all,
    I am doing a program to display N number of parameters on a single graph.
    I manage to get it done on my test vi, but when i code the same coding to my real vi, the arrangement of the legend is not as per expected. 
    It has always jump to the second parameter instead of the first.
    however, when i tick only one parameter, it will display on the legend. 
    On my test vi and also my real vi, the coding looks like the file below (1.jpg) - exactly the same.
    2.jpg --> shows my test vi front panel.
    3.jpg --> shows my real vi which the legend is not per expected.
    I am really confuse of the different outcome even though it's coming from the same code.
    Please advise.
    your help is much much much appreciated.
    Thanks. 
     regards,
    Roziela
    Sharib
    Solved!
    Go to Solution.
    Attachments:
    1.JPG ‏75 KB
    2.JPG ‏25 KB
    3.JPG ‏32 KB

    On a side note, your example code is extremely convoluted. Why do you need two loops, a shift register, an intermediary array, index array operation, etc.
    All you need is one loop and autoindexing on the names array and boolean array. Here's a quick draft.
    Message Edited by altenbach on 11-25-2008 11:06 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SelectivePlots.png ‏9 KB

  • Can I show Line Graph Markers in Legend?

    Can Markers be shown in the legend? We have a Graph with linetypes and markers and the linetypes show in legend but not the marker…. I have tried several things but nothing seems to work. Here is a snippet of code that I have tried (specifically setMarkerShapeInLegend does not seem to work):
    graph.setLineDataLineDisplayed(true);
    graph.setMarkerDisplayed(true);
    graph.getY1Axis().setAxisAutoScaledFromZero(false);
    // disable automatic layout
    graph.setAutoLayout(Graph.SP_NEVER);
    // set the position of the legend text
    graph.getLegendArea().setLegendTextPosition(BaseGraphComponent.LTP_BELOW);
    graph.setMarkerShapeInLegend(true);
    Has anyone gotten this to work or am I asking for something that is not supported?
    Thanks

    This is not currently possible with the BI Beans graph. An enhancement has been logeed with development and hopefully we will resolve this issue with the next major release of BI Beans.
    Hope this helps,
    Keith
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Beans http://www.oracle.com/technology/products/bib/index.html
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • How hide legends and lines of graph in OBIEE 11 dashboard report

    I have an OBIEE 11.1.1.5 dashboard report that contains Time Series Line graph on the basis of some measures. Some measures are contains 0 values for these measures graph lines are drawn at origin 0 and legends of these measures are also shown.
    I want to hide such kind of lines and their legends from graph any suggestion
    Measures are coming on runtime basis that’s why we are not excluded these measures from table but I only want to hide from graph.

    Hi,
    Hiding the legent in your char.
    go to measure labels --> under Vary Color By (Horizontal Axis and then uncheck box then the LINE and Legends will be removed from your report.
    FYI...without line and legend
    http://imageshare.web.id/images/ajmxp2v9tn3fp5u3mo3.jpg
    Thanks
    deva

  • Cursor Legend Tab Control BUG

    Attached is a VI illustrating a bug with the Cursor Legend when graphs are in tab controls. If you enter in a number in the "Cursor X position to move to", then switch pages on the tab control, you'll notice the cursor has moved to the appropriate place, BUT the cursor legend has not changed to reflect that. Once you manually move it, it updates.
    In short, if the cursor position changes programmatically, the cursor legend will update ONLY IF THE XY GRAPH IS VISIBLE, even though the cursor position DOES change.  
    I hope someone from NI will see this post and add it to the bug list (if not already there??). If anyone knows a work around, that would be appreciated also.
    Michael
    Using LV 8.2
    Attachments:
    CursorLegendTabControlBUG.vi ‏27 KB

    Good idea. It doesn't work exactlly, but gave me the idea for how to work around. It appears even if you have a tab value change event doing the same thing the Cursor X Position numeric indicator value change event, the cursor legend X value will not change. You can even try entering the same value in the indicator and pressing return after switching tabs, the cursor legend will not update. It thinks for some reason it is on the correct index. I made a Tab Value change event that first moves the cursor to the next index, then moves the cursor back to the correct index. Ugly but works. Hopefully in the next ver of LV they will have fixed a lot of these cursor bugs; there is definitely some work to be done (i.e. fixing cursor X position for XY graphs, an extremelly annoying bug)
    Michael
    Message Edited by miguelc on 02-23-2007 03:49 PM
    Message Edited by miguelc on 02-23-2007 03:50 PM
    Attachments:
    CursorLegendTabControlBUG_wrkaround.vi ‏34 KB

  • Graph Not Showing Up in Any Format

    Post Author: totai
    CA Forum: Exporting
    I have downloaded the trial version and created my first pie graph.  When I click any of the buttons to export (pdf, rtf, ppt) it opens the appropriate application but then all that shows up is the legend, no graph!  It also does this when I press the preview button in Xcelsius.  Any ideas?

    same place you got Discoverer Viewer.
    If you're running 9iAS Release 2 (9.0.2.0.1) or higher, instead of using http://<your_server_name>:port/discoverer/viewer, use the URL http://<your_server_name>:port/discoverer/plus
    Mark

  • Drill down via the legend icons

    Hi,
    I created a line chart. Via navigate it's possible to drill down to a another report. Is it also possible to drill down via the legend icons?
    Thanks, Robbert

    hi,
    For this u can add one custom graph for the legends and enable the drill down on that legend
    please go through this thread
    refer obiee Guru John's reply
    Re: How to show only legend in graph?
    thanks,
    saichand

  • Drill down via legend

    Hi,
    I created a line chart. Via navigate it's possible to drill down to a another report. Is it also possible to drill down via the legend icons?
    Thanks, Robbert

    hi,
    For this u can add one custom graph for the legends and enable the drill down on that legend
    please go through this thread
    refer obiee Guru John's reply
    Re: How to show only legend in graph?
    thanks,
    saichand

  • 10g: BI Beans Graph sometimes not shown

    Hi,
    I have an ADF 10g BC jsf application which includes a graph (BI Beans Graph version [3.2.2.0.24]). Next to the graph is a selectable legend. The use case is as follows:
    The graph shows the forecast algorithms for the selected material.
    By default, the AlgorithmUser and AlgorithmSystem should be selected. There has to be a legend containing a selection box for every algorithm that should be selectable on the graph. By default algorithms SFA and AF should be selected
    All shoud work synchroneously:
    -     When next, previous or a material from the listbox is selected, than the graph and legend should be updated with new algorithmUser and algorithmSystem
    -     When an other algorithmUser is selected, this should be directly visible on the graph and legend
    -     When checkboxes on the graph are clicked, the graph should update and show the corresponding algorithms.
    This is implemented as follows:
    1.     The first thing needed is something to keep track of the selected algorithms. For this, we create a new Set in the application module together with the get accessor.
    private Set<String> currentGraphData = new HashSet<String>();
    public Set<String> getCurrentGraphData() {
    return currentGraphData;
    Expose the accessor in the application module.
    2.     Now, this set should be filled with AF, SFA, algorithmSystem and algorithmUser when we move to the next, previous, first, last record, or by selecting a record by its index. To add this behaviour, open the VAdfLtf3SyfMaterialsViewImpl.java.
    Add helper method:
    private void updateAlgorithmList(Row row) {
    if (row != null) {
    String algoUser = (String)row.getAttribute("AlgorithmUser");
    String algoSystem = (String)row.getAttribute("AlgorithmSystem");
    FCSyfReviewModule mod = (FCSyfReviewModule)this.getApplicationModule();
    Set data = mod.getCurrentGraphData();
    data.clear();
    data.add("SFA");
    data.add("AF");
    data.add(algoUser);
    data.add(algoSystem);
    This will insert the four default algorithms into the set when there is a current row (if the dataset is empty, there is no need to add the default algorithms)
    Call the helper method for next, previous, … as mentioned above:
    public boolean setCurrentRowAtRangeIndex(int i) {
    boolean result = super.setCurrentRowAtRangeIndex(i);
    updateAlgorithmList(getCurrentRow());
    return result;
    public boolean setCurrentRow(Row row) {
    updateAlgorithmList(row);
    return super.setCurrentRow(row);
    public Row next() {
    Row row = super.next();
    updateAlgorithmList(row);
    return row;
    public Row first() {
    Row row = super.first();
    updateAlgorithmList(row);
    return row;
    public Row last() {
    Row row = super.last();
    updateAlgorithmList(row);
    return row;
    public Row previous() {
    Row row = super.previous();
    updateAlgorithmList(row);
    return row;
    So, if we now select an other record in any thinkable way, the Set will contain the correct four default algorithms.
    3.     Now, we need only the graph data for the algorithms set in the Set. For this, open the Ltf3AdfSyfGraphDataRowImp.java
    Add the following helper method
    private boolean showData(String algorithm){
    FCSyfReviewModule am = (FCSyfReviewModule)this.getApplicationModule();
    Set set = am.getCurrentGraphData();
    return set.contains(algorithm);
    This method will take an algorithm code as input(MA3, MA6, EXP, PZD3, …) and returns true if it is in the Set.
    Now, update the getMethods of all algorithms to use this helper method:
    public Number getVolMa3() {
    return showData("MA3")?(Number) getAttributeInternal(VOLMA3):null;
    4.     Finally, the clickable legend has to be defined.
    For this, create a new view object: Ltf3AdfSyfGraphLegend. Select ‘Rows Populated Progra;;atically, not Based on a Query’ Create a transient updatable attribute for every legend that can be selected. The transient attribute should be of type Boolean.
    For query statement, enter “Select 1 from dual” a query has to be defined to make sure that the getters/setters are called on the userinterface page.
    Create two new helper methods:
    public Boolean getLegend(String algorithm) {
    FCSyfReviewModule am = (FCSyfReviewModule)this.getApplicationModule();
    Set set = am.getCurrentGraphData();
    return set.contains(algorithm);
    public void updateLegend(int AttributeId, Boolean value, String algorithm){
    FCSyfReviewModule am = (FCSyfReviewModule)this.getApplicationModule();
    Set set = am.getCurrentGraphData();
    if (value.booleanValue())
    set.add(algorithm);
    else
    set.remove(algorithm);
    The first one will return true when the parameter algorithm is available in the Set. The getter methods will use this method.
    The second one will update the Set object. If the value is true, than this means that it was false before, so the algorithm needs to be added to the set. If the value is false, than it was true before, and the algorithm needs to be removed from the set.
    Now, getters and setters can be implemented as shown below.
    public Boolean getMA3() {
    return getLegend("MA3");
    public void setMA3(Boolean value) {
    updateLegend(value, "MA3");
    and so on..
    5.     Now, all logic is implemented. The only thing to do is to drag drop the components on the screen and update partial triggers:
    a.     Drop materials as form
    i.     bind algorithmUser to LOV and give it id algoUserList
    b.     Create detail graph (see tutorial on graphs)
    c.     Create previous and next button.
    d.     Drop GraphLegend as ADF form
    i.     By default all attributes are created as inputText, convert them all to SelectBooleanCheckbox, give every checkbox an id (use name of the algorithm for simplicity)
    e.     Drop materials as navigation list, give it ID matList
    f.     Set partial triggers
    i.     On panelGroup surrounding the graph, add partial triggers from legend id’s, matList and algoUserList and prev/next button
    ii.     On panelGroup surrounding the legend, add triggers: matList and algoUserList and prev/next button
    Now, here is my problem: When this application is deployed on a server, this works fine most of the time. But sometimes when I click a legend the graph image just disappears. But when I reclick twice the graph is correctly shown. Can someone tell what the cause of this problem could be (rendering delay???).

    dont worry too much about
    oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VIEWSTYLE
    its not a real error message more a warning one
    have you looked at addiotional trace files and have other trace/warning/error messages ?
    is your server running under unix and if so, is your display variable set ?
    regards,
    thomas

  • Anychart 5.1.2 legend color issue

    I have installed AnyChart 5.1.2 and tested it. The charts works fine, but the legend displayed other colors how the graphs.
    On the site where integration Kit samples, are the same issue.
    The site: http://anychart.apex-evangelists.com/pls/apex/f?p=454:10:0::NO:::
    displayed on the left chart different colors between legend and graphs.
    Can me help someone?
    Karsten

    I have the same problem with the Trialversion of Anychart 5.1.3.
    Wrong colors within the legend is a major problem and prevents usage in production environments.
    see [Similar Thread|http://forums.oracle.com/forums/message.jspa?messageID=3358965#3358965]

Maybe you are looking for

  • How to read a PDF from within PL/SQL?

    we have a requirement like this: We have a Time Tracking and Project Monitoring System whose DB is a Oracle 10g R2. We want to automate our ''Meeting Minute'' processing. -- The project lead will write minutes into a form PDF. -- I.e. a PDF where peo

  • Get the file name using XSLT mapping

    Hi How to get the file Name at receiver side using XSLT mapping. Could any one please help me Regards sowmya

  • Can I put 2 monitors on my minimac?

    Can I have 2 monitors on my mini mac?

  • Find/Change object size

    We have a document where each page header/number needs to be changed to a different language. We can find change the text ok but when the text is changed the text box is too small. Unfortunately the headers are not on master pages and the colours var

  • Please suggest how can we place chart series label evenly in Pie Chart of SSRS 2008

    Could you please suggest how can we place chart series label value evenly so that it doesnot overlap with each other and user can view the data properly. Please find  the attached  screenshot for the same.