Légende dynamique graphe

Bonjour,
je voudrais savoir s'il est possible d'avoir une légende dynamique pour un graphe déroulant (c'est à dire, que le nombre de ligne visualisé dans le bloc légende correspond au nombre de courbes tracés) ainsi l'utilisateur n'aura plus à modifier la taille du bloc légende. Je vous demande çela car le nombre de cours tracés varie selon les choix de l'utilisateur ...
Merci ...
Pièces jointes :
legende.JPG ‏28 KB

Bonjour sny7,
Bienvenu sur le forum National Instruments
Dans la liste des propriétés du Graphe Déroulant, sous légende, vous allez pouvoir modifier le nombre de lignes associé à la légende du Graphe.
D'ailleurs vous pouvez aussi définir à vrai le redimensionnement automatique (horizontal) pour que le nom du tracé le plus long soit toujours visible.
Bonne après-midi,
Flo
Open Diagram First

Similar Messages

  • Dynamic graph in Smart Forms

    Hi
    I have searched the forums and noticed this question has been put forward many times but without a complete solution.
    I have so far managed to use the IGS to create a .JPG/PNG file for me. I seem to have an error while trying to create a BMP file, basis is currently looking into this for me, i get a LISTENERRFC : error.
    I'm using class : cl_igs_chart_engine
    to generate a chart from the IGS, this is returned to me in a MIME table format.
    Now how can I use this MIME table to insert it dynamically in the SMARTFORM. I see there is provision for Dynamic determined graphics in smart forms but i don't think it can be used here.
    Does anyone know how to do this ? Is there any other more effective way of inserting dynamic graphs into SAMRTFORMS
    Another question is class : cl_igs_chart_engine, how can you create a line graph instead of a bar graph ?
    Thanks

    Hi Kevin,
    Dynamic graphic in samrtform is supported provided you have the BMAP ( Bitmap ) created in SAP. In the graphics node of SMARTFORM you can assign a variable &GRAPHIC& as the name. From the program pass the graphic name in variable "GRAPHIC" through samrtform interface .
    The prerequisite is that the graphics should be there in SAP database at the time you call smartform .
    About your other question I have no idea but I can say that if you can have a graphics created on your PC at runtime you can always upload it to SAP using report RSTXLDMC , just before calling smartform. However this would generate a lot of graphics on SAP even if it is for one time use by smartform . You will have to find a way to delete subsequently .
    Cheers

  • Color change in Halfgauge (Dynamic Graph)

    Hi all,
    i am using halfgauage dynamic graphs, my requirement is to swap the color form red to green and green to red as i tried all possibilities in animation link but i am not getting.
    thanks
    praveen

    Hi Praveen.
    You need to create a variable of type color and then map this to the desired element in the SVG image through animation link.
    You can create two color variable for red and  green and while mapping it in svg image you can write rule and assign proper color reference.
    Hope this will help.
    -- Ketan

  • Dynamic Graph

    Hi All,
    I'm running a site which gives Economic Data if anybody want. Now I have to show Graphs of selected data. can anybody help me that what should I use to create Dynamic Graphs, B'coz range of data is set by the user. Site is running on Oracle 8i and java on MS Windows environment.

    you should have a look into the bi beans at: http://otn.oracle.com/products/bib/content.html

  • Drawing a Dynamic Graph Using Java/J2EE Technology

    Dear Friends,
    I have a immediate requirement.
    I have to draw a dynamic graph based on changing statistical data(Stock market appliaction).
    Have a look at finance.yahoo.com.There we can a find a dynamic graph.The x and y axis in the graph will change according to the data it recieves without using refresh option and all ... In a periodic interval of time ,say for every 10 minutes the application have to check whether it has any changes in the statistical data it recieves (the data maybe from database or form anyother application). If it finds any changes ,automatically it should reflect those changes in the graph.
    Please help me out friends . I have been struggling with this over a period of time but am not able to resolve.
    Please provide me with any sample application and code.
    Keeping my fingers crossed.
    Thanks in Advance.

    I don't have example code, but I am sure JFree.org has lots. It's a free chart API for Java, that also works with Servlets etc.

  • Dynamic graph generation

    I have a query result as below. The number of Othercompany's can change.
    MyCompany 10%
    Othercompany_1 12%
    Othercompany_2 12%
    Othercompany_3 12%
    Othercompany_4 12%
    Othercompany_N 12%
    Now I have to generate "N" Pie Graph's individually comparing with mycompany.
    Can we generate DYNAMICALLY THE "N" number of PIE GRAPHS based on the above query. How to handle layout dynamically based
    on the above query results. I am using reports 10g. Appreciate your responses. Thanks
    MyCompany 10%
    Othercompany_1 12%
    MyCompany 10%
    Othercompany_2 12%
    MyCompany 10%
    Othercompany_3 12%
    MyCompany 10%
    Othercompany_4 12%
    ....

    Hi,
    just an idea. I have not tested it in this way but it should work.
    idea 1)
    Create two java classes as mentioned in Joe Huang's comment here (Re: ADF Mobile and Web Services and the mentioned video from Shay.
    The thread is about ADF mobile but it does not matter.
    This means you create a java class which returns the list of x and y values and create a POJO data control of it.
    This you can use to create your chart.
    In the java class you execute your view object (or whatever actual source of data you have) which will receive data for ALL columns.
    Depending on the selection the user has made in the GUI the java class has to copy the values of the correct column to the list of x/y values of the java class.
    idea 2)
    Depending on the selection the user makes in the GUI you create or modify a view object at runtime to use the correct column for x and y values.
    It's important to user always the same attribute name for the x and y values and just replace the name of the db column by the actual column name.
    hope this helps.
    regards
    Peter

  • Affichage légende de graphe

    Bonjour, j'ai un petit problème qui me turlupine depuis un moment :
    Avant compilation, je dispose mes légendes bien alignées avec le graphe, tout va très bien.
    Ensuite après compilation elles sont encore correctement positionnées, tout va encore très bien.
    Mais lorsque j'exécute le programme compilé sur une autre machine, la légende se décale (de façon relativement aléatoire). Cela fait assez moche parce quand il y a plusieurs graphes, aucune légende ne se décale de la même façon.
    Quelqu'un aurait t il une idée ?
    Grand merci.
    Labview 2009 sp1.
    Avant                                                                   Après                                                                                                                                                                                                                             

    Bonjour L Micou,
    Pour la mise de tous les écrans à la même résolution, ça ne me parait pas très pratique parce que je ne sais pas sur quelles machines va tourner mon programme.
    J'ai bien essayé les options "mettre à l'échelle tous les objets de la face avant lors du
    redimentionnement de la fenêtre" et conserver les proportions de la
    fenêtre pour différentes résolutions d'écran"...
    Mais sans succès, les décalages entre écrans de différentes résolutions sont encore plus importants.
    Donc pour moi tout ça reste un mystère.
    La seule solution semble consister à ancrer la légende de telle façon que son bord droit soit aligné avec le bord droit ou gauche du graphe. Mais ça pose d'autres contraintes d'organisation de face avant.
    Merci pour votre aide.
    Cordialement
    F.Mazet

  • Dynamic graph can't be displayed when it is printed

    <font size="2"><font face="Arial">I've used crystal report xi for half an year. In recent days , I got two problems.</font></font> <font size="1"><span style="font-size: 9pt; font-family: Arial"> One is  that I directly insert a image into the rpt file as OLE object,  then I find that the image can be displayed on the report   but can be printed with ie's printing function. If I set the PrintMode with ACTIVEX mode of  the crystalreportviewer and print with activex component , the image is also visible. The system environment is that crystal report xi and RAS are installed  in the local machine, and web server is on the other machine.</span></font><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial"> The report is invoked and displayed using crystalreportviewer component through jsp.  The other is that I want to use new feature of dynamic graphic locations, and show different images in the report with the paths which are stored in the database. I've seen the threads in the crystal report forum, and known how to set the paths of images under the unmanagered RAS. But  my situation is that I have to publish every rpt files to the BO CRS,  so I don&#39;t know where I should place the images and how to set the paths. I try publishing the image into the same folder with rpt file in the CRS, but it can't work.</span></font><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial"> </span></font><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial">  Thanks in advance for any help.</span></font>

    Please re-post if this is still an issue to the Java Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Can anyone help with a dynamic graph question?

    Post Author: eseidel
    CA Forum: .NET
    I have a subreport that I'm having a lot of difficulty with and I dont know if I've hit the limitations of CR or I just don't know how to do it.  I need to set the subreport graph parameters on the fly and I can't figure out how to do this.  Here is the situation:
    My report prints a vendor report card, one vendor per report page.  For each vendor, I need to access a table and pull all parts that the vendor supplies our company with.  Then, I need to create a seperate 2D bar graph for each part that is listed under the vendor.  Since this is a subreport and would run for each vendor, and each vendor can have 1 to n-number of different parts, I need to create these graphs on the fly. Is this possible?  Any suggestions.  The furthest I have gotten was I can create a OLE DB(ADO) command that retrieves the parts for each vendor. 
    But from there I am stuck.  Once I have these parts per vendor, how can I iterate through them and create a new 2d bar graph for each one?  The graph itself would display on the x axis all of our vendors that supply us with a part, ranking them.  So if a vendor supplies us with Rubber Hoses, magnesium and Aluminum then I would need three graphs, one for each, Rubber Hoses, Mag, Al that would list the vendor on the x axis and points on the y axis pertaining to that specific part.  Understand?  Is this possible?  Help please.  Thank you.
    Eric

    Post Author: quafto
    CA Forum: .NET
    The CR for .NET SDK doesn't have the ability to create graphs on the fly. I suggest that you design your report in Crystal Reports and get it working the way you want there. Work as much with parameters and formulas as you can. The .NET SDK will allow you to pass parameters and modify formulas at runtime.

  • Help with a 2d dynamic graph question

    Post Author: eseidel
    CA Forum: Other
    I have a subreport that I'm having a lot of difficulty with and I dont know if I've hit the limitations of CR or I just don't know how to do it.  I need to set the subreport graph parameters on the fly and I can't figure out how to do this.  Here is the situation:
    My report prints a vendor report card, one vendor per report page.  For each vendor, I need to access a table and pull all parts that the vendor supplies our company with.  Then, I need to create a seperate 2D bar graph for each part that is listed under the vendor.  Since this is a subreport and would run for each vendor, and each vendor can have 1 to n-number of different parts, I need to create these graphs on the fly. Is this possible?  Any suggestions.  The furthest I have gotten was I can create a OLE DB(ADO) command that retrieves the parts for each vendor. 
    But from there I am stuck.  Once I have these parts per vendor, how can I iterate through them and create a new 2d bar graph for each one?  The graph itself would display on the x axis all of our vendors that supply us with a part, ranking them.  So if a vendor supplies us with Rubber Hoses, magnesium and Aluminum then I would need three graphs, one for each, Rubber Hoses, Mag, Al that would list the vendor on the x axis and points on the y axis pertaining to that specific part.  Understand?  Is this possible?  Help please.  Thank you.
    Eric

    Faster than an if statement, if you are up to learning it, is the use of the ternary operator.
    It's syntax is like this:
    condition ? value1 : value2
    where condition is a boolean expression, value1 is the expression to be evaluated and returned if and only if condition is true, and value2 is the expression to be evaluated and returned if and only if the condition is false.
    Your line of code would be something like:
    System.out.print(maze[i][j] == 0 ? "*" : " ");Edit: I am not assuming people are newbies when they are, I realize this.
    Message was edited by:
    Aken_Bosch

  • AS2 Dynamic graph

    Hi
    I want to create a set of buttons with assigned values, that after adding one to another, passes the value to graphsbar width.
    here is somewhat ilustrated example of the structure
    http://img9.imageshack.us/i/problemsvx.jpg/
    In a practical way, the groupA could be different processor types, groupB; graphic cards and groupC; motherboards.
    every button has 3 values that refers to: Velocity, Performance, Power usage (for example).
    adding the value1 from groupA.ButtonA1, the value1 from groupB.ButtonB1 and so on... would give us a total width of the bar1
    what would be the function to make this possible?
    so far I'm using the TweenLite engine to do the tweening, and the code for 1 group is like this :
    function group1(graph, value1, value2, value3)
    TweenLite.to(graph.bar1, .5, {_height:value1});  
    TweenLite.to(graph.bar2, .5, {_height:value2});  
    TweenLite.to(graph.bar3, .5, {_height:value3});  
    buttonA1.onRelease = function(){
       group1(performancegraph, 80, 90, 30);
    buttonA2.onRelease = function(){
       group1(performancegraph, 45, 20, 5);
    this only alters the initial values of the graph, how to construct all the rest?
    I was thinking on adding a variable like
    var Bar1TotalWidth:Number = group1.value1+group2.value1;
    and put the Bar1TotalWidth into the _height:value1 but I'm totally lost now.
    I'd appreciate help.

    then you'll need to use non-local variables:
    var bar1var1:Number=40;
    var bar1var2:Number=10;
    var bar1var3:Number=15;
    etc
    function barF():Void{
    bar1._width=bar1var1+bar1var2+bar1var3;
    bar2._width=bar2var1+bar2var2+bar2var3;
    bar3._width=bar3var1+bar3ar2+bar3var3;
    button1.onRelease=function(){
    bar1var1=10;
    bar2var1=100;
    bar3var1=20;
    barF();
    etc

  • Print Dynamic Graph

    I have created a graph with a large number of samples on the X-axis, so the FULL graph can only be viewed using a horizontal scroller. But while printing the graph I am unable to get a print of the entire graph (only the viewable area is printed). Similarly for saving, I am not able to save the entire Length of the graph. Since my data is variable, I cannot have a fixed limit on the X-axis, so a horizontal scroller is a must to view. Any help in this regards would be highly appreciated.
    thnx,
    -prak

    Before drawing the graph onto the panel, draw the graph in its entirety onto an offscreen buffer. Then, copy the viewable portion of the graph onto the panel. Print from the offscreen buffer.

  • Dynamic Line Graph

    I am interested in adding a dynamic line graph to a form I have.
    I attempted to use myChart with an array which pretty much went nowhere.
    I have read a little on the subject which entails lots of script, which is ok, however I am lost and in need of some direction.
    Can anyone point me in the right direction.

    Creating dynamic graphs in a PDF is an very complex and a very advanced scripting task. If you need such graphs in your file, then PDF might not be the right choice for you.

  • Gérer légende d'un graph

    Bonjour à tous,
    J'ai un problème de gestion de légende :
    Mon problème étant que l'utilisateur grâce à l'ascenseur de la légende peut faire apparaître des tracés qui n'existe pas. Exactement comme un tableau. J'ai résolu le problème sur les tableaux grâce à la propriété Val.Indice qui permet de replacer l'ascenseur.
    Mais cette propriété n'existe pas pour la légende des graphs.....bien dommange d'ailleurs.
    De plus, le nombre de tracés peut varier dans mon cas (donc ascenseur obligatoire)
    si vous avez une autre solution je suis preneur même si je n'y crois pas trop
    Merci

    sur XY Graph >> property node >> Legend >> Number of rows
    j'espère que ça répond au problème.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Pièces jointes :
    XY Graph legend.vi ‏13 KB

  • The Picture of OLE object  in the report  can't be printed, and how to sovle dynamic OLE object based on path

    <p>Hi, everybody,</p><p>  I have a problem which the picture in the report can&#39;t be printed.</p><p>I want to display some pictures  in the reports and print them.So I insert the picture as OLE object, select the graph format and set graph location fomular with the path of the picture which is stored in the local machine. I run the system and generate the report,  the picture is displayed correctly in the report, but when i print the report using ie&#39;s tool, the picture is gone and replaced with a little red mark. </p><p>I want to use the new feature of dynamic graph location about  the  crystal report xi version, but I don&#39;t know where I should put the picture into on the web server and what the path is . Because my web server is installed in the another machine.</p><p>I check the view source of html report and  find that the system searches the picture under  the crystalreportviewer11 folder on the web server.</p>

    Need to give the web server access to the folder

Maybe you are looking for