Creating a Line Chart in Apex

Hi, I'm a new Application Express user, and I've been trying to create a chart region in one of the pages of an application I'm developing, only my queries fail and tell me that my tables that clearly exist do not exist. Btw, the table I'm querying exists in a different schema. Any ideas?

Have you noticed the Oracle Application Express (APEX) forum?
Could be a permission problem, but I'm only guessing.
C.
Message was edited by:
cd

Similar Messages

  • Unable to create a Line chart

    Hi Friends,
    I am trying to create a Line Chart based on CalMonth, where I want to show no. of SalesOrg denoted by different lines separately according to their monthly sales.
    Please help.
    Regards,
    Jatin

    Hi,
    To create chart this is the process..
        1.      Before you begin publishing a chart, you need to specify which chart type ( Line chart in your case ) you want to display. You can determine how the data provider is to be built by using the class of the chart type.
           2.      Select an existing query or design a new query with which you can generate a suitable view of the data, that is, a suitable data provider.
           3.      Start the publishing process and create a new Web item of type Chart.
           4.      We recommend configuring the properties of the chart Web item as follows:
    ○       Expanded hierarchy nodes should be hidden.
    ○       Totals should be suppressed.
    ○        If you want to swap the data providers in the chart, you should assign the Swap Display Axes property to the chart. The columns and rows are then swapped automatically when the chart is generated. You do not need to change the view on which the chart is based.
           5.      When you edit the chart, the Web Application Designer or Web Application Wizard first shows the default setting, that is, a column chart.
    ○       Firstly, format the chart using the wizard so that the most important settings and the number of displayed data series and data points correspond to your data provider (see also Formatting a Chart Using the Wizard). Assign the required chart type to the chart and format the chart as required.
    ○       All chart elements that you can format are displayed in the list of properties on the right of the screen. You can modify the properties as required here.
    Also go through these links.
    line chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Formatting chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Hope it helps..
    Regards,
    Priti

  • Create a line chart

    I wont to create a line chart using a a PL/SQL script. If is possible, i wont put this script inside a report created using Web DB, as an action that it must run after the show of the report html page. Is possible to make that? what i can do?
    Thanks a lot!
    null

    PL/SQL has no graphical capabilities whatsoever. However it is possible to represent values like this
    X A ----
    B --------
    C -----
    012456789
    Y
    in which for each row (the X axis) a substr() of the value '----------' is created using a value from the query (the Y axis).
    Is that clear? Let's try an example. To print graphically the lengths of a column:
    SELECT col1 as "X", substr('----------',1, length(col1)) as "Y"
    FROM your_table;Not very pretty I grant you. But if you want pretty you'll have to use Oracle Graphics (now part of the Developer toolset) or java.
    Good luck, APC
    null

  • Charts (Line chart) in apex 2.0 /3.0 limit of resulting rows in char area

    Hello @apex experts,
    does any body knows if there is a max number of resulting rows by using a line chart. It seems that until 150 resulting rows all is o.k. but when I try to get a line - chart area for a whole year (365 days) no chart is displayed. I spread out the chart area to 2056 x 800 px but no restult is displayed by using the > 300 resulting set.
    Regards and thank you for help

    I changed this and put usage of UTL_FILE into a dynamic PL/SQL. The package will
    compile and work unless you want to create debug information. If yes, then it will raise an
    error message. So, you don't need UTL_FILE execution priviledge from your DBA.
    I opened the package and you may modify it the way that you don't need any public
    synonyms and no UTL_FILE to run it.
    There are so many questions in this forum related to "What is my DBA going to say?" or
    "How is he going to react?". Even for some minor issues. I have myself also seen some
    of similar situations and the only thing I can sey is:
    You got to use that powerfull tool Oracle Database instead of hiding it away from your
    users and developers. Learn how to control it instead of prohibiting access to it! Otherwise,
    it's just a waste of money.
    Denes Kubicek

  • Covered Line Chart in Apex

    Hi,
    In Apex there are several types of charts but I dont find the covered Line chart. Is there any function to create a covered line chart with the lite Version? For example: I have a blue line and I want to have a blue covered area up to this line. I am using Oracle Apex 4.0 and i dont find this kind of chart in the chart types. Am I able to change the custom XML to this type of chart?
    Thanks Thorsten

    Hi Thorsten,
    I believe the chart type you are referring to is an Area Chart, where the region from the chart axis to the line on the chart is coloured in. This chart type is not one of our licensed AnyChart chart types. You are only licensed to generate AnyChart chart types that are exposed via our wizards. For the generation of any other AnyChart chart types, you will need to obtain a separate license from AnyChart.
    Regards,
    Hilary

  • Creating a Line Chart using a user enter target amount.

    Hi all,
    I'm trying to create a chart that will use Total Sales and Annual Target(Goal).
    I get the Total sales to work just fine. It's just getting the Annual Target(Goal), which is a parameter, to come into the chart. Right now they are doing this in Excel and the Target line goes from 0 to 8,000,000.
    So how do i get that to work in my Crystal Report?
    So when the report is working correctly i should have a Line Chart with two Lines. Line 1 "The Target", Line 2 "Total Sales".
    Thanks

    Hi
    Create a formula field and store the parameter there.
    Now put this formula field in "On change of" in the Chart expert.
    e.g. I have a parmeter on country and I have a chart which shows the last year sales year wise for the countries.
    I create a formula field and put the below formula:
    stringvar x = {?countryparameter};
    Now i put this formula field in On change of so when i run the report i select the required country.
    Hope this helps!!
    Regards
    Sourashree

  • Do you know -- any Free Class to create bar & line charts ??

    I want to find a free java class that can help me to create bar charts & line charts, can you tell me??
    thanks!

    google is your friend
    http://java-source.net/open-source/charting-and-reporting

  • Creating a Line Chart

    I would like to create a line/bar chart with the following details :
    y-axis  : total bytes in, total bytes out
    x-axis : hour
    I want to display each hour the number of bytes in/out transferred in a day.
    But my db doesn't have some hours which doesn't have data.
    i need to display another chart , for each 15 minutes(ex.if its 2 hour - 2:00,2:15,2:30,2:45) bytes in / out should be displayed for an hour.
    Any suggestions.
    Regards,
    Parsa.
    Edited by: parsa on Aug 7, 2008 11:35 AM

    Hi Ramesh
    For example you have a item field in your database but you do not have some values for them in the database.
    In this case you can create a formula field and assign the item names to the variable. In case you have more than on item, you can use an array as well (for help on array, simply open Crystal Reports Help -> Index -> Type array.)
    Now you can create a group based on that field and insert a chart.
    Hope it helps!!!
    Regards
    Sourashree

  • How to create dynamic line chart ?

    Dynamically create line on that graph.if select more than one values from multi select box , it will get id and execute query , draw the one more line on that graph.
    For example:
    oracle
    mysql
    sybase
    SQL server
    These are values in multiselect box.
    Now open the page with default value and show one line on the graph.Now i am going select another one values on multi select box.
    dynamically create another line on the same graph.
    How to do this graph ?

    jsf_VWP5.5.1 wrote:
    Any options in jasper reports ?Since when did jasper reports come into the picture?
    In any case, why don't you ask them, then? They should have some sort idea about it, I would think.

  • Line Chart in Apex

    Is it possible to change color of line graph based on a condition? I want to show red if the line passes above 90 percent and then show green when the line drops below 90 percent. Can someone help me on this?

    I'm sorry, my instructions were not very clear about posting code. Lets try that again. First off, I mistakenly instructed you to use a [ character when the correct character is {.  I evidently need to learn how to use the shift key properly.  The best way to post code is by enclosing it in {code } tags. So, when you post, it will look like {code }Your XML here{code } (again, no spaces in the tags). The output will look like:
    Your XML hereMore info about this can be found: http://wikis.sun.com/display/Forums/Forums+FAQ
    Next, onto the real question at hand. It appears that you are getting close. Your page item P50_DATA should define each data point in the chart. It should begin with a <data> tag and have at least one <series> tags, with points defined. Your current PLSQL output is an example of one of the points that would belong in the series. If you turn on DEBUG, a link will appear next to your chart labeled 'Show XML'. click that link to see the entire XML that is rendering your chart. Once you have that, post it here if you need help reading it.
    Getting back to your PLSQL output, in the code you will need to determine which style each point will use. I assume this will be based on the Y value. An example of how to do this: <point name="GREEN" y="1" style="style1"></point>
    <point name="RED" y="97" style="style2"></point> As mentioned earlier, you will need more than just the example code given above in page item P50_DATA. You will need the entire XML string from the beginning <DATA> tag to the </DATA> tag.
    Hope this helps
    Austin

  • How do I create a line chart direct from xml or convert xml to ArrayCollection

    The xml is simple:
    <data>
    <row name="Q1">
    <expenses>64</expenses>
    <revenue>98</revenue>
    <profit>34</profit>
    </row>
    <row name="Q2">
    <expenses>44</expenses>
    <revenue>28</revenue>
    <profit>64</profit>
    </row>
    <row name="Q3">
    <expenses>14</expenses>
    <revenue>58</revenue>
    <profit>54</profit>
    </row>
    </data>
    it's dynamically generated as a string so could be created in xml format, or ArrayCollection, or any other format that works. However I can't find a example of using xml as the datasource that works. I've tried to convert it to an ArrayCollection first but that didn't work either.
    Alternatively I could store the data as a string "Month: "May", Profit: 2400, Expenses: 575, Amount: 456", then:
    expensesAC2.addItem({Month: "May", Profit: 2400, Expenses: 575, Amount: 456 });
    works but:
    var settings:String = resultXML.row[0];
    expensesAC2.addItem({settings});
    doesn't work. Any suggestions, or links to a tutorial that works would be really appreciated?

    Hi all,
    This issue was resolved off-line, however, I wanted to note a few points that were shared with me.
    Learnings from Forum discussion:
    Best practice is to use a combination of INDEX and MATCH functions instead of Vlookups.  Using the VLOOKUP function can result in a very slow dashboard if using a lot of data. 
    Also, when using the Filter Component note the destination field as the filter component does not copy the first filter value at all so you have to adjust by one column to accommodate for this (two columns if you have 3 filters etc).

  • Create Charts With APEX

    Hello, may someone help me with charts on apex?
    I need to create a Radar Chart, this kind of chart isn't avaible on APEX then, I should buid it,
    I have found some models of this chart, but I'm not getting sucefull when I try to use the data from my database.
    I'm using APEX 4.1.
    Thak's everybody.

    LeoVic - Hello,
    Can you make an example on apex.oracle.com to show us what you have so far?
    Here's an example of mine -- but with a line chart. http://apex.oracle.com/pls/apex/f?p=43250:3 Login: Dever PW: Ima9Dever
    And then tell us what you would want to be different.
    Best wishes,
    Howard

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • How to create a smooth line chart in dashboard design?

    hello everyone, i am creating a line chart but found that there is no smooth line option to choose in line chart component... is there anyway this can be done? thanks in advance

    Hi ,
    Check this link
    How to make a Line Chart curved instead of straight from point-to-point?
    Regards
    Rajesh

  • Problem creating line chart with character data

    Post Author: burkartt
    CA Forum: Charts and Graphs
    CR Developer v. 11.5.0.313
    I want to create a line chart with data from a SQL2K table to show how much server time each application uses per day. All data is defined a character.
    HWA,4/24/2007,01:44.6HWA,4/25/2007,12.28HWB,4/24/2007,4.6HWC,4/24/2007,55.55HWC,4/25/2007,01:22.3HWE,4/24/2007,01:16.1HWE,4/25/2007,0.59
    I want one horizontal line per application where the X-axis represents the date and the Y-axis represents the server time. I have tried all column combinations for "On Change Of" and "Show Value(s)". What confuses me is why are Count and Discount the only Summary Options for the "Show Value(s)" data?
    Thank you,
    tim

    Post Author: V361
    CA Forum: Charts and Graphs
    I created a group based on date, day, then created the chart and put it in the group footer, on change of server, show sum of time, you will get a seperate chart for each day.  I am not sure if this will help, or will just do.  Since you have CR XI, you may want to look at the gauge chart also....

Maybe you are looking for

  • How can I retrieve a photo from Time Machine?

    My husband needs pictures he had stored under his profile.  I deleted everything due to space limits on the Macbook Air, but everything was backed up through Time Machine 1st.  Now he needs those pictures and I cannot figure out how to find them and

  • LOV Values Are Not Preserved After Redirect

    Hello, I have a page where I have two LOV's on top of the page and interactive report is generated based on the values from LOV's. The values are passed to IR report correctly. MY problem is when I change values in LOV 2, LOV 1 values are getting res

  • Loading XML data

    I'm working on a project that loads text dynamically via XML. This part works fine. However, I would like to be able to insert graphical elements between some of the items in the text, based on triggers that appear in the text. For example, if we had

  • Slow start up after mountain lion update

    Hi. I think I have mountain lion system (it is version 10.8.4 on my computer). It is slow to srtat up and takes about 5 minutes to get to the log in page. Is there  a way of fixing this improvement?

  • Exporting non spatial data

    Hi, We are migrating our geodatabase from oracle 9i to 11g R2, in our current 9i DB we have same schema for spatial and non spatial data,we want to seperate the spatial and non spatial data during migration to 11gR2 DB.Is there any way through which