Charts & Scatter Plots in Apex

Hi,
I know this is a subject that has come up before. However, I wonder if anyone knows of any new ideas or news on the subject.
Does anyone know if there is a way (currently) or in the foreseeable future of producing a scatter plot with Oracle Apex? This seems to me to be a fundemental data analysis tool which should be a basic part of any data plotting tool kit. - more useful than charts such as sweep dials, for example.
I'd be pleased to hear if anyone has any ideas how I could implement or if they are expected in a new version.

Scuffell,
I know of at least two people who are using this product -
http://www.maani.us/xml_charts/index.php?menu=Gallery&submenu=Scatter
and integrating it into their Apex application.

Similar Messages

  • Scatter plot using time series function - Flash charting

    Apex 3 + XE + XP
    I am trying to build a time series scatter plot chart using flash chart component.
    Situation :
    On each scout date counts are taken within each crop. I want to order them by scout dates and display them in a time series chart. Each series represents different crop.
    I am posting the two series queries I used
    Queries:
    Series 1
    select     null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from     "COUNTY" "COUNTY",
         "FIELD" "FIELD",
         "VARIETYLIST" "VARIETYLIST",
         "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
         "SCOUTDATES" "SCOUTDATES",
         "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and     "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and     "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and     "CROP"."FIELDID"="FIELD"."FIELDID"
    and     "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and      "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and     "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and     "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=1
    order by SCOUTDATES.SCOUTDATE' ASC
    Series 2:
    select     null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from     "COUNTY" "COUNTY",
         "FIELD" "FIELD",
         "VARIETYLIST" "VARIETYLIST",
         "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
         "SCOUTDATES" "SCOUTDATES",
         "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and     "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and     "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and     "CROP"."FIELDID"="FIELD"."FIELDID"
    and     "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and      "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and     "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and     "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=4
    order by SCOUTDATES.SCOUTDATE' ASC
    Problem
    As you can see the observations are ordered by scout date. However when the chart appears, the dates dont appear in order. The chart displays the data from crop 1 and then followed by crop 4 data, which is not exactly a time series chart. Does flash chart support time series or they have no clue that the data type is date and it should be progressive in charting ? I tried to use to_char(date,'j') to converting them and apply the same principle however it did not help either.
    Any suggestions ?
    Message was edited by:
    tarumugam
    Message was edited by:
    aru

    Arumugam,
    All labels are treated as strings, so APEX will not compare them as dates.
    There are two workarounds to get all your data in the right order:
    1) Combine the SQL statements into single-query multi-series format, something like this:
    select null LINK,
    "SCOUTDATES"."SCOUTDATE" LABEL,
    decode(CROP.CROPID,1,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 1",
    decode(CROP.CROPID,4,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 4"
    from "COUNTY" "COUNTY",
    "FIELD" "FIELD",
    "VARIETYLIST" "VARIETYLIST",
    "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
    "SCOUTDATES" "SCOUTDATES",
    "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and "CROP"."FIELDID"="FIELD"."FIELDID"
    and "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and "COUNTY"."COUNTNAME" ='Kings'
    AND CROP.CROPID in (1,4)
    order by SCOUTDATES.SCOUTDATE ASC2) Union the full domain of labels into your first query. Then the sorting will be applied to the full list, and the values of the second series will be associated with the matching labels from the first.
    - Marco

  • How do I do a scatter plot?  Plus, blank chart isn't blank!

    Something strange is going on with my Numbers app...
    But, before I get to that, I'm seeking confirmation on how to create a scatter plot.
    I have data arranged as such:
    Year     Rate
    January 2009     7.8
    February 2009     8.3
    March 2009     8.7
    April 2009     8.9
    etc.
    (formatting looks weird, but it's two columns)
    1.  Don't I simply select the variable names and the data, and then tap the + sign and scroll down for the scatter plot?  (Skipping the line chart icon, but tapping the one below that.)
    Alas, every time I do that I end up with two series of data, with a legend at the top that labels the two series as 2009 and 2011!!  In other words, not a scatter plot and not the right variable names (there shouldn't be a series legend in any case).
    I've tried just selecting the variables and data, skipping the variable names, but get the same result.
    2.  Now, here's where things get weird.  I de-selected the data and then tried creating a blank chart, to which I would add data.  That did not create a blank chart, but a virtually identical chart to the one before.
    I'm now wondering if somehow something's gotten corrupted or I inadvertently set a default chart that Numbers isn't overriding.
    Any and all suggestions welcome!
    3.  Oh, and by the way, is there any way of turning off the "Tap the chart to add data" message that appears each time and overlays the chart?  It's a nuisance! 

    Ok I got it to work. What I did was replace the bundle function of the waveforms with a build array function. This broke my clear history property node but I fixed that by creating a new control. Now I'm going to try it again from scratch to figure out what happened
    Using LabVIEW 2010SP1 and TestStand 4.5

  • Swap X and Y in a Scatter Plot

    Seems like this should have a simple answer. I have a table of data, and I'd like to generate a scatter plot of two columns. The plot comes out fine, but I want to "swap" the X and Y axis in the resulting chart.
    Is there a simple way to do this? I can't find anything in the chart popup-menu, the inspector, or the application menus.
    Cheers
    Mike

    Michael,
    This is a user to user forum, and I'll admit that I don't have a great grip on Numbers Charts, so I may be missing something myself. However, I don't know of an easy way to swap the axes either. What I would do is to create an auxiliary column that repeats the X data in a column just to the right of the Y data. Then I would create a new chart that plots the second and third columns, effectively reversing the axes. The third column can be hidden. Of course you could also just reverse your x and y columns before plotting, but that might be more disruptive to your overall table organization.
    Jerry
    Update:
    I believe that, after some experimentation, I have a better method for you. Highlight the X Range only and create a Scatter Chart. The Chart will be blank since you have not yet supplied a Y range. Then highlight your Y range and drag it to the blank chart. A new Y series will be inserted.
    Hope this works for you.
    Jerry
    Message was edited by: Jerrold Green1

  • Plotting Data Incorrectly in a Scatter Plot

    I am trying to plot a graph using a scatter plot in Numbers, and all of the data points are correct except for one. If you look at the data, you can see that the point that is at .00360 on the y axis(the highest point on the graph) is supposed to have an x value of .001 but instead it is too far to the right (closer to .1). This is throwing off my graph and I really need to get this fixed. Below are the links to the data table and the graph. Thanks for any help!
    http://img686.imageshack.us/img686/7/picture3wc.png
    http://img20.imageshack.us/img20/2035/picture4pe.png

    Hi Tom,
    I tried recreating your table and chart, typing in the numbers rather than having any of them calculated, and manually assigning min and max values to both axes to match yours.
    The chart came out with all data points where expected.
    I did notice another difference in the curve though—where yours shows three data points forming a concave-toward-the-origin section (at the leftmost portion that is correctly plotted), mine shows four data points. That led me to count the points and find that there is one point—(0.139,0.00309)—missing from your chart.
    While I don't see from doing this what may be wrong with your chart, it did bring a workaround to mind that should get you a useable chart before your deadline.
    Insert a new (plain) table into your document and resize it to the minimum needed to hold the two columns of data.
    Select the cells containing the X axis data and Copy.
    Click on cell A1 of the new table and go Edit > Paste Values.
    Repeat for the Y axis data, placing it in column B of the new table.
    Select the data block in the new table then insert a scatter chart.
    If you still get the error, manually edit the data in the cells causing the error.
    That should get you through the short term. I think someone may have to look at the actual file to solve the underlying problem.
    Regards,
    Barry

  • XY scatter plot in xcelsius

    Hi,
    Any XY scatter plot in xcelsius ,can you pass on me the add-ons url.
    FYI:I have already tried out xy chart in xcelsius.It is not giving the exact visuval.
    Thanks ,
    satish.p

    Hi Peter,
    This is one of the most requested features for the JFreeChart project. It hasn't been added yet, but it is very near the top of the to-do list.
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    P.S. For anyone who is interested in JFreeChart, the link is:
    http://www.object-refinery.com/jfreechart/index.html

  • Scatter plot line width

    First off, I'm using the trial version of iWork '09. So I want to eventually put a chart into keynote to present to my colleagues, however, putting the chart up on a projector requires me to have a thicker plot line. So if I use a scatter plot, my axis' turn out great, but I cannot adjust the line's width. I don't want symbols, I just want a line connecting the points. If I use the line chart instead of the scatter, the x-axis displays "Untitled 1, Untitled 2" as the labels. I can't change them to the corresponding numbers which is annoying. I can change everything else fine: axis line width, font size, etc. Its just eh connecting line I'm having trouble with

    Actually, found a roundabout way to do this. Have to use line chart and in the x-axis label, you have to insert your formula for what cells you want such as Table 1 :: B212:B912 and just set the category counter to only include one label every so many counts. Kind of a pain, but works. However, can't have only the few tickmarks (should be 5 labels and corresponding 5 tickmarks in my case, but I have 5 labels and 700 tickmarks), all are shown instead. It tacks all of the labels individually, but you can choose which ones are shown, but cannot remove tickmarks... Any ideas?
    Message was edited by: chemgoof

  • Scatter Plot With Multiple Data Series

    Hello,
    I would greatly appreciate any help you guys could give me.
    I need one scatter plot that shows 4 different groups of data. They all go with the same X and Y axis values, though.
    I can get a scatter graph with ONE group, but it won't let me add in another one. I tried the clicking and dragging the new cells, and the shift clicking, but the data just will not go into the chart. It's like it doesn't recognize it.
    I think I read something about sharing the X values? But I don't know how to do that?
    Thanks a ton in advance!!

    Pop,
    Badunit's example is one possible arrangement that you might have described; that is, one column for X values and several columns for Y values. This is the case when you should respond that you are sharing X-values. With all the data in one table, you can select it all at once, so you don't have the problem with dragging additional series into the chart.
    The Numbers User Guide PDF's first chapter is the place to start getting your bearings - you will learn how to distinguish Header vs. Body rows and columns. It's worth the effort to take another look at it.
    Since you are using a Scatter Chart, it's important not to use a header column for X because X values must be Numeric, as opposed to Text.
    Jerry

  • Scatter Plot Problems

    I'm fairly new to Numbers, and I'm having difficulty making scatter plots with some of my data. For instance, I want to create a graph of strain versus force, with force on the x-axis and strain on the y-axis. I have my data in 2 rows, and when I select both rows and choose a scatter plot, I get a bizarre looking chart. Is there a step I'm missing here?

    Yvan,
    I should have given you more data. I have found that the icon in the upper left corner of the Scatter Chart's data range in the Table can not be switched from columnar to row-wise, as would be the case for a Line Chart. It seems that the icon, and the chart behavior, are stuck on Columnar.
    Clicking on the icon will not change it.
    Defining a row-wise paring range for a Scatter Chart is ignored and a multi-series Columnar Chart is created instead. There are two ways to identify the behavior, by the color blocks in the data range, as you noted, and by the icon.
    This is the Columnar Icon:
    This is the Row-wise Icon:
    Clicking on the icon should toggle it.
    The documentation indicates that either arrangement should work with a Scatter Chart, but clearly in my experience, only column pairs can be used. I can't think of a good reason to restrict this behavior beyond the convention that X-Y data is normally presented in columns.
    Thanks for asking the Bug Hunters about this issue.
    Jerry

  • Scatter Plot (Change how dots are connected)

    Hello,
    I'd like to make a scatter plot where each dot represents some x-y value but the dots also have a temporal property so I want to draw a connecting line between the dots to show this. In theory this means the dot on the far left could be connected to one on the far right and then the connecting line reaches back to a dot in the middle of the chart.
    Is there a way of controlling how the line connects the dots?
    Any help appreciated.
    Thanks,
    Keith

    The only way I can think to do that would be to manually add line objects (shapes) between data points - draw a line and set its style then Option-Drag to clone the line to connect to the next pair of plotted points. You could even add arrowheads to give a sense of direction, if you think it might need that.
    Before doing this, I suggest you lock down the chart (Arrange > Lock) so that you don't mistakenly move the chart while placing the connecting lines.
    Good Luck.

  • Scatter plot - any libraries available

    hi,
    i need to do a scatter plot for a given data. i gotta plot a line or curve which fits the data.
    is there any packages available that i can import in my project?
    i also need to output that as a image.
    guys, also tell me how do i import that in netbeans.
    i'm a beginner so please be elaborative.

    The free chart library JFreeChart
    Example chart

  • Scatter Plot - Field Label instead of Legend

    I am using the scatter plot wizard to create a chart.
    As it works currently, it plots all of the points on the graph as a unique shape/color, and has a legend with the field name for reference.
    Is there anyway to place the field name next to the point on the graph?
    I have seen quite a bit about Markup text such as:
    <MarkerText visible="true"><Y1ViewFormat><ViewFormat decimalDigit="0" decimalSeparatorUsed="true" decimalDigitUsed="true"/></Y1ViewFormat></MarkerText>
    Using that gives me the data points (e.g. there is a Triangle and then 5,10) , but I want to put the field name inside instead. (e.g. Triangle and then "Sales")
    thanks

    Parvatha,
    Yeah. It does not matter what you have on the first row. You will only use the split criteria to split the data into fields in your table. So it does not matter what you have at the first row.
    Thanks,
    Vikram.M

  • Scatter plot graphs, more than 2 series possible?

    It's been very difficult for me to put 3 or 4 series of data in scatter graphs and connect the dots with lines as in Excel, it just doesn't allow me. I made a graph before using line graph model but it turns out that in the x axis (which in this case is time in weeks) I need to show the distance proportionally (i.e. 0,2,6,12 and 16 weeks) and I can't find how to do it with a simple line graph. Tried in excel and is easy using the scatter plot graph (very simple, using exactly the same data arrangement). But numbers does not accept the series of data (it only accepts X,Y per series) and in second place there is not lines connecting the dots. Any of you guys have a suggestion?. I'd really prefer to use numbers bit do not why is so difficult to scatter graph the data. Thanks

    The default for X-Y pairs can actually be pretty handy, though often it is not. You can easily turn it into one X and a bunch of Y's. Connecting lines are also available.
    My assumption from your post is you have a column of X values and several columns of Y values.
    1) All data for a scatter plot must be in "normal" data cells, none in header cells.
    2) Select all the X & Y data and create a scatter chart.
    3) There is a "gear" at the top left of the colored box in the table that indicates the data in the chart. Click it and choose to share X values. Now you should have one column labeled "X" and several labeled "Y" and your chart will show each Y as a separate series.
    4) With the chart selected (the whole chart, not one of the series), go to the Chart tab of the inspector, go to the series tab, look for the words "connect points" and choose what kind of line you want to connect the points. Alternatively or additionally, you could make trendline curves by clicking on "advanced". Also, you can do them one at a time and choose different settings for each series by selecting each series separately.
    If you have gaps in your Y data, it will not connect the points on either side of the gap, you will have a missing line segment.
    If your X data is unsorted, some connecting lines may go right-to-left, not left-to-right.

  • Scatter plot question

    I have the new NUMBERS app (3.5.2) on my Mac.
    I want to plot X and Y data points. I think this is called a SCATTER PLOT.
    But all data points in the graph are one color/ one symbol. See below. For 3 data points this may be fine BUT I have 50 data points.
    I want to be able to have different colors for each data point plotted in the graph.
    If I create a table of data as per below image, would this solve the issue? If so, what type of graph do I plot?
    I have tried lost of variations and even in EXCEL but nothing seems to be graphed.
    Thank you.
    Michael

    This is how charts work. That includes Numbers, Excel and other spreadsheets.  A column of values is called a series and all data points for a series will be the same color.  I think it will be difficult to tell the variation in colors for 50 different colors and it will take a while to create it. I believe Numbers starts repeating colors after a while (I can't remember how many series before it repeats)
    Assuming your first column is your X values, keep that column as a single column like in your first  screenshot.  Each data point that is currently in your second column will need to be in its own column (but on the same row as before). You may have to  "Edit Data References" on the chart and select to plot columns as series (found at the bottom-left of the Numbers window) or it will assume you are plotting "rows as series". And you will have to manually change the colors of nearly all the data points on the chart if you want 50 different colors.

  • Scatter Plot will not start on requested date

    Hi,
    I am trying to make a very simple scatter plot in Numbers for Mac 3.1. I have created a table with two columns and 44 rows. one column is formatted to dates (year only), the other to numbers (3 decimal places). When I select the table, click on chart and then choose scatter plot, I end up with the chart I would expect to see, except it has added a couple of years I do not want and deciced to plot my first data point on the second unwanted year. How can I overcome this? I have spent hours at this and actually have worked for both IOS and CPU support in Apple so an not a complete idiot with these things, just cant seem to figure it out.
    Appreciate any advice!
    Regards
    Daniel
    Year
    Temp
    1970
    -0.070
    1971
    -0.180
    1972
    -0.065
    1973
    0.055
    1974
    -0.215
    1975
    -0.160
    1976
    -0.240
    1977
    0.005
    1978
    -0.060
    1979
    0.050
    1980
    0.070
    1981
    0.110
    1982
    0.015
    1983
    0.170
    1984
    -0.020
    1985
    -0.035
    1986
    0.035
    1987
    0.180
    1988
    0.170
    1989
    0.110
    1990
    0.245
    1991
    0.200
    1992
    0.070
    1993
    0.105
    1994
    0.165
    1995
    0.270
    1996
    0.145
    1997
    0.345
    1998
    0.525
    1999
    0.300
    2000
    0.275
    2001
    0.405
    2002
    0.455
    2003
    0.465
    2004
    0.445
    2005
    0.474
    2006
    0.425
    2007
    0.397
    2008
    0.329
    2009
    0.436
    2010
    0.470
    2011
    0.341
    2012
    0.406

    Hi Jerry,
    What I find odd about your description is that there is no way to format a number such as 2000 as a Date, even manually. And, if you enter a date such as 1/1/2000, there's no way to display it as 2000 via the format options.
    I entered 2014 in A2 and it showed Automatic format.
    I entered 1/1/14 in A3 and it showed Automatic > Date format.
    Copy and paste to B2 and B3 then format as Date and Time > Year
    Maybe the date display options vary between Regions.
    Regards,
    Ian.

Maybe you are looking for