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 ;-)

Tags: Database

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.

  • 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

  • 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

  • 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

  • calculation on line data

    Hello world

    I have just started using the tiara and I have no idea how I can do a few calculations, I want to have chanell with result depends on the other chanells, but not the same data line, I can use the SMC (line, no.) and I can do to make it function in a cell with my result chanell (example for the first row of data (: SMC (1, Ch("[4]/Channel1")) = (ChD (1, Ch("[4]/Channel")) + SMC (2, Ch("[4]/Channel"))) / 2), but I don't know how I can do this function automatically for the other line (for example, line 2 ChD (2, Ch("[4]/Channel1")) = (ChD (2, Ch("[4]/Channel")) + SMC (3, Ch("[4]/Channel"))) / 2) I have a line of 500,000 of data so I need know some functions that will be clalculated this function on the lines of my data. I will be grateful for your help.

    Hello!

    For performance of good calculations on your data of type long, you must use a formula in tiara. In the past, it was the FormulaCalc command. Today, the ChnCalculate is recommended. The similar oddity in the two commands, they can only do calculations on one line (it's repeat them verry fast for all lines). For you the problem this behavior results in a no aproach obvoius. You must copy your data to a second channel, remove the number of values that gives your shift and then use the two channels for the calculation. Here's the script for offset = 1:

    Call ChnCopy("[1]/Channel","[1]/ChannelCopy")
    Call DataBlDel("[1]/ChannelCopy", 1, 1)
    Call ChnCalculate("Ch(""[1]/Result"" )= Ch(""[1]/Channel"" ) + Ch(""[1]/ChannelCopy"" )/2")
    

    Matthias

  • 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)

  • line graph - 3rd value added to each data point

    I have a table with the stock trades:

    http://www.psychobanker.com/main.php

    I would like to add the name of the person who made the trade for each value so that when the user hovers with the mouse over the chart, he can see who made the trade. How can I achieve this? Add another value to the arrayCollection collection has no effect. The graph always shows only the xvalue and yvalue.

    Thank you

    Hello

    Use dataTipFunction.

    Here is an example. There PieChart, but you can do the same thing with the line chart.

    http://blog.flexexamples.com/2007/11/04/creating-a-custom-data-tip-function-on-a-Flex-PIEC hart-control.

    See the docs page if you need to

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=charts_displayingdata_08.html

  • Line graph bar: even scale and dynamics

    Hello world

    I am trying to build a report that is real, budget, the previous year and forecast of dollar amounts for the current year by period. The requirement is that are real and projected bar graphs and graphical prior budget year and line. This part was simple, however, the two scales on the left and right axis are not aligned with each other so that it cause confusion between reports. I need to find a way to force the scale for lines on the right to be the same as the scale for the bars to the left, but I also need to make sure that the left updates dynamically based on the data scale.

    Any ideas on how to force the same scales and always updated dynamically according to the data?

    -Joe

    Joe,

    On what version work? In the last editions at least there is a button (icon is a blue star in the part of graphical configuration). 'S called it the advanced properties. There is a property, you can set: "line to synchronize and the axis of the bar."

    Concerning

  • Show ToolTips and line graph point cloud where data extracted by SQL


    I'm looking to create a scatter chart to display the results of a SQL query. The graphic appears as

    anychart.png

    I want to have the points to is joined by a line and - bubbles that appear when a single point are selected. My existing custom XML is displayed at the bottom of this post. I tried different formats between the < / tooltip_settings > tags, but nothing appears. Similarly, I tried different line format settings. Interestingly, if the string #DATA # is replaced with a block as...

    < data >

    < name of series = 'Dirty' type = 'Line' >

    < y = '1.172' point x = "1063512000" / >

    < y = '1.916' point x = "1095048000" / >

    < point y = "5.57" x = "1126584000" / >

    < point y = "15.0" x = "1158120000" / >

    < point y = "144" x = "1189656000" / >

    < / series >

    < / data >

    ... then a line and bubbles appear. It seems that all that is in the #DATA block # is not enough to create a line, and ToolTips. The data is retrieved by a query that returns the 4 columns LINK, TAG, X_VALUE, Y_VALUE

    Is there a way in which something can be configured for line and tool tips to appear?

    Existing custom XML

    <? XML version = "1.0" encoding = "UTF-8"? >

    < anychart >

    < Parameters >

    < local >

    < date_time_format >

    < format > %u < / size >

    < / date_time_format >

    < / locale >

    < / Parameter >

    < graphics >

    < graphic plot_type 'Scatter' = >

    < data_plot_settings >

    < line_series >

    < tooltip_settings enabled = "True" >

    < / tooltip_settings >

    < / line_series >

    < / data_plot_settings >

    < chart_settings >

    < title >

    Scatter line < text > < / text >

    < /title >

    < axes >

    < y_axis >

    < title >

    < text > County < / text >

    < /title >

    < scale type = "Linear" / >

    <>labels

    < format > {value %} {numDecimals:0} < / size >

    < / Label >

    < / y_axis >

    < x_axis >

    < scale type = 'DateTime' major_interval = '1' minor_interval = '3' major_interval_unit = 'Year' minor_interval_unit = 'Months' minimum_offset = '0' maximum_offset = '0' / >

    <>labels

    < format > {value %} {dateTimeFormat: % YYYY} < / size >

    < / Label >

    < title enabled = "true" >

    < text > Date < / text >

    < /title >

    < / x_axis >

    < / axis >

    < / chart_settings >

    #DATA #

    < / chart >

    < / charts >

    < / anychart >

    This is because the apex generates the series not as a type of line, but as a type of marker:

    
    
    
    
    ...
    

    You will need to provide the data yourself, in the format you want, that is to say a series of line type. You can't set it up.

  • Example of time-stamped .vi line graph (Excel) does not work on my PC


    In the lower right corner of the image is the name of the required toolbox - Report Generation Toolkit.

  • Problem with line graph

    Hello.

    After two days on a tray to solve the problem, I need your help.

    I have problem with presentation of the data. Data of growning Aproxx. linear. I read these data from device. Sometimes my .vi does not read data, and in this case my chart have collapses to zero (see the picture)

    http://prntscr.com/6yq9y2

    How can I do table: if not succesfull data read using previous value to display on the chart? In this case I don't have big fall to zero.

    Pls help.

    Another option would be to replace the 0 by NaN, this would produce a gap in the screen that would communicate that lacked a data point.

    Mike...

  • Curve not appearing lines do not in the graph of the

    Hello

    When I add a curves FX, I only get 1 line graph by channel and can not compare this line to the original. I noticed on some tutorials that the graph seems to show all lines curve when adjusted. What is a preference or a setting I can adjust? I use AE CC.

    Thank you

    Phil.

    This is just my version of the AE, a new her. Problem solved.

    Thank you.

  • First HP: Lack of Sections of first graph with steep slopes on HP

    I saw somewhere an old post on the Internet where a user was having difficulty to see the graph of y = x ^ 4 (x-2)(x-6) using a "Decimal point" display window and the "Evolutionary" method in the application of the function. The chart has not demonstrated the branch of the chart with the x origin of (6, 0). The response at the time was to use a different window or switch to advanced graphics application. I don't like either of these options, because much cheaper calculators have not this problem.

    With a little experimenting, I found that the calculator will be graphic curves where the absolute value of the slope (derivative) is less than about 375 * (Ymaximum - Yminimum) / (Xmaximim - Xminimum) where the minimum and maximum levels refer to the values specified in the configuration of the land. When the curve is steeper than this amount, the curve has holes and gaps until this value exceeds of approximately 1500 *(Ymaximum-Yminimum) / (Xmaximim - Xminimum). At this higher value, the curve is usually not in graphic form at all. These expressions are based on the study of graphs of the polynomial given above, y = 1 / x and y = e ^ x for different values of configuration of land.

    I realize with the option of touch screen on the first HP for the graphics window resizing, calculator, developers should be a little more sophisticated in how to get the calculator determine the graph. The current 'Adaptive' method is too risky for me to use unless I know a little on the chart. And the graphic progress is too slow. HP working on another option or is there maybe a setting on the computer I do not use its full potential?

    I've only used the calculator for a few days, but others who have used the calculator for many more are also puzzled. Thanks for any info. You can send our way.

    It is currently being considered. I can't say when / if there will be changes, however on the political basis of HP on 'future-looking '.

    However, graphical representation is one of those things that is "deceptively simple" because it seems to be pretty easy but is actually infinitely difficult. It has in fact been mathematically proven that you * don't * create an algorithm to be quite accurate for the same simple algebra. All graphics engines turn example is a very simple method that collapses quickly for something else then the case of some, it's well, a series of different behaviors for different types of problems in an attempt to account for different types of situations.

    The average general graphic has been done in the past was "moving pixel, evaluate and connect the dots." This works for simple things, but falls apart pretty quickly. Most of the calculators except the first on the market at the present time use some techniques of "smoothing" kind of hide the types of problems, this method can generate and generally work well for simple cases. While that hides things, the problem is he hiding things. :-) In more complicated cases, it actually makes things quite worse.

    In this simple case, most of the systems actually get the "right" result because they always assume that a big jump in values one line drawn to connect them. Result directly in other cases where it draws a vertical line to an asymtote that shouldn't be there. That's why things like Tan (x) go very often vertical asymtotes where there shouldn't be any. To try to avoid this, you need the code to make a special analysis in the case of start trying to filter false positives. It seems that in this case, it is bad filter and eliminate the line here.

    For another thing of pleasure, try the example simple "sin(e^x)" on all your systems. You will get some pretty crazy things and strange patterns here where there should not be any. The "speculative", the first will be closer, but only the grapher advanced with its graphics of interval it gets correct.

    So in short, yes - you put this to our attention. In long, graphic representation is in fact much more complicated then one might expect. :-)

Maybe you are looking for