Plot values in X-Axis in 2D line graph

Hi,
I am using 2D line graph to plot graph but the graph is to be ploted based on date i.e i have a range to be ploted in X-Axis i.e Dates how to plot that please suggest now the values are automatically it is getting ploted
This is query wht i am using
SELECT
pobj.name "Object Name",
tas.name "Task Name",
SUM (TCL.NUM_HOURS_DAY1+TCL.NUM_HOURS_DAY2+TCL.NUM_HOURS_DAY3+TCL.NUM_HOURS_DAY4+TCL.NUM_HOURS_DAY5+TCL.NUM_HOURS_DAY6+TCL.NUM_HOURS_DAY7) ) "Effort"
FROM
timecard_lines tcl,
project_objects pobj,
tasks tas,
projects pro,
timecard_headers thr,
employees epl,
object_task_estimate ote,
TIMECARD_PERIODS TP
WHERE
pro.id = :P61_PROJECTS and
tas.id = :P61_TASKS and
TP.ID = THR.TPD_ID AND
tcl.pobj_id = pobj.id AND
tcl.tas_id = tas.id AND
pro.id = pobj.pro_id AND
thr.id = tcl.thr_id AND
thr.emp_id = epl.id AND
ote.tas_id = tas.id AND
pobj.id = tcl.pobj_id
and
ote.pobj_id = pobj.id and
pro.id in
(SELECT pro.id
FROM projects pro, employee_project_pairs
epp, project_employee_roles per ,employees empl
WHERE empl.id = epp.emp_id
AND pro.id = epp.pro_id
AND epp.project_role_id = per.id )
group by pro.project_name,pobj.name,tas.name
order by pobj.name

Standard syntax on the Mac is Object, Action. The order is always Select an object (in this case, part of a spreadsheet), then perform an action on or with tat object (in this case, make a chart).
The same syntax applies to Copy or Cut (and to Paste, althyough it's not as obvious there—the object is whatever is currently on the Clipboard).
I don't think there is information on printing charts/graphs in the online help. A chart is a graphics object, and is printed as part of the document that contains it. Printing the spreadsheet should also print the chart, provided it is on a page that contains data (AppleWorks's default is to print only the rows and columns that contain data). If you want to print the chart without any of the data, drag the chart over the data to conceal it, and choose the Print options that do not show column or row headers and the cell grid. (These are probably in the AppleWorks options in your Print dialogue, but their position will depend on your print driver.)
Placing the object (the chart) in another document provides an easier method of printing only the chart, and the method you used (dragging the chart from the spreadsheet to the second document is a common and acceptable one. Dragging an object from one document to another places a copy of the object on the second document, and leaves the original on the original document. This is true in general, not just for charts.
In the case of a chart, the copy is a static object, while the original maintains its live connection to the underlying spreadsheet—changing a graphed value in the spreadsheet will change the graph to match the new value, but will not affect the copy in the second document.
Regards,
Barry

Similar Messages

  • How do you switch the x and y axis in a line graph?

    I am fairly new with this program and I need to make a line graph for a science lab report. For the lab, we needed to use a certain amount of water, which was 20 ml, 40 ml, 60 ml, then 80 ml, and we needed to measure the mass of different substances if they had the given values of the volume, and compare their mass and volume in a line graph.
    Therefore, the graph that I need to create requires a constant 4 steps, which are always 20 ml, 40 ml, 60 ml, and 80 ml, for all of the four substances I used during the experiment. That needs to be on the y axis. I need to have the mass of the substances on the x axis, but no matter what I have tried I cannot seem to switch the x and y axis...how can I do that?

    Nevermind I figured it out

  • How to display the value of  level axis in a scattered graph

    hi All,
    I have created a scatterd graph and i am able to show the X-axis and Y-axis values as tool tip. my requirement is to display the value of level axis also within the tool tip.
    please help me to configure the value of level axis as tooltip.
    thanks in advance

    Hi,
    Thanks for the reply. i was able to configure the tool tip for X and Y axis, but i was not able to shoe the third or level axis value in the tool tip.
    please help me in configuring the third or level axis value in tool tip.
    thanks in advance.

  • ClickListener in ADF Line graph

    Hello,
    Is it possible to get the x-axis and y-axis values (i.e.coordinates) of the line graph if user clicks in a line area between points (not the point itself)?
    I can get the x-axis and y-axis values if I click on point in a line as follows:
        public void graphClickListener(ClickEvent clickEvent)
            ComponentHandle handle = clickEvent.getComponentHandle();
            if (handle instanceof DataComponentHandle)
                DataComponentHandle dhandle = (DataComponentHandle)handle;
                Object val = dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE);
                Date timeVal = null;
               Attributes[] seriesInfo = dhandle.getSeriesAttributes();
                if (seriesInfo != null && seriesInfo.length > 0)
                    Object seriesName = seriesInfo[0].getValue(Attributes.LABEL_VALUE);
                       Attributes[] groupInfo = dhandle.getGroupAttributes();
                        if (groupInfo != null && groupInfo.length > 0)
                            Object timeObj = groupInfo[0].getValue(Attributes.LABEL_VALUE);
                            if (timeObj != null)
                                timeVal = new Date(((Date)timeObj).getTime());
    //However when I click on a line area between the points (not the point itself) then I can get only the series name information, not the x-axis and y axis value:
            else if (handle instanceof SeriesComponentHandle)
                // Get the series attributes
                Attributes[] seriesInfo = ((SeriesComponentHandle)handle).getSeriesAttributes();
                String data = "";
                if (seriesInfo != null)
                    for (Attributes attrs : seriesInfo)
                        data += "\nSeries value: " + attrs.getValue(Attributes.LABEL_VALUE);
                        data += "\nSeries name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE);
                        data += "\nSeries value id: " + attrs.getValue(Attributes.ID_VALUE);
                        data += "\nSeries name id: " + attrs.getValue(Attributes.ID_ATTRIBUTE);
                System.out.println(data);
    Following is the source of the jsf file:
              <dvt:graph id="lineGraph1" animationOnDisplay="auto"
                         tabularData="#{pageFlowScope.gaphPageStateBean_backing.graphTabularData}"
                         customToolTipCallback="#{pageFlowScopegraphPageStateBean_backing.callback}"
                         graphType="LINE_VERT_ABS"
                         seriesObjectCount="#{pageFlowScope.graphPageStateBean_backing.seriesCount}"
                         timeRangeStart="#{pageFlowScope.graphPageStateBean_backing.graphStartDate}"
                         timeRangeEnd="#{pageFlowScope.graphPageStateBean_backing.graphEndDate}"
                         timeAxisInterval="CTAI_MINUTE" timeRangeMode="TRM_EXPLICIT"
                         partialTriggers="::commandLink1 ::t1:cb7"
                         binding="#{backingBeanScope.graphPageBean_backing.graphBinding}"
                         clickListener="#{backingBeanScope.graphPageBean_backing.graphClickListener}"
                         timeAxisType="TAT_IRREGULAR" textAntialiasing="true"
                         scrollListener="#{backingBeanScope.graphPageBean_backing.scrollListener}"
                         zoomListener="#{backingBeanScope.graphPageBean_backing.zoomListener}"
                         markerTooltipType="MTT_VALUES_TEXT">
                <dvt:background/>
                <dvt:graphPlotArea/>
                <dvt:seriesSet defaultLineWidth="3" defaultMarkerColor="#ffffff"
                               seriesMap="#{pageFlowScope.graphPageStateBean_backing.lineGraphSeriesMap}"
                               markerDisplayed="true"
                               defaultMarkerShape="MS_CIRCLE"/>
                <dvt:o1Axis id="rhrhtr6" scrolling="on"/>
                <dvt:y1Axis id="fwef43" lineWidth="1" axisMaxValue="1.0"
                            axisMinValue="0.0" logarithmicBase="10"/>
                <dvt:legendArea automaticPlacement="AP_NEVER" rendered="false"/>
                <dvt:o1TickLabel id="o1TickLabel1" tickLabelSkipCount="50"
                                 tickLabelSkipMode="TLS_MANUAL"
                                 tickLabelSkipFirst="0"/>
                <dvt:y1MajorTick id="y1MajorTick1"
                                 tickStyle="#{pageFlowScope.gaphPageStateBean_backing.YAxisTickLine}"/>
                <dvt:y1TickLabel rendered="false"/>
                <dvt:shapeAttributesSet id="shapeAttribSet1">
                  <dvt:shapeAttributes component="GRAPH_AREAMARKER" clickable="true"
                                       id="shapeAttrib1"/>
                </dvt:shapeAttributesSet>
                <dvt:timeAxisDateFormat timeFormat="HOUR24_MINUTE"
                                        yearFormat="YEAR_LONG"
                                        monthFormat="MONTH_SHORT"
                                        quarterFormat="NONE"/>
                <dvt:o1Title text="Time:" horizontalAlignment="LEFT">
                  <dvt:graphFont id="graphFont1" underline="true" color="#002173"/>
                </dvt:o1Title>
                <dvt:annotationSet annotationMap="#{pageFlowScope.graphPageStateBean_backing.graphAnnotationMap}"/>
              </dvt:graph>
    Thank you.
    Valon
    Jdeveloper 11.1.1.5.0
    af:graph

    I use af:graph instead of af:lineGraph because the tooltip needs some special customization which af:lineGraph doesn't support.
    Just for the sake of the question, I converted the graph to af:lineGraph and I set clickListener in dvt:shapeAttributes as well. It didn't make any difference.
    When I click in a line area outside of a point the clickListener gets invoked, however it is not useful since I cannot obtain x and y coordinates.
    It goes in the else if section of the code i provided on top of this page. I.e. else if (handle instanceof SeriesComponentHandle) {............}.
    My question remains un-answered yet.
    Thank you,

  • Combine output  from two data sources for a line graph.

    Hello Experts,
    I need your help in following scenario.
    Scenario - We have a line graph created in VC. We have a numeric field in the data seris and a date field in the Category axis.
                      This is working fine.
    Requirement - Customer wants month names instead of dates on the category axis of the line graph.
    Problem - The RFC which is providing the data to line graph doesnot have a output field giving month names instead it has dates.
    Options Tried - Tried using 'Union' and 'Switch' operator with a RFC giving month names. Unfortunately this doesnot work.
                             One close try was with 'union' operator but it ignores the numeric fields.
    Any help would be highly appreciated.
    Thanks & Regards,
    Amit Kade

    Hello Sandeep,
    Thank you for the reply. I did try to do changes in RFC, I am calling a FM which gives me month names in my original RFC.
    But still the outpot of this FM is in a seperate table and anyways I will have to combine these two tables.
    Problem still remains the same.
    I tried using 'Filter' to convert date format but after applying filter my VC application is not deploying.
    Thanks,
    Amit Kade

  • Iam using a table in numbers to plot daily graph lines. If I fill a cell with a text box  at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is tho

    I am using a table in Numbers to plot daily graph lines. Mood swings of how I am on the day, i"m a depressive.
    If I fill a cell with a step box at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is there a work around. so thatbgraph only plots on the day?

    The answer is (sort of) in your subject, but edited out of the problem statement in the body of your message.
    When you use a stepper or a slider, the value in the cell is always numeric, and is always placed on the chart if that cell is included in the range graphed by the chart.
    But if you use a pop-up menu cell, you can specify numeric or text values in the list of choices for in the menu. Numeric values will be shown on the chart. Text values will not.
    For the example, the values list for the pop-up menu was:
    5
    3
    1
    Choose
    -1
    -3
    -5
    The first pop-up was set to display Choose, then the cell was filled down the rest of the column. Any text value (including a single space, if you want the cell to appear blank) may be used instead of Choose.
    For charts with negative Y values, the X axis will not automatically appear at Y=0. If your value set will include negative values, I would suggest setting the Y axis maximum and minimum to the maximum and minimum values on your menu list, rather than letting Numbers decide what range to include on the chart. Place a line shape across the chart at the zero level, and choose to NOT show the X axis.
    Regards,
    Barry

  • Line Graph  X-axis Value

    Hi ,
    I Created line graph in ADF X axis - date , Y axis Amount and Currency Mixed Frequency Line graph
    For ex : X - axis dates are 01-jan-2011 to 10-jan-2011
    y - axis are amount and currency
    when i click particular currency line (on 05-jan-2011) how i will get the x axis value 05-jan-2011
    Thanks
    Shk

    Check the range against which line is plotted, you may have to reduce that range to see accurate values.

  • Needs to plot the values in x-axis linearly in obiee

    Hello all,
    I am trying to plot the values in x-axis linearly .
    Actual it should be starting at -100,-50,0,50,100,150,200,250,300,350,400,450........
    But now in my graph it is showing -100,-50,-25,-10,-1,+1,+25,+50,+100,+150..
    Can you please suggest me, how to achieve the actual values in x-axis.
    and also all the questions related to these situation.
    Thanking all.
    Thanks.

    Hi Luis,
    find attached an example ( maybe not easy to understand); but you can cut it and reuse it for
    your needs. Hope it helps.
    regards
    Werner
    Attachments:
    test_sweep.zip ‏108 KB

  • Hide values to be displayed along Y-axis in line graph

    Hi friends,
    I need to generate a line graph using Oracle reports. But the values along y-axis should not be displayed. Can anyone help me how to hide displaying values along the y-axis
    Thanks,
    venkat

    Venkat,
    I am not sure if it can be hidden. I will update this thread if I find something. But for now, what you can do is, create a Rectangle over the y-axis values. Change the background color of the rectangle same as graphs color, and line color as 'No Line'. It will hide the values.
    Hope this helps.

  • Chart Web Part to not plot zeros on a line graph

    Hi all,
    Is it possible to not plot zeros on a line graph?
    I have a line chart with days of the current month along the x-axis and a value on the y-axis. I have a series representing a forecast as a line that will show what the values along for the whole month should be and a second
    line chart series representing the actual. This tells the reader how the actual is tracking against the forecast. The data is based on an excel table.
    Currently when the latest value is set the line skews back to 0. I don't want this shown, I just want it left blank. On excel you can change the zeros to na() and the line graph will not plot, however, if I leave them as na() in the source data, the whole
    column wont be imported in the chart wizard.
    Any ideas?
    Thanks
    Andy

    It's true -- the RangeBar chart type only has two field options (X and Y) while the RangeColumn correctly has an addtional Y field. The RangeBar chart should obviously have two X fields if it's supposed to plot a range, as the name and example image indicate.
    Neither this thread or the one linked has led to an answer. Can this be fixed?

  • ADF11g: dvt, line graph x-axis (o1 axis) display issue

    Hi,
    In our application we are generating line graphs for a set of data.
    This graph is plotted in between 2 sets of numeric values. (one plotted on x-axis and other on y-axis).
    For better accuracy of plotted graph we are using these numeric values upto 7 decimal places. (for example 8.1234567)
    Now when graph is plotted, then on x-axis (that is o1- axis in case of Line Graph) the tick labels are showing upto 7 decimal places.
    Is there any way so that I could control the display of these tick labels to 1 decimal place instead of 7 decimal places?
    More Info:
    ++The tick labels for x and y axis are generated at runtime by some calculation logic.++
    ++If we set the tick labels for x axis to 1 decimal place instead of 7 decimal places when they are generated , then this will lead to build in accurate graphs.++
    ++So we can't control the decimal format of tick labels when they are generated. We need to control it when they are displayed.++
    Please help...
    Thanks and Regards
    Manav Ratra

    Hi Frank,
    this is not working :( . It holds good for the case where one has to display markers (tick labels) on the lines of line graph and not the tick labels on the axis.
    Moreover here i find out tag as *<dvt:x1Format>*
    where as line graphs does not support x1axis they have o1axis .
    In my case I need to control display of tick labels on the o1axis.
    Regards
    Manav Ratra

  • Problem Plotting a Line Graph

    I am trying to plot some line graphs on Numbers and am a new user.
    I can't seem to work out an issue. I want the numbers on the X axis to ascend from 0 onwards from left to right but at the moment they are descending from 10 to 0 left to right.
    How can I change this so the graph is plotted logically?
    Thanks in advance

    There are two basic types of X-Y charts.  All but one are "category" charts where the X axis is evenly spaced and the "numbers" are actually text. The data will be presented in the order listed in your table.  The other is a scatter chart. The icon for this chart looks like a shotgun blast.
    If your X axis numbers are evenly spaced (0,1,2,3...) you can use either type of chart.  Sort your table in ascending order and it will chart as you want it to.
    If your X axis numbers are not evenly spaced (such as 1,2,4,5,10) and you want the chart to be a true X-Y plot of the data, you have to use the scatter chart.  In contrast to the category charts where the X axis values must be in a header column/row, a scatter chart requires the X and Y data to be in data cells. You may have to move your data over a column so the X data is not in a header column.

  • X-Axis in Line Graph

    I have yet to figure out how to define a data range to use as my x-axis in a line plot. Sure, I could use an XY scatter (that can't have lines) but what if I have 4 Y variables? There is obviously something missing since, if you display the x category labels in the line graph, you get "untitles 1" etc.
    Bug or missing feature?

    From what I have found through trial and error, for a line graph, the column you want to be the titles on the X-axis has to be formatted as "text" when you highlight the data to plot. If it is a numeric value, Numbers will treat that column/row as a second series of data rather than X axis labels. Same goes for bar charts. Unfortunately it assumes the data is uniformly distributed so if you want lines connecting points on data with irregularly spaced x-values this sort of chart doesn't seem to be appropriate.
    I think they really need to add that functionality to the scatter plots as well.

  • Line graph :axis problem.

    hi all,
    i am using dvt:lineGraph with subType="LINE_VERT_ABS"..in tabularData atrribute i am using EL to bind array list to populate the graph
    tabularData="#{pageFlowScope.creditcard_helper.creditCardGraphList}"
    creditCardGraphList is populated like this:
    for first line on graph: creditCardGraphList .add(new Object[] { balance, "*Current*", noOfInstallment });
    And
    for second line on graph: creditCardGraphList .add(new Object[] { balance, "*New*", noOfInstallment });
    now my graph is populated properly with Two Line
    one for type "*New*" and other For type "*Current*"
    problem is
    on Y axis my noOfInstallment is getting plotted and for both line it starts from origin i.e 0.
    but
    on X axis my balance is getting plotted .problem on x axis is
    for type Current say first point starts from origin and ends in half way on x-axis, for second type my balance should start from origin only which is not happening like it is for y-axis.
    i.e for second line on x-axis should start from origin only and should take the same scale as of for first line's x-axis....
    can anybody help..???
    i really stuckked here

    yes current is line1 and on same graph one line having the same x and y commodies.......
    say line1 having the co-ordinated
    (x,y):-----(10,2)(20,40)(30,50)
    line2 having the co-ordinate:
    (x,y):-(12,4)(24,30)(15,45)
    now consider line 2nd's first point (12,4) this point on x axis should be between line 1st's (10,2) and (20,30)....which is actually not happening...(12,4) is after line 1st's (30,50)...
    here on x-axis it is taking the values as group.every value it is taking at new point....
    but on y-axis its taking as values...which it will plot 4 between 1st line's(10,2) and(20,40)...
    morever current and New are the same commodies i am adding them i one arraylist...
    for line1: graphlist.add(new Object[] { balance, "current", noOfInstallment });
    for line2: graphlist.add(new Object[] { balance, "New", noOfInstallment });
    something to do with this i guess...
    <dvt:y1Axis/>
    <dvt:o1Axis></dvt:o1Axis>
    thanks for reply
    Dhiraj
    Edited by: dhiraj shingavi on Nov 30, 2010 1:01 AM
    Edited by: dhiraj shingavi on Nov 30, 2010 1:27 AM
    Edited by: dhiraj shingavi on Nov 30, 2010 1:28 AM

  • Data being plotted in the wrong axis

    I am trying to make a simple line graph with 2 different groups plotted against time. In my table I've got time (first coloumn), group 1 (2nd column) and group 2 (3rd column). When I select the 3 columns and chose to make a line graph I get a graph with 3 groups .... time being one of the groups. And as x axis labels (where it should be my time values) it says 'untitled 1' 'untitled 2' etc for each time step. I'm not sure how to make numbers realize that my first column is supposed to be my x axis?
    Also (less importantly) I need to identify what different areas under the graphs are. Since I've got 2 groups and they criss cross, different sections represent different things, and I'd like to put different colours under different areas of the graph, then just make a legend of what the different colours represent. Is this possible? If not I was just going to put labels in and make a legend of the labels...
    Cheers

    You aren't constrained to using a Header Column for the X-Range, if you Format the column you want to use as the X-range as Text.
    Thanks Jerry
    I forgot that and, as I got no response when I asked about it some days ago I thought that there was no workaround.
    Now I know the solution and will try to remember it
    Yvan KOENIG (from FRANCE lundi 3 novembre 2008 14:42:04)

Maybe you are looking for

  • Passing images to different views

    Hi all, I am currently working on integrating the camera into an app I am developing (first time working with camera and images), and I am trying to pass images to different views. I have worked with passing text with text fields to labels using prep

  • Composite Primary Key question

    I have a new question regarding composite primary keys on another table I have created. I have the following table with the following definition: CREATE TABLE "APSOM"."CPULIST" ( "CPU_ID" VARCHAR2(10 BYTE), "SERVER_ID" VARCHAR2(10 BYTE), "CREATED_DAT

  • Slow, Slow, Quick? no slow.

    I am having broadband speed issues. I will try to cut a long story short but it has now been two weeks and no solution. I have been a very happy customer with an average speed of 12 to 14Mb/s Returned from a 2 week break and found that broadband spee

  • I cannot enter Netflix website from Firefox.

    Firefox 3.6.6 Windows XP I've been getting this error message every day since July 2, 2010 when I try to access the Netflix website: Netflix Site Error It seems unlikely that the site would really be down that long. I am just trying to reach the Netf

  • Mes#  AA416:partial scrapping of  asset with no value in the 0L ledger

    Hi, When I try to perform partial scrapping of an asset having no value in the 0L ledger (depreciation book) and some value TL ledger(tax book) with Tr Type 200, I get the error, "Retirement of old assets data not possible (No existing old assets dat