Output as a line graph display

Hi all

I try to display the output of the channel as a line graph. I've seen examples of signal generation that uses http servlet and the dojo. Is there a simpler approach? I tried to use graphs jfree and java swing, it throws the following error (I pasted small part of the error stack).

Caused by: java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless (GraphicsEnvironment.java:1
59)
java.awt.Window. < init > (Window.java:432)
in java.awt.Frame. < init > (Frame.java:403)
in javax.swing.JFrame. < init > (JFrame.java:202)
to org.jfree.ui.ApplicationFrame. < init > (ApplicationFrame.java:65)
to education.city.mail.DynamicDataDemo. < init > (DynamicDataDemo.java:83)
to education.city.mail.OutputBean. < init > (OutputBean.java:15)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass (BeanUtils.java:1
00)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy
. Instantiate(SimpleInstantiationStrategy.Java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.instantiateBean (AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance (AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean (AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$ 1.Run(AbstractAutowireCapableBeanFactory.Java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean (AbstractAutowireCapableBeanFactory.java:380)
to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getOb
Ject(AbstractBeanFactory.Java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.Java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:269)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveManagedList(BeanDefinitionValueResolver.java:287)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues (AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean (AbstractAutowireCapableBeanFactory.java:1011)

Thank you very much in advance for the help.
Shilpa

Hello

Please take a look at the sample to ocep_11.*/samples/source/applications/signalgeneration, it uses the Dojo to display graphs in a client browser.

Thank you
Alex

Tags: Fusion Middleware

Similar Questions

  • Angle of line graph

    Hey guys,.

    Is there a faster way to find the angle of one line graph other than the use of trigonometry?

    Reminder: If I create a new line by using the add() method, this line should get a gradient starting point and end point (these are donated and used to create the first rhythm line). In order to use the right angle in the settings of gradients, I need to know the angle of the line graph. If I have to use trigonometry, I'd use geometricBounds namely the height/width of the bounding box, discover the departure and the arrival of my line (which I have) and thereby, determine which quadrant, the line crosses using the formula (sin, cos, tan) and finally convert radiant in degree. Phew, so if there is any way how he just read the angle of the line, tat would be cool.

    Thank you

    Frank

    Hi Frank,.

    I'll start by saying: I don't know if there is a way to do this, I couldn't find one in the API. The thing is that if you physically to draw a line in InDesign the angle in the interface is always zero. If you rotate the line by a certain number of degrees, it will be that number on the screen.

    However, the math actually find the angle of a line are quite easy and fun.

    var myLine = app.activeDocument.graphicLines.item(0).paths.item(0).entirePath;
    var a = myLine[0][0] - myLine[1][0];
    var b = myLine[1][1] - myLine[0][1];
    var angleDeg = Math.atan2(a, b) * 180 / Math.PI;
    $.writeln(angleDeg);
    

    If you use this code it will calculate the actual angle between 2 points of the line where the direction of the line is:

    down to 0 degrees

    90 degrees left

    up to 180 degrees

    Right 90 degrees

    Brett

  • How can I change the color of line in a line graph?

    I used Illustrator to create a line graph. (Not my option you want because I normally import from R and then edit, but the manual wanted to show that you can create graphic and edit them in Illustrator)

    In any case, I did all the editing, except that I can't change the color of the line. My job requires me to match the example of manual and the manual does not provide any instructions on how to do it. I did pretty much any method I can think and the rest always gray line. I'm almost ready to give up everything and lose the points, but something as simple as the color cannot be that hard, right? Right?

    You need spend the focus from filling in the race or the color Panel, or by using the shortcut SHIFT - X. You can use Select > same > Fill and stroke to select all parts of the line and then a Cmd (Ctrl)-J to connect all the parts.

  • overlapping in an invisible line graph lines

    Hi Experts,

    I do a line graph in responses, and 2 of 5 lines in the response show exactly the same values.
    Therefore, the 2 lines overlap. Symbols that mark value is visible, but the line connecting the line is invisible.
    I have not seen this problem before, all solutions?

    Thank you very much in advance!


    Manna

    Hi, Maud.
    You're new to the forums that we must follow the forum rules in the case where your problem solved

    http://forums.Oracle.com/forums/Ann.jspa?annID=939

    Thank you
    Saichand.v

  • Calculation of line graph

    I use the Query Builder to create a line graph. But I want to use a calculation to one of the lines and the data comes from two fields in the same report. I'm not sure how exactly to do this calculation to work.

    Select the link null, label SAMPLE_TIME, FREE_BUFFERS_INSPECTED/Dirty_buffers_inspected "buffer free and salty.
    "DART". "" DART_BUFFER_POOL ".

    It accepts the code, but it says error, no graphic data available by looking at the actual graph. Is there a problem at the APEX of divide by 0? Don't know if this is causing the problem.

    Hello

    is there a problem at the APEX of divide by 0? : This is a problem general math , as something of division by 0 is usually a failure (or unknown).
    Try your query in SQLPlus to see if you get an error here too. If so, rewrite the 'Dirty_buffers_inspected' to
    DECODE (Dirty_buffers_inspected, 0, 0, FREE_BUFFERS_INSPECTED/Dirty_buffers_inspected)

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Line graph

    In a line graph, we would like to see the line parallel to the axis, which indicates that any value exceeding this line represents a concern x. Is this possible with obiee report?


    something like that
    y axis
    |
    |---(ligne rouge), this represents a line that the customer might be interested to follow
    |
    |------------------------------------------------- x axis

    Published by: user558238 on December 3, 2008 02:00

    Yes you can do this by using the axis scaling Options. In this, you need to change the markers of scale according to your needs.

    Published by: netala on December 3, 2008 03:21

  • Function to find the number of lines to display by the foreach loop?

    Hi all

    Is it possible to find the number of lines to display per the foreach loop in the rtf model?
    We need to get the number of rows without using the count() in the xml file.
    We do some calculations based on the count in the rtf model.

    Thanks in advance

    Paste your file xml here, patients show us how count.

    You can count the number of lines.

    use

  • print one line of output to two lines - Possible or not?

    Hi all

    Could you please tell me is below possible approach or not?

    Requirement: -.

    I want to display the result in two rows, with the data in a row.

    Example:

    Select l_output1, double l_output2;

    Then my output should appear as:

    l_output1

    l_output2

    (Not as l_output1 l_output2)

    I tried like below, but it does not.

    Select l_output1. Chr (10) | the double l_output2

    but it is still printing on the same line. (Chr (10) for the new power line)

    Thanks in advance.

    Kind regards

    UVA

    Simply replace the spaces with a jump of line as:

    SQL > select REPLACE ('abc def GHI ',' ', 10 double;)

    REPLACE('AB)

    -----------

    ABC

    def

    IGS

    The above output is sqlplus in Unix, other tools may appear differently, but line breaks will be there.

    John

  • OBIEE 11 G line graph

    Good afternoon everyone

    Hope that all goes well and does not like me a Sunday afternoon

    Here's my question.

    We have a report that shows data over a period of months (30 days)

    Report data only for 10 days of the month and the other 20 days only is set to '0 '.

    The customer asked a graphic line for this trend of months to display.

    Because the chart displays all the months of the day 10 after the line on the graphs settles just because of the values '0 '.

    Is it possible that I can stop the line at 10 days and do not allow exercise for the remaining 20 days?

    Concerning

    Benoit

    You can try to change your measurement as - column formula

    CASE WHEN 'table '. "MeasureName" = 0 THEN CAST (NULL AS DOUBLE) of ANOTHER 'Table' '. "" MeasureName' END

    (Assumption: measure your column is of data type Double)

  • Satellite C70 - A - 16 L - 3 vertical white lines in display

    Laptop Toshiba Satelite =
    Model: C70 - A - 16 L

    Yesterday I noticed a vertical white line on the right side of the screen, running from the top to the bottom, this morning there are 3 lines about 1 cm apart.

    This may be the cause?

    The lines are all located above the powerbutton on the screen that they do no when go further I move the screen.
    Laptop was purchased in April

    These lines are visible on the 2nd external monitor?
    If not, then the graphics card is OK and your internal monitor seems to be affected.

    I think that in this case that the display needs to be replaced.

  • A vertical line on display on Qosmio G10

    Hello world

    Since yesterday I have a vertical line on my screen. He begins to show the start line and all the time. I already had the problem with the graphics card, so I had to replace the motherboard. Is this problem with the graphics card again?

    Hmm, I guess that Yes.
    You could try to connect the external display for the Qosmio, and check to see if the same on the second monitor.
    If the thin line will be visible on the external monitor, then everything looks like the graphics card failure.

  • (Filter?) Lines of displayed Image IMAQ

    I use the Acquitisition Vision of February 2015 software to capture images from a series camera Basler Ace.

    When I read an IMAQ image out of the buffer and display it in the front panel, it looks like the image in grayscale below. There are a lot of horizontal and vertical lines in the image. How can I get rid of these lines? I found examples online of making images in grayscale that I can't use because I don't have all the features cast in my range of vision. An example I am SEO: http://digital.ni.com/public.nsf/allkb/ED42C55C29B9B34C862570A60079952E

    I guess they are probably color for the Bayer filter filters? See how the colorized image is much better after going through the filter of Bayer VI. How to make a grayscale image that looks as smooth as the color image?

    No, you must purchase and install the Module OR Vision Development, which is separated from the Vision Acquisition drivers.

    Bruce

  • Multi graph display interface

    Hello everyone ,.

    I work with 8 analogics signals through aBNC-2110 reprensented as a waveform in my design. The user wants to choose and display up to 4 of them in a box. I am currently implementing a statediagram to choose what graph etc. To display these data, I thought to use either the visible/position/width. height property of each graph in my statediagram or using a Graph of Mixed Signal. On the second idea, I have not found yet the means of access to the property of 'group' as it seems to automatically separate each given by their data type. I'm a bit new to LabVIEW so maybe is their an easier way to proceed?

    In addition, it is my first message in this beautiful community then maybe I need to improve the way in which I explain my problem!

    If you need any other information, tell me!

    Thanks for your time,

    Baptist,

    OK, I think I'm too tired, that I created, is a Rube Goldberg code ))

    Of course, you can simply use a single axis for the second VI...

    So the trick would be to know how to move the curves so that they are clearly visible. And you use a single single + 1 axis chart.

  • How to change the accuracy of output waveform and spreadsheet graph data acquisition

    See attached vi, data acquisition connects to a waveform graph in a spreadsheet. I want to change the precision of the output of Wizard DAQ 6 decimal places with 2 decimals, but everywhere I looked on the DAQ assistant, I can't find a control accuracy. I missed something? What is the elegant way to do this?

    Thank you.

    Hello sunflower.

    This seems related to this question...

    Why do you want to change the output of the DAQ assistant?

    Should not change the precision of the creation of the worksheet? To do, simply give a few parameters for the functions "to the string conversion..."

    Outside the file save all the other screen precision parameters are just cosmetic measures!

  • Read the output of command line

    Hello

    I am running a program of external command in my application CVI line. I use this code (that I found somewhere here):

    Char [command] = "test.exe";
    If STARTUPINFO;
    PROCESS_INFORMATION piProcess;
    BOOLEAN result;
    DWORD dwExitCode;
    int exitCode;

    ZeroMemory (& TR, sizeof TR);
    Si.CB = sizeof is;
    result = CreateProcess (NULL, NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE command |) DETACHED_PROCESS, NULL, NULL, & TR, & piProcess);
     
    If (result == TRUE) {}
    CloseHandle (piProcess.hThread);

    If (WaitForSingleObject (piProcess.hProcess, INFINITE)! = WAIT_FAILED)
    GetExitCodeProcess (piProcess.hProcess, & dwExitCode);
        
    CloseHandle (piProcess.hProcess);
     
    exitCode = dwExitCode;
    }

    It works as it should... Now I wonder how it is possible to record or to analyze the output of the command line app...

    See you soon

    I've made a few changes to the CreateProcess call and it seems to "work". Output has been redirected in test.txt, but a black console window appears while test.exe is running. I put si.dwX to-10000 so that it should be off the screen.

    Char [command] = "cmd.exe /c test.exe > test.txt ';
    If STARTUPINFO;
    PROCESS_INFORMATION piProcess;
    BOOLEAN result;
    DWORD dwExitCode;
    int exitCode;

    ZeroMemory (& TR, sizeof TR);
    si.dwFlags = STARTF_USEPOSITION;
    si.dwX = - 10000;
    Si.CB = sizeof is;
    result = CreateProcess(,command,,,TRUE,CREATE_DEFAULT_ERROR_MODE,,,&si,&piProcess);

    If (result == TRUE) {}
    CloseHandle (piProcess.hThread);
    If (WaitForSingleObject (piProcess.hProcess, INFINITE)! = WAIT_FAILED)
    GetExitCodeProcess (piProcess.hProcess, & dwExitCode);

    CloseHandle (piProcess.hProcess);

    exitCode = dwExitCode;
    }

    Michael

    NEITHER

Maybe you are looking for

  • Is BrowseFox.a you? a safe to open vision

    A window pops up asking to be allowed and said that BrowseFox.a is the editor. Is - it legitimate or I invite a virus? I was about to click on troubleshooting information automatically add (below), but stop Firefox (you?). I do not understand because

  • How can I remove the routing details when I send a message?

    Something changed recently when I forward messages that the group includes now all the routing information detailed at the top of the message transfer. I must have turned on a flag somehow and cannot get rid of this detail. Can you point me to the ri

  • Internal error to win 10 on Satellite S70-B10-V

    HelloI'm new here so be gentle with me! Recently, I downloaded Windows 10 and when I logged in I got (too often apparently) BSOD with the message with words to the effect "Internal_power_error windows needs to restart. The problem is that it happens

  • How to convert java ' instanceof' to Labview?

    Dear Sir I would use a comparison function that is 'instanceof' in java, but I don't know how to get a similar function in labview OOP (I know normal type, but for the classes that I don't know). In my project, I have 2 classes, one is the parent (Pa

  • Does not light but not dead no HELP

    OK, I read the forum and understand the 20 sec press/release/press reset to running. Mine does not start. I let the battery completely and six months later (patience is the virtue) I've tried ot load and repeat the reset procedure. Stilli does not wo