Position of legend

Hello,
I don't understand how is defined the position of the legend of a graph.
After compiling the program, when i execute it on different screens the position is never the same.
For example :
On my screen :                   
On another screen :
I really dont understand. Someone has an idea ?
Thanks

Hi fredmazet,
There is a way to lock your legend to a graph.
Drag your cursor to select both the legend and the graph.
Go to the toolbar and click the button shown in the picture
Then click 'Lock'
Hope this helps!
Regards,
John McLaughlin
Insides Sales Engineer Team Leader
National Instruments UK & Ireland

Similar Messages

  • Position of legend for curves.

    HI,
    Please look at the picture below.
    I need to have curve legend similar to it.
    DIAdem provides Vertical,Horizontal and Automatic position.
    I am facing problem with position of channel names.
    How to do that.?
    I hope am clear about my requirement.
    Regards,
    Bijay
    Solved!
    Go to Solution.

    Hi Bijay,
    Please have a look at the example: "2D Tables as Legend and Legend for Axis System Labeling". There is a individual legend (based on a 2D table). To create such a legend you need the command "CurveSnippet".
    Greetings
    Walter

  • Robohelp doesn't keep legends/captions ON images

    We are using RoboHelp for many years. Again and again we have problems with legends/captions on images. In our Microsoft Word document we insert an image from file and a legend from "Insert/shape/legends" (hope it's right, we have the Word program in German language). This legend we place ON the image. When we later import that document in RoboHelp HTML the legend will be inserted as an additional image above or beside the image.
    We know that there must be a way to keep the legend ON the image, but we don't find it. Unfortunatelly our colleague who solved that problem the last time has left our company. Now we have to start new.
    We needed to change something in our documentation but can't upload it to web because of the wrong illustration in RoboHelp.
    How it looks like in Microsoft Word:
    How it looks like in RoboHelp:
    We use RoboHelp 9 and Microsoft Word 2010 (also tested Word 2007).
    Can anyone help?
    Thanks in advance.

    The first thing that clearly demonstrates is that your colleague did somehow convert the legend to an image - Legendpicture.gif. Then they added some code (the span style) that positioned the legend image over the screenshot image.
    What I cannot tell you is whether they worked that out and executed it manually or did it using some third party tool.
    There used to be a German RoboHelp forum. I wonder if your former colleague found or posted the solution there. The only thing I can find now in a quick search is http://www.robo-forum.de/cgi-bin/ultimatebb.cgi It looks a bit dated but that does not mean the answer is not there.
    I assume you cannot contact your former colleague.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to use legend in date navigator

    Hi All,
    please provide me any tutorial for using legend (insert legend) in date navigator.
    Thanks & Regards,
    Sreelakshmi.

    Hi,
    Following is the explaination as present in NWDS help:
    The Legend UI element allows you to display a descriptive text for different colors used in an assigned UI element. The Legend element can be positioned anywhere in the view and be assigned to a table or a DateNavigator.
    The screen shot below shows a DatNavigator element with assigned legend.
    Assigning the Legend element
    ·        to the DateNavigator element:
    In the view, after the DateNavigator element insert a Legend element and assign it to the DateNavigator element by setting the ID of the Legend element as the legendID property of the DateNavigator element.
    ·        to the table:
    You can insert a Legend element after the table and use the legendId property to assign it to the table. To position the Legend element at the bottom of the table, you can use the LegendPopin. Insert a LegendPopin into the table and a content into the LegendPopin. Then insert a Legend element into the content.
    The color assignment of the LegendItem is carried out using the enumeration type WDTableCellDesign. The following properties are of this type:
    ·        For the LegendItem, the property semantics
    ·        For the DateNavigatorMarking, the property daySemantics
    ·        For the table, the property cellDesign of the TableColumn.

  • MapViewer Legend

    Hallo,
    I am dealing with mapviewer and the legend.
    1: I can create a legend by defining each theme and the symbol I use for this. But is there a way that the legend is defined "automaticlly" so that I do not have to define each theme but mapviewer knows which themes are in this map and generates?
    2: I can position the legend with position="NORTH_WEST". Are there other way to position it? By using numbers?
    3: Are there code samples and where I could use?
    4: I can not change the font of the text in the legend?
    Thanks in advance Tig

    Hi Tig,
    Currently you can't generate the automatic legend based on the themes, and also you can't define a location (X,Y) to put the legend. We'll add these items on the enhancement list.
    For item 4, MapViewer parses the legend font, however the API method setMapLegend does not have this parameter. We'll also add this enhancement. If you issue a XML request directly, you can define the font as:
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000"
              position="NORTH_WEST" font="Dialog">Next, is a sample of Java code to generate the structure to pass to the API method setMapLegend:
      String [][][]legenddata = new String[1][][];  // legend with one column
      legenddata[0] = new String[8][];    // column with 8 items
      for(int i=0;i<8;i++)
        legenddata[0] = new String[5]; // description of each item
    legenddata[0][i][0] = null; // text
    legenddata[0][i][1] = null; // style
    legenddata[0][i][2] = "false"; // is title
    legenddata[0][i][3] = null; // tab
    legenddata[0][i][4] = "false"; // is separator
    // <entry text="Map Legend" is_title="true" />
    legenddata[0][0][0] = "Map Legend"; // text
    legenddata[0][0][2] = "true"; // is title
    // <entry style="M.STAR" text="center point" />
    legenddata[0][1][0] = "center point"; // text
    legenddata[0][1][1] = "M.STAR"; // style
    // <entry style="M.CITY HALL 3" text="cities" />
    legenddata[0][2][0] = "cities"; // text
    legenddata[0][2][1] = "M.CITY HALL"; // style
    // <entry is_separator="true" />
    legenddata[0][3][4] = "true"; // is separator
    // <entry style="C.ROSY BROWN STROKE" text="state boundary" />
    legenddata[0][4][0] = "state boundary"; // text
    legenddata[0][4][1] = "C.ROSY BROWN STROKE"; // style
    // <entry style="L.PH" text="interstate highway" />
    legenddata[0][5][0] = "interstate highway"; // text
    legenddata[0][5][1] = "L.PH"; // style
    // <entry text="County population:" />
    legenddata[0][6][0] = "County population:"; // text
    // <entry style="V.COUNTY_POP_DENSITY" tab="1" />
    legenddata[0][7][1] = "V.COUNTY_POP_DENSITY"; // style
    legenddata[0][7][3] = "1"; // tab
    mapViewer.setMapLegend("#ffffff","255","#ff0000","MEDIUM","NORTH_EAST",legenddata);
    Thanks for your comments.
    Joao

  • Some XML customizing not displayed correctly in graphic in PDF form

    Hello,
    we have following problem: We want to create a read-only PDF with an integrated graphic with analytical data.
    The PDF form is created with SFP. Data is extracted and the graphic rendered with the class CL_IGS_CHART_ENGINE.
    We used SAP chart designer and transformed the XML into our string.
    The graphic is displayed in our PDF, but some customizing settings in our XML are neglected, especially the font type, her only courier is displayed. Also some manual positions of legends don't work.
    When I display the chart in the SAP GUI using cl_gui_chart_engine everything works fine, so  I assume that the XML and the  transformation is correct.
    So where is the problem: Mime type? codepage? printing job?
    Thanks and Regards
    Andreas

    Hello,
    I would like to know what type of scenario do you use. Is that WD form? Or offline form?
    Based on the type, you may find your solution here:
    When you need to send a picture into the offline form: another image question - using Regular ABAP not web dynpro and Display a logo dynamically in adobe form
    For the WD form: /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
    What MIME type (picture type) has your generated picture? JPG for example is ok, but for exotic types please check in your LCD (place Image on the layout and open the dialog for picture assignment, you can see the allowed picture types in there).
    Regards, Otto
    p.s.: What is the mentioned XML customizing? XML is the form of the femplate, but I have never customized anything IN THERE. Did you change the XML source manually? Or what type of changes are not managed correctly?

  • Same flash sound on every html page

    Hi, i´ve a problem on site that i´m doing, ineed to
    put a background flash music/sound on all the pages, but i
    don´t want the sound to reload every html click/refresh. I
    know it should be possible by storing que sound position or legend
    on a veriable. but i dont´t know how.
    Please help, and thx in advance

    Ok i tried it, but still no working, because i´m not
    good enought. My code so far is :
    loop1 = new Sound( MC1 );
    loop1.attachSound( "theme" );
    this.onEnterFrame = function () {
    _root.songDurationText=_root.loop1.duration/1000;
    _root.songPositionText=_root.loop1.position/1000;
    songDuration = _root.loop1.duration / 1000;
    songPosition = _root.loop1.position / 1000;
    var local_data = SharedObject.getLocal( "sound_position" );
    local_data.data.sound_position = _root.loop1.position / 1000
    trace( "root sound_position: " +
    local_data.data.sound_position );
    if (stored_sound_position = local_data.data.sound_position) {
    playing=true;
    loop1.start();}
    else loop1.gotoAndPlay (1)
    help needed

  • Position Cursor on GRAPH either by dragging it OR entering the dsired position in the Cursor legend

    I've written a VI that allows the user to import a dataset, view it on a graph, and then use cursors to "filter" the range of data that I'm interested in, by sending the cursor.index values from the first graph to an array subset function which feeds a second graph.  The problem is that I'd like to provide the user the ability to position the cursors on the first graph both visually - by dragging - (for "course" control) AND by entering the desired values directly into the cursor legend (for fine control).  The problem is that I cannot find a way to do this, since I have to have the Lock Ring set to “Lock to Plot” in order to capture the index information. According to the documentation, the only way to be able to position the cursors via the Cursor legend is to set the Lock Ring to “Free”, which means the index values are rendered useless, since the cursor is no longer locked to the plot.  If I leave the Lock Ring in "Lock to Plot", and enter a value in the cursor legend, it does move the cursor, but not to where it should.  If I enter a value an x value of 9.0 for cursor 1, the cursor goes to 10.2638.  The next time I enter 9.0, it goes to 9.82794.  I don't understand what the issue is.  Is there a way around this?
    Attachments:
    ppv data filter 3.vi ‏366 KB

    Yes Rudi:  What I want is for the operator to place the cursors by dragging them (just eye-balling it).  The, if they see that the Y cursor (horizontal) is at 10.234, and they want to make it 10, they could simply enter that value in the cursor legend, and the cursor would be placed exactly at 10.  The only way to do this seems to be to select the “Free” option for the cursor.  However, in order to use the first graph to set the boundaries of the second graph, I have to use the Cursor Index from the first as an input to the Array Subset that feeds the second graph.  In order to use the Cursor Index, the first graph has to have its cursor Lock Rings set to “Lock to Plot”.  Am I making this any more understandable, or just rambling?

  • Start position on plot legend scrollbar

    If I right click on the plot legend I can show the index display and vertical scrollbar. When I move the scrollbar the index changes accordingly. Does anyone know how to programmatically find the value of this index so that I know which plot labels the user sees. I've tried looking at the property node but I can't see anything that gives me what I need.

    Thanks for your reply Rob.
    I was thinking that was the case. Sometimes it’s possible that there are clever little tricks hidden away in the set up screens. I’ve ended up now with my old method which looks very clumsy (see attached vi), I can make it look much better when I get the scroll bar position.
    I’ll follow up on the product suggestion though as it would be a very useful feature.
    Attachments:
    Scrollbar Demo.vi ‏52 KB

  • Chart legend position plus ...

    Hi,
    Is it possible to specify the position of the legend of a chart ?
    We have a pie chart and would like to place the legend towards
    the top and left where there is ample "dead space". Can this be
    done ?
    Also, if the legend is not displayed (via checkbox option) there
    is no data visible on the pie chart, eg. there is no "show value"
    or "show label" option. Is there a way to do this ?
    Thanks in advance,
    sinclair

    Hello,
    There is no easy way to do this in APEX at the moment. You can do it by turning the legend off and then including a custom svg construct in the chart footer section. You'll have to study up on a bit of svg though and make sure you match your legend colors with your value colors but it is feasible.
    Carl

  • Legend Position

    I'm creating a JSP pie chart in Reports 9i.
    The legend labels are being truncated.
    To fix this I increased the chart width using a "width=" tag.
    If I increase the width by 200 pixels, however, the legend box itself is moved to the right by 100 pixels. This means I have to increase graph size by twice as much as should be necessary to eliminate the label truncation. This is a problem since these graphs are going into portlets, and size matters.
    Is there anywah to 1/. control the position of the legend box or 2/. control the width of the legend box?
    Thanks.

    Yes you can, the best way to do this is with a style
    Create a custom style by using the webcharts designer.
    {cf_root}\charting\webcharts.bat
    Create the look that you require for your cfchart with the
    GUI
    Once you have everything as you require
    Select the style tab of the webcharts (bottom of the screen)
    Save this xml in a file to your web root/ directory where you
    have the cfm to create the chart. ( you save the file by name
    "myChartStyle.xml" in wwwroot\charts directory.
    Use the "style" attribute to import these settings in the
    cfchart tag. e.g. you have cfm in wwwroot folder then you can do
    something like this
    <cfchart style="charts\myChartStyle.xml" ....

  • XY graph position changes when legend position is set!.

    Hello All.
    Try the example in attachment. When I change the position of the graph legend, the position of the total graph is changed!!! Or maybe I am doing something wrong?
    Pawel
    Attachments:
    XY_graph.vi ‏48 KB

    Hi Pawell,
    the Position property returns the top left coordinates of the front panel object including its related objects.
    If you place the legend above the graph, the Y coordinates refers to the upper position of the legend box rectangle; this is why if you move the legend up and down, the graph position value changes although you are not moving the plot area.
    Ask if I haven't been clear enough.
    Alberto

  • Pie chart: Legend position

    By default, the SVG pie charts that HTML DB renders show all the legends in a box off to the side of the pie.
    Is there a way to show each legend next to the slice that it corresponds to?
    Thanks

    Bump. Thanks.

  • XY-Graph / Plot legend: How to detect changes in 2nd/3rd/4th ... legend position

    Hello,
    I have an XY-Graph with 4 plots. How can I detect, for example, the color change of the second plot in the legend. The active plot, using a property node, is always plot 0. So I am not able to detect changes in the 2nd/3rd ... plot.
    Any ideas?
    Thanks a lot.
    Best regards,
    Michael
    Solved!
    Go to Solution.

    You can do it with an event sturcture.
    Attachments:
    Plot detect.vi ‏25 KB

  • How do I flip the view of the legend bar so it is vertical instead of horizontal? I want the legend bar vertically positioned in my column chart.

    I clicked the show legend button and edited it according to my data but it placed it horizontally. I need it vertical and there does not seem to be a function to flip the view. Does anybody know how to switch the view of the legend bar?

    Use the handle at the left or right to the Legend box to reduce the width of the box. The strung-out list will change to columns, and eventually to a single column.
    Regards,
    Barry

Maybe you are looking for

  • Delivery Notification: Delivery has failed

    I keep receiving a "Delivery Notification: Delivery has failed" message about a message that I apparently sent 4 years ago. How can I stop it? Also please see notes at bottom of post! thanks and regards vats3 Delivery Notification: Delivery has faile

  • Converting all colors within a file to CMYK?

    Sometimes I get files that have ridiculous color names or an obscure palette that my rip doesn't recognize.  Is there an easy way to convert all colors in a file to CYMK?

  • Importing Keynote slides into Pages

    I'm new to a Mac. I'm doing a copy and paste of Keynote slides into a Pages document. The quality of the slide image is very poor when printed. I've done this many times before in Windows (with PPT and Word) and the quality is very high. I thought it

  • ADF 11g: How to implement search form with automatic substring search

    We have ADF search form and result table on the same page. Say, VO that this search form is based upon is famous Employee table from HR schema. What we need is a logic when user enters partial employee first name ie: 'jo'...it should return 'john', j

  • All the fonts in the font menu within my Illustrator CS5 show up as invisible or blank.

    This happens unless you hover your mouse over them, and then the highlighted font will be visible until you take your mouse off of it.  This has only happened after I updated to the new Yosemite OS on my MacBook Pro.  Does anyone else have the same i