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

Similar Messages

  • How to add 3 legends for a single series barchart?? JAVAFX

    Here is my code to generate 10 bars of different colors. I want to add legend respectively but it only one shows yellow legend
    1. I think it shows only 1 color because there is only 1 series. Is it possible to add more than 1 legend for a single series?
    or
    2. or can i display another image for legend in barchart??
    output :http://i.stack.imgur.com/fSNu7.png
    file i want to display in barchart:http://i.stack.imgur.com/cchch.png
    public class DynamicallyColoredBarChart extends Application {
        @Override
        public void start(Stage stage) {
            final CategoryAxis xAxis = new CategoryAxis();
            xAxis.setLabel("Bars");
            final NumberAxis yAxis = new NumberAxis();
            yAxis.setLabel("Value");
            final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
            bc.setLegendVisible(false);
            XYChart.Series series1 = new XYChart.Series();
            for (int i = 0; i < 10; i++) {
                // change color of bar if value of i is >5 than red if i>8 than blue
                final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
                data.nodeProperty().addListener(new ChangeListener<Node>() {
                    @Override
                    public void changed(ObservableValue<? extends Node> ov, Node oldNode, Node newNode) {
                        if (newNode != null) {
                            if (data.getYValue().intValue() > 8) {
                                newNode.setStyle("-fx-bar-fill: navy;");
                            } else if (data.getYValue().intValue() > 5) {
                                newNode.setStyle("-fx-bar-fill: red;");
                series1.getData().add(data);
            bc.getData().add(series1);
            stage.setScene(new Scene(bc));
            stage.show();
        public static void main(String[] args) {
            launch(args);
    ...Edited by: 993431 on Mar 12, 2013 1:42 PM

    Either:
    1. Use a chart which displays multiple series, then you can allow the built-in legend to show OR
    2. Use a single dynamically colored series have you have done and create your own custom legend.
    import javafx.application.Application;
    import javafx.scene.*;
    import javafx.scene.chart.*;
    import javafx.stage.Stage;
    public class ThreeSeriesBarChart extends Application {
      @Override public void start(Stage stage) {
        final CategoryAxis xAxis = new CategoryAxis();
        xAxis.setLabel("Bars");
        final NumberAxis yAxis = new NumberAxis();
        yAxis.setLabel("Value");
        final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
        XYChart.Series lowSeries = new XYChart.Series();
        lowSeries.setName("Not Achieved");
        XYChart.Series medSeries = new XYChart.Series();
        medSeries.setName("Achieved");
        XYChart.Series hiSeries  = new XYChart.Series();
        hiSeries.setName("Exceeded");
        bc.setBarGap(0);
        bc.setCategoryGap(0);
        for (int i = 0; i < 10; i++) {
          final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
          if (data.getYValue().intValue() > 8) {
            hiSeries.getData().add(data);
          } else if (data.getYValue().intValue() > 5) {
            medSeries.getData().add(data);
          } else {
            lowSeries.getData().add(data);
        bc.getData().setAll(lowSeries, medSeries, hiSeries);
        bc.getStylesheets().add(getClass().getResource("colored-chart.css").toExternalForm());
        stage.setScene(new Scene(bc));
        stage.show();
      public static void main(String[] args) {
        launch(args);
    import javafx.application.Application;
    import javafx.beans.value.*;
    import javafx.geometry.Pos;
    import javafx.scene.*;
    import javafx.scene.chart.*;
    import javafx.scene.control.Label;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.*;
    import javafx.stage.Stage;
    public class DynamicallyColoredBarChart extends Application {
      @Override public void start(Stage stage) {
        final CategoryAxis xAxis = new CategoryAxis();
        xAxis.setLabel("Bars");
        final NumberAxis yAxis = new NumberAxis();
        yAxis.setLabel("Value");
        final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
        bc.setLegendVisible(false);
        XYChart.Series series1 = new XYChart.Series();
        for (int i = 0; i < 10; i++) {
          // change color of bar if value of i is >5 than red if i>8 than blue
          final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
          data.nodeProperty().addListener(new ChangeListener<Node>() {
            @Override
            public void changed(ObservableValue<? extends Node> ov, Node oldNode, Node newNode) {
              if (newNode != null) {
                if (data.getYValue().intValue() > 8) {
                  newNode.setStyle("-fx-bar-fill: -fx-exceeded;");
                } else if (data.getYValue().intValue() > 5) {
                  newNode.setStyle("-fx-bar-fill: -fx-achieved;");
                } else {
                  newNode.setStyle("-fx-bar-fill: -fx-not-achieved;");
          series1.getData().add(data);
        bc.getData().add(series1);
        LevelLegend legend = new LevelLegend();
        legend.setAlignment(Pos.CENTER);
        VBox chartWithLegend = new VBox();
        chartWithLegend.getChildren().setAll(bc, legend);
        chartWithLegend.getStylesheets().add(getClass().getResource("colored-chart.css").toExternalForm());
        stage.setScene(new Scene(chartWithLegend));
        stage.show();
      class LevelLegend extends GridPane {
        LevelLegend() {
          setHgap(10);
          setVgap(10);
          addRow(0, createSymbol("-fx-exceeded"),     new Label("Exceeded"));
          addRow(1, createSymbol("-fx-achieved"),     new Label("Achieved"));
          addRow(2, createSymbol("-fx-not-achieved"), new Label("Not Achieved"));
          getStyleClass().add("level-legend");
        private Node createSymbol(String fillStyle) {
          Shape symbol = new Ellipse(10, 5, 10, 5);
          symbol.setStyle("-fx-fill: " + fillStyle);
          symbol.setStroke(Color.BLACK);
          symbol.setStrokeWidth(2);
          return symbol;
      public static void main(String[] args) { launch(args); }
    /** colored-chart.css: place in same directory as other bar chart application files and setup your build system to copy it to the output directory */
    .root {
      -fx-not-achieved: red;
      -fx-achieved:     green;
      -fx-exceeded:     blue;
    .default-color0.chart-bar { -fx-bar-fill: -fx-not-achieved; }
    .default-color1.chart-bar { -fx-bar-fill: -fx-achieved; }
    .default-color2.chart-bar { -fx-bar-fill: -fx-exceeded; }
    .level-legend {
      -fx-padding: 10;
      -fx-border-width: 2;
      -fx-background-color: rgba(211, 211, 211, 0.5);
      -fx-border-color: derive(rgba(211, 211, 211, 0.7), 10%);
    }

  • Is there a way to display the legend for a chart, but not the chart?

    Hi,
    I have a stacked column chart and a line chart on top of each other.   I can't use the legend for the stacked column chart because the data will change from month to month, and the 2 charts will not be aligned.  I copied the stacked column chart to another part of the canvas and want to display only the legend, but the chart is still displaying.  Is there a way to prevent the chart from displaying?    Thanks.

    hi Jim Wojewnik,
    we can show only the legend in a pie chart by dragging the edges to closer.do the following,
    select the pie chart,select the edge of the chart and make it small and u ll find the pie chart shrinking.make it lean such that the pie chart disappear.
    try this work around and let me know.
    regards,
    ravi.

  • I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The wid

    Question.
    I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The widget disappear in bloc legend. disparaître. Have you one solution?
    Thank you,
    Loïc

    Accordion or Tabbed panel should to it, with click and open container.
    Please provide site url where this does not work, also if you can provide an example where we can see the exact action then it would help us.
    Thanks,
    Sanjit

  • Capital inv. program position not allowed for measure

    Hi Gurus,
    When I am going to assign top level wbs to investment program position i am getting the error message
    How I can overcome this.
    Quick response will be rewarded and appreciated.
    Cap. investment program position not allowed for measure
    Message no. AP039
    Diagnosis
    You want to assign a measure or appropriation request to an investment program position.  However, the program position does not allow this type of assignment.
    System Response
    The assignment is not allowed.
    Procedure
    Use the detail display in the position to find out what assignments are allowed to it.
    rgds

    HI Sree
    In  im12 I have one general Tab and one Organisational tab.Here I am not getting allowed measures button.
    even though I am unable to create AR when i am assigning WBSE there then I am getting the error message.
    Program type not allowed according to budget profile of measure
    Message no. AP177
    Diagnosis
    You tried to assign a measure to an appropriation request.
    The appropriation request type for the appropriation request specifies that assignment from measures is only possible, if the measures specify that they have to be assigned later to an investment program with program type ZM01.
    However, the budget profile of the measure specifies that it has to be assigned later to an investment program with program type ZC01.
    System Response
    The function cannot be carried out.
    Regards

  • ANY UPDATE ON PDF READER FOR CURVE 2 AND MORE ON BB PROTECT

    Please, I need an update if free pdf reader is now available for curve 2, OS V5.
    Please, how strong is Blackberry protect application on device installed  when intruders try to wide/format device and can I still have access to the device if number is changed.
    All comments/supports should be detailed.

    1. No update for PDFtoGo.
    2. What intruders do you speak of?
    3. If you insert a different SIM card in the BlackBerry,  your Protect account will not be accessible on that device, or from tne Web-based Protect login to that device. 
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • FREE Call & SMS Blocker for Curve 8900

    Is there anyone know an application for blocking unwanted call & SMS FREEWARE for Curve 8900???
    like black&whitelist... but i don't want the shareware...
    Thanks a lot.

    I don't know of a free one. You can also look at iCallManager.
    Meanwhile if you want to block ALL SMS messages, you can do that at Options > Security > Firewall settings and check the items you want blocked completely.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Legend for a 3D Surface Plot

    How can I create a legend for a 3D surface plot? I'm doing a xy-projection and the view direction is directly towards this plane. The plot style is a surface contour plot. I want to display next to the plot the legend in a separate bar where the different colours with each value are displayed. The value for each contour line shall be displayed in the legend.
    Patrick

    OK,
    I remember that thread now. That was the one were you did not want to use interpolate colors and I did. Well I still  like to interpolate colors but that presents another challenge when trying to produce a proper color ramp. Without resorting to using the picture control
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
    I decided to play with some of the built in objects.
    All of the round objects like knobs and guages include a color ramp. This gave me a ramp but is not quite up to what you get with an intensity graph.
    Since I could not get a ramp on any of the straight indicators like sliders etc, I hid most of an intensity graph and just use the Z-scale. It turns out that the same data structure can be used in the intesity graph as the guage.
    Can anyone think of other ays of producing a proper color scale when intepolation is turned on?
    Ben
    Message Edited by Ben on 12-24-2005 08:03 AM
    Message Edited by Ben on 12-24-2005 08:03 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Scale.vi ‏81 KB
    Scale.JPG ‏111 KB

  • Legend for 3d graph

    I want to know how to make a legend for 3d graph.
    I actually posted my question on the following thread but since there havent been any replies, I thought I could just post it here.
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=160715#M160715
    Please click on the link for my question.
    Thanks.

    Hi kmo,
    I'm sure it is possible to get a color map... but I'm affraid I could'nt get to the result you wish I think I'm not far..
    Maybe somebody knows hox to get it from the variant, I am not used to use these "tools": Sory...
    If you don't need a real 3D graph, it might be easier to use an intensity graph.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    Wafer.vi ‏99 KB

  • Auto Signature for Curve 8900 series

    I'm trying to add a auto signature for text and email for Curve 8900

    Hi and Welcome to the Forums!
    I don't know about an SMS auto-sig, but for emails, you can access that via Setup > Email Settings (it may be slightly different depending on your device OS level).  Navigate into the account and there is a field for that information.
    You can also do this from your carriers BIS website:
    http://www.blackberryfaq.com/index.php/Where_can_I_log_into_my_BIS_account%3F
    If you've not used this before, you'll have to create an ID/password and associate it to your BB PIN...and then you'll have to also use those credentials on your BB. But there should be a checkbox to tick that will have your BB remember those credentials for future uses, so you only have to enter them once.
    Now, if you are on BES for some email, you must do something different...let us know and we'll guide you about that.
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How Undo functionality can be Created for curves or Line in Swing?

    Please Help! How Undo functionality can be Created for curves or Line in Swing GUI. In the Java Tutorial, Undo with Text is given. But on implementing the SIMILAR logic of Undo with Text, some Errors come with Undo is to be Created on Swing GUI on the Graphics.

    What about storing the image before to execute the drawing method ? Undoing would be as easy as repainting the stored image ?

  • How to Put Legend for Multi Series Stacked Graph...?

    Hi Experts,
    Please guide me how to put Legend for Multi Series Stacked Graph...?
    Its very URGENT...!!!!
    Thanks in advance...
    Regards,
    Manoj

    I searched the forum using "jcombobox multiple columns". The first posting I read had a link to a posting with 4 different solutions.
    Why is it so hard to search the forum before posting a question????

  • Position Vs Time for LVDT

    Hello  I'm very new to Labview (Three weeks)  Can anyone give me some sample on how to measure position vs time for LVDT? This is very simple using an Oscilloscope by position X1 and X2 cursors to measure delta time but I am not sure how to do this with the labview graphs or charts. I want measure time from trigger to fist sign of movement, total stroke time and snubbing time (Of actuator). I have attached an image of what I want to measure. Are there specific VIs to look for these times. Even by manually placing cursors on desired position in labview all I get is the time for each cursor but not the delta time between cursors.  Any help will be greatly appreciated
    Juan   
    JCollado
    Solved!
    Go to Solution.
    Attachments:
    measuringStrokeTimejpg.jpg ‏77 KB

    Thanks for your help.
    I have attached the VI I'm working on. It is working manually as far as the graph time measurement. No database connection and other controls not in use yet.
    I am also thinking that I might be able to do this with the shift register checking if current value for Y is higher then last. If higher I should take trigger time to this time and so on.
    It will take me a bit because I'm so new to labview and new to Instrumentation type programming.
    Thanks
    JCollado
    Attachments:
    highFlowDecreaseSimulationeEventcovi.vi ‏25 KB

  • Enable Cookie/Wifi connection for curve 8900

    Hi,
    Anybody know how to enable cookie for curve 8900? I've tried clearing cache history already but no luck.... I can't access to gmail, hotmail and yahoo mail due to this error.
    Also, would you have any idea if this is related to the error 65 when I'm signing in to windows live messenger and yahoo messenger?
    I'm also having a problem connecting to Wifi, it can detect the wifi network but won't connect, anybody know hot to fix this?
    Thanks,
    Kim

    Hi ninarollaine,
    Do you currently have a BlackBerry data plan with your wireless network provider? Some network providers requre you have a BlackBerry data plan to browse, even when on Wi-Fi.  I would recommend contacting them for more information.
    Thanks.
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Grid size for Curves in PhotoShop CS

    I want to get back to the default grid size for Curves in PhotoShop CS. I accidentally changed it to a much smaller grid (100 squares) from its default grid size which I think was 16 squares. I don 't know what I did to change it, but I'd sure like to unchange it.

    Option-click on the grid.

Maybe you are looking for

  • OD / AD / Magic Triangle configuration in Snow Leopard Server

    Hi: I'm working on training / setting up a magic triangle. I've been able to perform the necessary binding of my 10.6.4 Server to the AD, Set up OD as an OD Master connected to AD and finally, binding a client 10.6.4 Mac to both AD and OD. FYI - I'm

  • Can I divide my Bandwidth dedicated for VoIP

    Hi All, Please advice me what I wanted to do is possible or not. I have 128 kbps Bandwidth leased line circuit to my branch office in Singapore and I would like to dedicated assign 64 kbps of my bandwidth for VoIP traffice. The rest traffic with go w

  • Camara app!

    My camara app and instagram app crashes when i try to take a picture...WHAT THE ACTUAL F*** IS GOING ON???

  • Newbie for plot/draw graph in Java

    Hi everybody: I really need help from anyone of you who know the problem that i am facing now. I have all the data in an excel file (.xls). I would like to retireve all the data(all float integers in two coloumn and 300 rows) from this excel file and

  • Cannot play vid from iPhone on monitor or TV

    I am unable to display any video transfered via iTunes to my iPhone on any external device. Have gone through preferences, unable to determine why.