Change Labels in Legend

Hi!
How to change labels in graph legend with presentation XML file? I have created the JSP-based report on such query:
select ex_sub_name,
sum(cnt),
sum(gos)
from ....
and have inserted bar graph into this report.
For every ex_sub_name I have two bar with values from
sum(cnt) and sum(gos).
My problem is that labels
in a graph legend are drawn as sum_cnt and sum_gos.
But I can not use aliases in SQL-query for some reasons...

The graph displays the labels based on the data that it is passed. As part of your query you should specify a column with more meaningful labels. This sounds like a metadata issue if you are using OLAP data.

Similar Messages

  • Automatically labeling plot legend using XY Graphs?

    I want to plot:
    Time Amp
    1       2
    2       4
    3       9
    How do I get the legend to automatically say Amp, instead of Plot 0? I went to property node -> legend and I don't see any option
    that would read the "column" header and label the legend accordingly.
    In my example, the X array (Time) and Y array (Amp) are fed into Bundle which is then fed to the XY Graph input. The X array (1,2,3) and Y array (2,4,9)
    obviously carry no information about their respective column names (Time, Amp). So, the legend must read this information separately, but I don't know
    how to feed this information to the plot legend. 
    Solved!
    Go to Solution.

    You simply need a property node for "plot.name". You have only one plot, so the following is sufficient (of course you would replace the string diagram constant with whatever you read from the column header in the file)
    (If you have several plots, you would do it in a loop, setting the active plot from the iteration terminal, first, then writing the name)
    Since this is an xy graph, I would actually hide the legend and simply label the two axes according to their header. This can be done in a similar way with property nodes. See if you can figure it out.
    (Of course if the labels never change, enter them once manually and they will be saved with the VI. No code needed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SetPlotName.png ‏3 KB

  • I have two graphics workers on osx 8.  They are both complaining that their files are changing label colors on it own.  Any idea what could cause this?

    I have two graphics workers on osx 8.  They are both complaining that their files are changing label colors on it own.  Any idea what could cause this?

    and there were and have been problems with any two nvidia cards which was the main part of my question.
    To provie details try pasting all but serial number from system profile. Sorry but Mac Pro tells me nothing, not model, year, or what graphic card it came with or updated with.

  • Changing labels in /sapapo/sdp94.

    Hi,
      Changing labels in /sapapo/sdp94.
       I want to change the labels in /sapapo/sdp94 for the same i found an exit EXIT_/SAPAPO/SAPLMCP2_006 (APODM006).
       Problem is the control is not reaching the EXIT; i set up a breakpoint over there but still it doesn't reach there.
    Thanks
    AP

    Hello, make sure you activated the user-exits properly. Then you set a BP at FM /SAPAPO/MC_PERDY_GET in SE37 in below coding:
    * User-Exit?
      if i_perly eq 'U'.
    *   Evtl. wurde keine PERID mitgegeben:
        if i_perid is initial.
          call function '/SAPAPO/MC_PERIODE_ZUM_DATUM'
                   exporting
                      idate   = i_vontg
                      iperkz  = i_perkz
                      iperiv  = i_periv
                   importing
                      eperid  = i_perid.
        endif.
        call customer-function '006'
             exporting
                  i_vontg = i_vontg
                  i_bistg = i_bistg
                  i_perkz = i_perkz
                  i_periv = i_periv
                  i_perid = i_perid
             importing
                  e_perdy = e_perdy.
    If the user-exit is applied OK, it will jump into your customizing coding at statement [call customer-function '006']

  • How to Generate Event on change in Plot Legend for XY Graph

    Hi,
    I have two XY graphs on the front panel and would like to maintain a common plot legend such that any change in the plot legend affects both graphs.
    Objective: I would like any value change in plot legend to fire an event.
    How do I program that?
    I know of value change event for the graph but am unable to find something specific to the plot legend. Other option is to have the user press a "refresh" button that will fire the event.
    Feel free to share thoughts on other elegant methods to achieve the same objective.
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    Hi Sarah,
    Looks like you are talking of exactly what I want!
    I have attached a sample VI to try achieve what I want. But it still has some issues which are:
    1) I am unable to configure a Plot Attribute Change Event. I have used a mouse leave event instead. How does one configure a Plot Attribute Change Event?
    2) Is there no single property which will transfer all the settings of plot legend from one graph to plot legend of another graph? In my sample VI, I have to read each property of the master graph and feed it into the slave graph.
    Kindly note I am using LV FDS 7.1 on Win2000
    Thanks,
    Gurdas
    Message Edited by Gurdas on 03-27-2006 11:51 PM
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu
    Attachments:
    Graph_PlotLegend_Event.vi ‏45 KB

  • Problem with changing Label in Bridge CS3 and CS6

    Hi there,
    I am having some problem with changing Label in Bridge CS3 and CS6 in windows.
    1. In Bridge CS3 (Windows XP), most of the time with most of the files, there is no problem. But I found that in some files, the Label does not get changed. I usually change Label by right clicking on the picture, then Label and select any Label. When I do so in those files, nothing happens. But when I rename the file by changing or adding just a single character, then it works. And if I again rename to original name, it still works. But without renaming the Label does not change. Again this does not happen with all pictures, but occationally with some. We usually receive pictures from different clients for editing purpose.
    2. In Bridge CS6 (Windows 7), if you create lot of Path using Pen tool in Photoshop for the purpose of removing background, you save the file, close, and change Label in Bridge, again open the file in Photoshop, you see no Path in the Path Pallette. So that means, changing Label works, but it removes the Path from the file. But if there is small amount of path, then no prboblem. But if there is lot of path, like you need to create for a necklace to remove background, then the problem arises.
    I am using Bridge for a purpose where it is very helpful so I really need to use Bridge, and Labeling feature is the most important to me, but after feaguring out this problem, I am really tensed as to whether or not I will find a solution to this. So any help, guidance will really be appreciated.
    Thanks very much in advance for any solution.
    Best regards

    I have re-checked the issue and I found that the problem is with JPG file.
    I wasn't even aware you could save a path to a jpeg file (always use PSD because of wanting to keep the Alpha Channel, jpeg only can contain 1 layer and no alpha channels and/or transparency).
    However I tried it on a file with a simple path and one with a complex path. It seems indeed you have found a bug. The simple path is no problem but the more complex path is indeed disappearing.
    It is not only label but also rate or adding IPTC in the description field. The moment metadata is saved to this jpeg file and reopened the earlier present work path of a more complex path is gone.
    Despite the fact that to my opinion a jpeg is not the most suitable file format for saving a work path this should not happen. If a work path is saved to a jpeg then it should be kept saved after just altering metadata in Bridge.
    It still is the same behavior in Bridge CC because that is what I use. Don't know when it started but it still needs to be repaired
    Here is the link for filing a problem or bug:
    http://feedback.photoshop.com/photoshop_family/

  • Label and legend problem in grouped month data pie chart for Crystal XI

    Post Author: mikeyplop
    CA Forum: Charts and Graphs
    Hi all, I have a problem with a pie chart I created based upon monthly figures that were grouped.  The data type is DateTime but I have modified the report to show the date as January 2007, February 2007 etc. etc.  This is all fine and appropriate as it is based on a gouping of all the data into months. However, when I chart the same data the labels and legend do not reflect this formatting.  Instead they show up as 01/2007, 02/2007 etc. etc. I have searched the forums, but was unable to find any one else who has had the same problem. Any help would be greatly appreciated. Kind regards, Mikey

    Post Author: training2go
    CA Forum: Charts and Graphs
    I've still been trying to get this to work or at least figure out what I'm doig wrong, but so far I haven't had any luck, so I'm hoping someone can help me.

  • Change labels to parameter

    HI Gurus
    Please can help me, I want changing labels to parameters and select-options in SELECTION-SCREEN.
    I go to menu Goto -> text elements -> selection text but I don't insert lines in selecition text.
    Regards
    William Neira

    I meant - did you activate the text elements?
    Rob

  • Change Labels on Summary Columns

    Could anyone advice me how to change labels on the summary columns on a cross tab report?
    Current it shows for e.g. count(orders).
    I would like to change it to "Order Count"
    Also how can i change the value format on a drill down report?

    Hi,
    Thanks a lot for your answers.
    First, on umResetPasswordPage.jsp I have found the code where "LAST_NAME" must take a value from other file (Could be from umelogonbase.jar?) so, maybe it is not the right place to change it, isn't it? or did you suggest by other way?? This is the code on the umResetPasswordPage.jsp file:
    <td width="161" height="20">
            <label class=urLblStd for="logonlastnamefield">
              <%=logonLocale.get("LAST_NAME")%>
              <span class=urLblReq> *</span>
            </label>
          </td>
    Second, On Portal Content there is not any Page/Iview wich manage this Support (LogonHelpApp) page openned by "get Support" link on Welcome Portal Page. At this time, I could not find if is it a webdynpro or other component Portal....

  • How to change labels in maintenance view

    Hi,
    i have created a maintenance view on a table.
    i attached this view to a transaction.
    when i run that transaction the table is appearing for display of values
    and new entries. but i want to change labels of the appearing view.
    is there any way?
    please suggest me.
    raju

    Hi,
    to handle GuiXT central in SAP: use transaction SHD0. There is also an online help for further information.
    in SHD0 transaction variants are defined: alternative tcodes, where normally fields are hidden and default values are assigned.
    Enter standard tcode in field TCODE, enter z-tcode in field TCVARIANT and create just something for playing...
    In upper part you will find flag GiuXT-Script and in upper part is 'i'-button for help in using this transaction (this blue-i-help-button is also in starting screen, docu is implemented like SPRO-docu).
    Approach with SHD0 ensures transportation of scripts and automated download to local Guis - so some help to handle bigger installations.
    Regards,
    Omkar.

  • Problem in changing label in leave request approval screen

    Hi All,
    I have followed the SAP note 1234273 to change labels in our Leave request iViewin ESS and could do it successfullybut I could not able to know how to change the labels in Leave request approval screen because I have created a custom role and assigned Universal work list to it and assigned it to manager to view the leave requests applied. I navigated to Leave request approval screen via that role but ctrl + right click is not working on that page. Please suggest me

    Check your uwl config, normally it is configured to directly call concerned(leave req approval) application hence your iview may not be getting called. You can try changing the uwl config to call PCD page instead of direct wdp application call.
    ~cheers
    avadh

  • Can't Change Labels for Properties

    I Can't Change Labels for predefine Properties
    or Custom Properties.
    I had done it with this:
    http://help.sap.com/saphelp_erp2004/helpdata/en/65/6fc63ed4027f6be10000000a114084/frameset.htm
    I just followed what the help said.
    but i can't see any change for my label of Properties.
    I had done it as follow steps.Please help me to
    Check if i miss some steps!
    1,I creat .properties files
      mylabels.properties
       in this properties file  i creat a key
           modified=date
      mylabels_zh_CN.properties
        in this properties file  i creat a key
           modified=u66F4u65B0u65E5u671F
    2,I made a jar file use the two .properties files
      named mybunding.jar
    3,I copy this jar file to
    .../j2ee/cluster/server<n>/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/com.sap.km.common.resourcebundle/lib
    4, Create a new metadata extension under Content Management -> Global Services -> Property Metadata -> Metadata Extensions.
      named it  my_metadatae_extension
       set  Bundle File=com.sap.km.common.resourcebundle.mybunding.mylabels
    5,restart the servlet engine,
    6 in the key for label of the properties
        i set modified the key i creat in step 1.
    when i display the properties it still didn,t display
    my created lable.
    How should i do? any step i miss? or any better solution
    for the lable?
    Please help me ,
    BestRegards
    Han

    Hi Han,
    here my corrections:
    1.
    I would use the filename "mylabels_cn.properties" and not "mylabels_zh_CN.properties"
    2.&3.
    This is the SP2 way for using the bundle files for properties. For NetWeaver you need to create a new PAR-file with the bundle file including the labels and translations as described <a href="http://help.sap.com/saphelp_nw04/helpdata/en/65/6fc63ed4027f6be10000000a114084/frameset.htm">here</a>.
    It's very easy if you use the example PAR file provided by SAP in SAP Note 817876, as mentioned in the referenced link (Prerequisites section).
    Read carefully the process in the link and try again. If you still experience problems, come back with the new detailed description.
    Hope this helps,
    Robert

  • Change Label in Overview

    Hey Guys
    I have a problem which I hope is peanuts for you.
    I have a xml overview and I want to change its label dynamicly.
    I tried to put an function instead of the string at the initialization, put that did'nt worked, so I need to chage it at runtime.
    My code looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <vc:ManagedOverview label="Preferences" allowCallsFrom="[ch.test]"
      xmlns:mx="http://www.adobe.com/2006/mxml" type="{Preferable}" types="{[Preferable,Product,Component,Containable,ComponentCategory, ProductCategory]}"
      xmlns:vc="ch.marsdencatering.foodcomposer.viewcontrol.*" searchIndex="4"
      xmlns:cp="ch.marsdencatering.foodcomposer.view.component.*">
      <mx:Script>
      <![CDATA[
      override public function onViewControlModelChanged(caller:IManagedView):void {
            if (caller is test) {
                 searchIndex =caller.currView;
                //Likes
                 if(searchIndex == 0){
                        //Change label here to "Likes"           
                //Dislikes
                }else if(searchIndex == 1){
                        //Change label here to "Dislikes"
      ]]>
      </mx:Script>
    </vc:ManagedOverview>
    Is that possible or should I try it on an other way?
    thanks for your help!!!
    Jochen89

    Your comment wasn't exactly what I was looking for, but it gave me the right hint. :-)
    I have to put a function directly to the initiation part of the overview AND end it with a semikolon.
    <?xml version="1.0" encoding="utf-8"?>
    <vc:ManagedOverview label="{create_label();}" allowCallsFrom="[ch.test]"  
    xmlns:mx="http://www.adobe.com/2006/mxml" type="{Preferable}" types="{[Preferable,Product,Component,Containable,ComponentCategory, ProductCategory]}"  
    xmlns:vc="ch.marsdencatering.foodcomposer.viewcontrol.*" searchIndex="4"  
    xmlns:cp="ch.marsdencatering.foodcomposer.view.component.*">  
    <mx:Script>  
    <![CDATA[
    public function test():String {
          return "Likes";

  • Auto Advance bug with changing labels in grid

    If Auto Advance is checked in the menu {Photos}{Auto Advance} and the user is in the grid view viewing images with colored labels. Changing the label on one selected image using the tool bar label icons causes the selected image to be unlabeled. The next image to receive the colored label and auto advances to the third image. 
    FWIW, this bug is also in V3.

    An update, it seems that I can change labels on measures, but not on calculated measures

  • [svn:fx-trunk] 10216: Change Label verticalAlign to use "top" if there is too much text.

    Revision: 10216
    Author:   [email protected]
    Date:     2009-09-13 08:20:06 -0700 (Sun, 13 Sep 2009)
    Log Message:
    Change Label verticalAlign to use "top" if there is too much text.  RichText already works this way.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-20589
    Reviewer: Gordon
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/GraphicsTags
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-20589
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

Maybe you are looking for