Series in XY scatter charts

How can I add points on a serie in a scatter chart ?
By default, there are three points on the serie, and I managed to modofy them with :
perspective1.setData(0, 0, 20); //x1
perspective1.setData(0, 1, 37); //y1
perspective1.setData(0, 2, 36); //x2
perspective1.setData(0, 3, 42); //y2
perspective1.setData(0, 4, 54); //x3
perspective1.setData(0, 5, 63); //y3
My points take the good values but I need to add more point to draw a graph. So I tryed to do it with :
perspective1.setData(0, 6, ...);
perspective1.setData(0, 7, ...);
perspective1.setData(0, 8, ...);
perspective1.setData(0, 9, ...);
But the points are not drawn and I have only the third points.
I tryed then to delete all series by default and to create a new one but I don't how can I do this.
Finally, I don't know how to add points to a serie or how to create a new serie with many points.

graphics.drawPoint(...)
graphics.drawLine(...)

Similar Messages

  • Scatter chart with two series?

    I have a table showing my cat's weight each day. (He's on a much needed diet and it's important to make sure he's losing weight, but not more that about 1% per week, as I experiment with his diet.) I created a scatter chart with the date on the X axis and his weight on the Y axis, and I made a 7 day moving average trendline to show his progress with most of the random daily fluctuations evened out. So far so good.
    I added a column to the chart with a function showing what his weight would be each day if it decreased 1% per week from the average of the previous week. I would like to add this column of data as a second series on the scatter chart so I can make sure he's not losing weight too fast. But I can find no way to do this.
    I had no trouble showing both series on a line chart. But no luck with the scatter chart. I tried creating a new scatter chart using all three columns of data, and I tried dragging the third column of data to the original scatter chart.
    Is it really possible that Numbers '09 cannot show two data series on a scatter chart? Or is there a way to do it?
    Thanks for any assistance.
    Bill

    Hi Bill,
    Maybe this will help. A Scatter Chart displays data pairs, such as a date and a weight. A single column of data would be only one half of the data-pair set. Select both the X and Y value columns for the second set and then add to the Scatter chart.
    Jerry

  • Defining a scatter chart with multiple series

    I am trying to create a scatter chart with two series.  I am using CR8.5 and CR2008.
    I am having difficulty with my data being presented correctly when I attempt to define the scatter chart.  The data is temperature and weather use/sqft for two different years.
    Year Period Temp Energy Use/sqft      Year Period Temp Energy Use/sqft
    2012 1/2012  52  3.7172               2013 1/2013  52  3.1712
    2012 2/2012  62  3.7015               2013 2/2013  57  3.1449
    2012 3/2012  70  3.7937               2013 3/2013  63  3.2039
    2012 4/2012  76  3.9882               2013 4/2013  71  3.4551
    2012 5/2012  82  4.2213               2013 5/2013  81  3.9903
    2012 6/2012  87  4.4875               2013 6/2013  85  4.3650
    2012 7/2012  90  4.4727               2013 7/2013  87  4.2072
    2012 8/2012  86  4.6154               2013 8/2013  87  4.2560
    I would expect to see something similar to the attached images of an excel files scatter chart.  When I defined the scatter chart in Crystal Report, I need to define a field for 'On change of', and 2 'Values to show'.
    I understand that this would not show the expected scatter chart but I went this direction as the series is to be the year.
    On change of:
    - Year
    Show values:
    - Temp
    - Energy Use/Sqft
    Problem is the sum of both is being shown. I am trying to keep the series together by year and showing each record as retrieved from the database.
    Thank you,
    Jim

    You can try using this charting tool for generating scatter charts:
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    Denes Kubicek

  • X-y Scatter chart with multiple data series

    Hi,
    How do I create an x-y scatter chart with more than 1 data series?  For example:
    Series 1
    x__y
    1__0
    2__5
    3__9
    4__7
    5__2
    Series 2
    x_____y
    0.5___0
    1.3___4.8
    2.6___12.3
    4.1___8.4
    4.9___3.2
    I can do this with 2 seperate graphs but I need them on the same graph.
    Is there a limit on the number of series that can be placed on a single x-y scatter graph?
    Many thanks.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Bubble chart with scatter chart type and different bubble sizes

    Hello everybody,
    I would like to create a bubble chart (scatter chart) within Oracle 11g and Apex 4.2 with the standard chart types that come with Apex (anychart).
    I want to integrate two different KPIs (key performance indicators) in the chart, one for each axis (x and y) and additionally the size of the bubbles shall represent the size of the company, the KPIs belong to.
    That is to say, every bubble represents a company with two KPIs and its size.
    Now, I have problems changing the size of the bubbles. Can someone give me a hint where to start or how I could achieve this with  a standard sql query  (series) !?
    Is that possible with the standard charts (scatter type)?
    Can I control the color of the bubbles?
    How can I control the starting and ending points of the axes in order to show all bubbles completely even if they are e.g. 0,0 (x,y)  (this would show only a quarter of the bubble) or 0,3 (which would show only half of the bubble).
    I will be very thankful for some hints.
    Thank you very much in advance.
    Johnny

    Go to any chart and look at the examples.  You can view the xml, there are bubble chart examples.
    AnyChart - Cross-Platform Flash Charting Solutions For Your Project

  • Legend of Scatter-chart

    Hi there,
    do anyone know how to set or fill the labels and the legend of a scatter chart?

    Hi Benedikt,
    There is a property of "Series" object called "label". Map it to appropriate value of your context.
    Best regards, Maksim Rashchynski.

  • Scatter charts with dates

    I am trying to create a scatter chart which has date on the X-axis and meter reading on the Y-axis. The date/time intervals are not regular so I can't use a line or bar chart, but I can't seem to get the scatter chart option to accept the series for the X-axis with the dates in it. Is what I am doing possible in Numbers or will I have to revert to Excel
    Many thanks for any help,
    John Perry.

    The Scatter chart requires sets of numerical values.
    Date_time aren't numerical values so as you see, we can't chart them.
    But it's easy to build a workaround.
    Here column B contains dates.
    In column C, I uses:
    =B-DATE(2008,1,1)
    which returns numerical values
    So, I was able to chart C2 … D11
    To refine the result, disable the display of labels on X axis and build a text block with the dates as I did for Graphique 2-1
    Yvan KOENIG (from FRANCE jeudi 18 décembre 2008 20:48:14)

  • Scatter chart with different markers styles

    Hello,
    I am using Oracle Apex 4.
    i have created a scatter chart with three series
    i want to use different marker style for each serie :
    the first is circle
    the second is across
    the third is square.
    Any suggestions please.
    Thanx..

    Dir,
    any idea for this problem ?

  • Scatter Chart with different markers

    Hello,
    I am using APEX4.0,
    i want to create a scatter chart with multiple Series,
    How i can associate differents Marker for Series ??????
    For example (Cercle for Serie1, rectangle for Series2 , ....etc).
    Regards.
    ouadah.

    This thread may help:
    {thread:id=928024}
    Jeff

  • Trend line in scatter chart

    Hi,
    Is it possible to add a trend line to an existing scatter chart?
    Thanks.
    Andy

    The Regression/Trend Line is calculated using the Least Squares Regression method. You can get all the information on what goes into the calculations for Least Squares Regression on wikipedia.
    Then create an actionscript class (its not particularly complicated) that does the Least Squares Regression calculations on a series of x and y observations (that you used to create your plot chart).
    Once you have calculated the Least Squares Regression data for your plot series, you add a line series to your plot chart. Each observation in the lineSeries data should use the x value (independant variable) from the plot data and the calculated y value from your Least Squares Regression class.

  • Help with scatter chart from scratch!

    I need to do a scatter chart using numbers on mac. Help section says to choose x & y axis I cant find where to do that I have never done a scatter chart before I have all data on another chart to which I need to add scatter chart Report due Monday!

    To me... the easiest way to make any chart is to make sure nothing is selected on a sheet, then select the chart type I want from the Chart Menu in the toolbar:
    This will insert a new chart with some made up data (default) data which you can now modify:
    If you have only one series of data then you can click the chart to select, then grab (click and hold)) the little circle at the bottom right of the highlighted section in the table and move it to the left to adjust the amount of data presented in the chart:
    I would also suggest downloading the Users' Guide to assist:
    http://support.apple.com/manuals#macosandsoftware

  • Drill Down for Multiple Series in a Line Chart

    Hello,
    I seem to have a problem with the drill-down functionality in a line chart that has multiple series.
    I have a line chart that displays the readings of a patient over a period of 1 month. For each day, there is the glucose level reading, blood pressure reading, etc... So, each reading is a different series in my line chart graph.
    The basic requirement is: With a mouse over event on the chart, I am willing to display all the data that belongs to that day. The data will be displayed at the bottom of the screen in a small panel. It is very simple to do it when the line chart has only 1 series:
    i) Enable drill down.
    ii) Choose 'Row' as insertion type.
    iii) Fill out the destination field.
    iv) Make sure your labels (at the bottom of the screen) get the data from the destination cell.
    When there is more than one series, it becomes very difficult. XCelsius will not let me use the same destination cells for different series. So, I will have to use other destination cells. In that case, I will not know on which day is the user on. Is there any way to achieve this functionality?
    Let me know if you need further information.

    This is certainly possible, but there's a bit of a trick to it (and really hard to explain without screenshots!). There's two halves to it:
    1. Write the date that has been selected to a cell (for each series).
    2. Write the name of the series that was clicked to some cell (this is the property 'Series Name Destination').
    So let's say your three series are Glucose, Blood Pressure and Temp. Have those series names in B1,C1,D1 (with your dates down in column A). Insert a row below the series names (2:2), and then set up your insertion type for the chart as 'row'. The source data (for all three series) should be your list of dates in column a. The insertion cells for the three series will be, in order, B2,C2,D2. Now, depending on which point is clicked in the chart, the selected day will be inserted into one of those three cells. Completely useless unless you know which series was clicked.
    So you need to insert the name of the series that was clicked ('Series Name Destination') into the spreadsheet, let's say in F1. The rest is just Excel formulas. The logic is, you can now tell what series was clicked, and go and look up the date that was inserted for that series, then go and look up the row that corresponds to that date. So to get the date that was just clicked, your formula (in F2) would be =HLOOKUP(F1,B1:D2,2,0).
    Then a VLOOKUP will get the results from that row of data. For example, if I inserted another row at row 3 (to show my 'result' values) the formula in B3 would be =VLOOKUP($F$2,$A$4:$D$13,2,0).
    I hope that makes sense.

  • How can I label data points in a scatter chart with text strings?

    Post Author: Bill B
    CA Forum: Charts and Graphs
    I need to create a Scatter Chart, with a text label for each data point instead of the xy coordinates. A legend will no longer be necessary.Also, I want to draw "cross-hair" lines on both the x and y axes centered on one particular data point.Any ideas?

    Post Author: ebobo
    CA Forum: Charts and Graphs
    Hi
    I have the same problem here, did you find any solutions.
    Here we are ok if the dimension is displayed in the scatter instead of the measurements but the only options i founds was "Show data" and that option displays the values of the xy.
    pls let me know if anybody found any solution for this problem

  • Scatter Chart Error Bars Help

    I'm new to using iWork for my lab reports and today, while I was plotting a scatter chart, I had to put some error bars on the points in percentage form. The value for the x-axis was 0.5% and the value for they y-axis was 1.5%, and when I tried to input these, the only thing I got was the error sound and the error bars returning to 3% and 1% respectively. Anyone know why this is happening and how i might resolve this issue? Thank you in advance.

    Angelos,
    I'm sure that your eyes are sharper than mine. Still, if your error bar is shorter than the radius of your symbol, you aren't going to see it. The standard symbols are roughly 4mm in diameter, based on the Numbers Rulers. Let's say you have a 100 mm tall chart, an average graphic size. A 0.5% error bar would be a maximum of 0.5 mm in length, unless you suppress the axis zero, and would be hidden behind the 4 mm dia. data symbol. Yes, you could see a 3% or 4% error bar, but I'm not sure everyone would recognize that it was an error bar and not part of the data symbol.
    Regards,
    Jerry

  • Creating Scatter chart for more than one column

    Hi,
    I have 2 columns of sorted numbers, when I select one column at a time and create a Scatter type chart, every thing is OK,
    But I want a chart with both columns in it, and when I select both columns and select a Scatter chart, Numbers takes the Group1 column as X axis and Group2 column as Y axis and draws me this chart whiich is not what I want!
    When I try this type of chart the chart is something like I want, but not with connected lines.
    How can I draw a Scatter chart with 2 columns of data in one chart?
    Thanks in advance,
    Regards,
    Hadi

    Thanks Jerrold, The problem was the first column, on the left of Group1. that column should not be as header. I created another table like this and the Share X Values command worked like a charm. I really don't know why!?

Maybe you are looking for

  • Adding text to an image in PS CS2

    I can add type to an image in Photoshop 7 running on Windows XP but on another PC with PS CS2 on Windows 7, the text appears in a straight line, off set from the canvas and you can just see it as faint text.  What am I doing wrong?

  • Saving Sort Field Selection

    When I open itunes I select the artist I wish to listen to, (I'm using grid view, btw) and then browse that artist's albums. However, every single time I open itunes, I must click the "album by year" column header to resort it that way. It defaults b

  • WDA VS IView & Tcode

    I am trying to understand how developing an application in web dynpro ABAP is more beneficial that developing a normal transaction code and integrating it using an IView through enterprise portal. Can anyone think of why one route is better than the

  • Problem when form is dynamically added in a tab page

    Following is the requirement: => I placed a button on a tabPage of tabControl. => On click of a button, 1. I created a Control object. 2. I created a Form object. 3. Initialize the Form Object. 4. Initialize the Control object and add it under the Fo

  • Filling out Canadian Tax Form GST506 E

    Hi, I am registered Apple Developer from Canada. In "Part D" of this form it says that "Have an authorized person of your company sign and date w/t his/her title". I'm not involved in a company, whatsoever. I am an Individual that would like to creat