APEX 2.1: Howto create Complex Charts?

Hello
i am using APEX 2.1 (10gXE). I want to create some more complex graphical Charts.
I checked the OTN but there are only Charts referencing to one Table. I need to include Information which are stored in different table. I have some Informations which need to be analysed monthly for example.
Is there any Tutorial in the I-Net?
Thanks
Peter

Peter,
There is no difference (except performance) if you create a chart series based on one
table and the one you create based on a view (subquery fetching data from multiple
tables). A chart requires three values:
1. a link value (or NULL),
2. a label and
3. a value
no matter how simple (or complex) the underlaying dataset is.
Denes Kubicek

Similar Messages

  • How to create a chart based on an existing report by passing variables?

    Hi,
    I have created a report (REP01). I've put a link on a column (table_name), on clicking it takes to another interactive report (REP02) that use table_name as filter.
    Now, I want to create a flash chart (Chart02) on this page of second report which refresh automatically based on the selection. I am running APEX 4.0.2 so flash chart is not an issue.
    My question is, how can I pass the parameters (table-name etc.) to the chart(chart02) so that it will refresh according to the criteria of the first report (REP01).
    Help is appreciated.
    Thanks
    Tarun
    Edited by: tarunsh on Jun 21, 2011 5:56 AM

    In the first one I used the link functionality and pass parameter as IR_...
    But I can't see how to set them up for chart or pass them to chart.
    If you explain it how, it'd be helpful.

  • How to create the chart using java

    Hi Friends,
    I have one urgent requirement.I need to create the chart by using the table value.The value is stored in database like as follow..
    Attribute     IG
    Home     0.05
    Married     0.72
    Gender     0.05
    Employed     0.05
    Rate      0.05
    I need to get the highest value and create the parent node and lowest value is child node llike that i need create ...
    plz any body help me....

    You don't do that using Java.
    Consult the documentation of the application server in question how to configure it. If you're using for example Tomcat 6.0, then you should be consulting this document: [http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html].

  • Need help in creating a chart from 3 datasets

    Need help in creating a chart in SSRS from 3 datasets
    Can someone help me in creating a chart from 3 datasets, however datasource is same.

    Thank you Olaf...
    could anyone help me in using union all with the below
     WITH a AS (
    SELECT
    clientid,
    DATEPART(year, row_date) AS 'Year',
    DATEPART(month, row_date) AS 'Month',
        value ,
        CASE metricid WHEN 16 THEN 'FCR' ELSE 'Cases' END AS metric
    FROM XXXXXX AS V
    WHERE metricid IN (16, 11)
    AND row_date BETWEEN '2012-01-01' AND '2014-10-01'
    AND value IS NOT NULL)
    , b AS (
    SELECT     clientid ,
        Year ,
        Month ,
        value AS 'Cases',
        metric 
    FROM a
    WHERE metric = 'cases')
    , c AS (
    SELECT     clientid ,
        Year ,
        Month ,
        value AS 'FCR',
        metric  
    FROM a
    WHERE metric = 'FCR')
    , d AS (
    SELECT b.YEAR, b.MONTH, c.FCR, b.Cases 
    FROM b INNER JOIN c 
    ON c.clientid = b.clientid
    AND c.[YEAR] = b.[year] 
    AND c.[month] = b.[month]
    WHERE c.fcr <> 0 AND b.cases <> 0
    ,E AS (
    SELECT [Year], [Month], SUM(FCR) AS FCR, SUM(Cases) AS Cases
    FROM d
    GROUP BY [Year], [Month])
    select YEAR, MONTH, 
    CASE MONTH 
    WHEN 1 THEN 'Jan'
    WHEN 2 THEN 'Feb'
    WHEN 3 THEN 'Mar'
    WHEN 4 THEN 'Apr'
    WHEN 5 THEN 'May'
    WHEN 6 THEN 'Jun'
    WHEN 7 THEN 'Jul'
    WHEN 8 THEN 'Aug'
    WHEN 9 THEN 'Sep'
    WHEN 10 THEN 'Oct'
    WHEN 11 THEN 'Nov'
    WHEN 12 THEN 'Dec'
    END AS MonthName
    ,e.FCR AS FCRCases
    ,e.Cases AS TotalCases
    ,CASE 
    WHEN [month] IN (11, 12, 1) THEN 1
    WHEN [month] IN (2, 3, 4) THEN 2
    WHEN [month] IN (5, 6, 7) THEN 3
    WHEN [month] IN (8, 9, 10) THEN 4
    END AS 'Quarter'
    --,CONVERT(DECIMAL(18, 2),(e.FCR/e.Cases)*100) AS FCRRaw
    from e
    order by YEAR, MONTH
    **************2nd query*************
    WITH a AS (
    SELECT
    clientid,
    DATEPART(year, row_date) AS 'Year',
    DATEPART(month, row_date) AS 'Month',
        value, 
        CASE metricid WHEN 56 THEN 'numerator' ELSE 'denominator' END AS metric
    FROM XXXXXXX.[Values] AS V
    WHERE metricid IN (56, 10)
    --WHERE metricid IN (11,16)
    AND row_date BETWEEN '2013-10-01' AND '2014-02-01'
    AND value IS NOT NULL)
    , b AS (
    SELECT     clientid ,
        Year ,
        Month ,
        value AS 'numerator',
        metric
    FROM a
    WHERE metric = 'numerator')
    , c AS (
    SELECT     clientid ,
        Year ,
        Month ,
        value AS 'denominator',
        metric
    FROM a
    WHERE metric = 'denominator')
    , d AS (
    SELECT b.YEAR, b.MONTH, c.denominator, b.numerator 
    FROM b INNER JOIN c 
    ON c.clientid = b.clientid
    AND c.[YEAR] = b.[year] 
    AND c.[month] = b.[month]
    WHERE c.denominator <> 0 AND b.numerator <> 0
    , e AS (
    SELECT [Year], [Month], SUM(numerator) AS numerator, SUM(denominator) AS denominator
    FROM d
    GROUP BY [Year], [Month]
    SELECT *, 
    CASE 
    WHEN [month] IN (11, 12, 1) THEN 1
    WHEN [month] IN (2, 3, 4) THEN 2
    WHEN [month] IN (5, 6, 7) THEN 3
    WHEN [month] IN (8, 9, 10) THEN 4
    END AS 'Quarter'
    FROM e
    ORDER BY 1,2
    ******************3rd query**************
    WITH a AS (
    SELECT --L.[LocationGroupId],
    -- T.locationid,
    -- T.AccountId,
    TR.datestamp,
    /*Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01'*/ 
    TR.Period AS ValueDate,
    CASE WHEN TR.TargetResultState = 0 THEN 0 WHEN TR.TargetResultState = 1 THEN 1 WHEN TR.TargetResultState = 2 THEN 1 ELSE 0 END AS Met,
    CASE WHEN CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') > T.Startdate AND CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp))
    + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') < T.Enddate THEN 1 ELSE 0 END AS ActiveTarget
    FROM XXXXXX AS TR
    INNER JOIN dbo.Target T ON TR.TargetID = T.ID
    --INNER JOIN dbo.Location L ON T.Locationid = L.Id
    WHERE --locationid <> - 1 AND 
    TR.Period IN ('201306', '201307', '201308', '201309', '201310', '201311', '201312', '201401'))
    select ValueDate, SUM(Met) AS Met, Count(ActiveTarget) AS ActiveTargets,
    right(ValueDate,2) as Month
    ,left(ValueDate,4) as Year
    ,CASE 
    WHEN right(ValueDate,2) IN (11, 12, 1) THEN 1
    WHEN right(ValueDate,2) IN (2, 3, 4) THEN 2
    WHEN right(ValueDate,2) IN (5, 6, 7) THEN 3
    WHEN right(ValueDate,2) IN (8, 9, 10) THEN 4
    END AS 'Quarter'
    from a
    group by ValueDate
    order by ValueDate

  • How to create a chart with dates?

    I've created a table with projects I have to deliver and the date they were delivered. I would like to create a chart from this data - however I can't figure out how to use date in the chart.
    Ideally the chart would work with the date (lets say from jan 01 to april 5) on the x-axis and the project on the y-axis. And a line that goes from time A (which marks the initial part of the project) to the time B (which marks the delivery date) defined on the table.
    Is it possible?
    heres a pic of what i mean:
    /Users/judavies/Desktop/Screen shot 2011-01-14 at 11.36.12 AM.png
    Message was edited by: jujudavies

    Hi Jerry,
    I'm ALMOST there! If you could help me with one last thing it would be amazing. I've uploaded my number project and you can downloaded it on the link bellow, if you prefer.
    I managed to do the same idea chart as you have. However I would like to have two bars for every JOB (y-axis). On my table i've inputed for every job 4 values = START DATE that was scheduled / Duration period scheduled (this happens prior to the job itself // START DATE Delivered / Duration Period Delivered (this is the actual time the JOB took place). This way I can see at the end of a JOB if I worked during the period I planned.
    using your example on the chart above (your reply) Could Proposal have a bar 1.0 / 4.0 - and bellow this bar have another one (with different colours) that went from 2.0 / 5.0 - for example? - the first one representing the "scheduled dates"and the second one representing what actually happened.
    I managed to do the four bars but couldnt manage to have them bellow each other.
    Tks again for your help
    files.me.com/jujudavies/wgugl1.numbers.zip
    x'jul.

  • How to create this chart in Numbers?

    The sample chart such as following web site:
    http://gallery.mac.com/chouwenpo#100008/-E5-9C-96-E7-89-87-203&bgcolor=black
    I want to create this chart by "line+symbol chart".
    The x-axis need to be an "interval".
    Please, help me if you know how to do this.
    Thank you a lot.
    wenpo

    I do appreciate your kindness reply.
    Please let me repost my question and express my concern again
    I look forward from you guys.^^ I do need your help!
    Thanks again.
    <<Question repost>>
    for example:
    Assume we have 10 (x, y) pairs as below:
    (10,10), (12,23), (47,9), (63,24), (88,100), (150,41) ,(155,166), (188,2), (198,58) and (500,200). Each (x,y) pair is a single point in the graph.
    If we use Scatter chart to handle these data, the output graph is fine but not suitable for me to use.
    I wish there will be a trend line between two of each independent points of Scatter graph, and obtain a graph just like the output graph as used in Line chart (line+symbol).
    That is, in Line chart, the values of x-axis(with equal-width intervals) are categorical; however, my data is ordinal value or continuous value (like Time, Concentration...etc.). I wish this software has the ability to show the interaction between each points.
    Message was edited by: wenpo

  • Error while creating  group chart of accounts

    hi
    i am learning sapfico now.while i was practicising to create group chart of accounts ,i got an error"group chart of accounts not created to a/c no 111111.".first i created chart of accounts  code for group chart of accounts.then i have created chart of accounts  per company code.like wise i have created 2 account groups and 2 retained earning a/cs(1 for per company code & 1 per group chart of account purpose)
    while i was creating GL master records in FS00 i got the error like that.any any body please help me.

    Hi,
    Have you entered "111111" in the filed group account number?  If so, this account should be available / created in your group chart of account.
    Hope it helps
    Saravanan.A

  • Error in Creating a Chart Web Part Connected to a List-Column named "" already belongs to this DataTable

    Hi,
    I am trying to create a Chart Web Part that is connected to a list. 
    I inserted a Chart Web Part on the page.
    In Step 1, I chose, Connect to a List.
    In Step 2, I chose the List, "QPAPForm"
    After I connect to the list (QPAPForm), and I get to step 3 to Retrieve and Filter Data, I have the following error message:  "Please correct the following: A column named "Update Policy Tasks" already belongs to this Data Table.
    "Update Policy Tasks" is a Workflow used on this list (QPAPForm), but it is not a column value per se.
    How do I correct this issue?
    Thanks,
    Jan

    Hi,
    I have done a test, and I can’t reproduce your issue.
    I created a custom list and an approval workflow which generated an column in the custom list. Then created a Chart Web Part which was connected to the custom list, I didn’t meet any error.
    Let’s verify the following:
    What template is your List template? what columns does the list has?
    What kind of workflow has generated the “Update Policy Tasks” column?
    I suggest you re-create the list without workflow and do a test, compare the results.
    Best Regards
    Lisa Chen

  • How do I create a chart in Keynote that auto-updates from data in Numbers?

    Hello all!  So, there are lots of answer to this for iWork'09, but I haven't found them for the current version of Work.
    What I'd like to do is take data from Numbers and create a chart in Keynote that would then auto-update if I edited the data in Numbers.  Put another way, the Keynote chart data would 'live' in Numbers - every time I edit the Numbers data, I'd like those changes to reflect in Keynote.  Any thoughts on how to do this outside of always cutting and pasting from Numbers to Keynote?
    Thanks!!

    Thanks Gary.  I thought I was crazy.  I remember that it used to be available - bummer that it's not now.

  • Trouble creating pie-chart

    Post Author: ujain82
    CA Forum: WebIntelligence Reporting
    Hello,      I am having trouble creating pie chart. I am calculating different count values from different data providers. Now I need to create a pie chart showing the proportion for each count as I can find the percentage of count.
    My scenario(task):I need count on persons depending on searching on complaint text. So for each search I have a data providers. Like this I am searching for 8 criteria. So I have different data providers for each search. I get person counts from each criteria.
    Now I want to show it in a pie chart. But I could not make it done.Does anyone faced a similar problem? How do I solve my problem?
    Any comments?

    Post Author: Chris Chen
    CA Forum: WebIntelligence Reporting
    Hi ujain82,
    Because you have some data provider,so some metric may have no conjunction,i suggest that you creat variables to reuse them.

  • How to create business charts in Forms 10g?

    In the old days, before and in 8i, we can still create business charts using Graphics Builder with the following graph types. How can we build business charts in forms 10g?
    Column: Shows discrete values using vertical columns
    Bar: Shows discrete values using horizontal bars
    Gantt: Shows task or project scheduling information using horizontal bars
    High-Low: Shows multiple Y-axis values for each X-axis point
    Line: Shows data values as points connected by lines to show trends
    Mixed: Combines a column and line chart
    Pie: Shows how individual data values contribute to an overall total
    Scatter: Plots 2 sets of potentially related data to identify possible trends
    Table: Shows text data in a table
    Double-Y: Shows a column or line chart with multiple values for the same X-axis value

    On the samples page on OTN there is a piece on how to use BI beans to achieve business charts. Search for "BI bean Graphs in Forms".

  • Creating SVG Chart with multiple lines

    Hi All,
    I want to create a chart with multiple lines.
    Ex: I have one emp table with empno, sal and deptno columns.
    I want to print deptno in x axis and no of employees on y axis.
    I want to print one line for employees with sal > 15000 and one more line for employee with sal =< 15000
    So one line will show no of employees with sal more than 15000 for each dept. Similar case for the other line and these 2 lines should be in different colors.
    For one line the query will go as
    select link, deptno, count(empno)
    from emp where sal > 15000 group by null, deptno
    Is this possible to draw this chart?
    Thanks,
    Manoj

    I wasn't able to do something like what you describe, but I was able to do this:
    I defined column A of the table as a Header Row, selected the cells in the table, and chose this chart type (2D 2 Axis):
    Then I clicked the chart and in the pane at the right checked 'Axis Name' in the Axis tab and added the axis names.
    Maybe this can give you an idea of how you can illustrate the relationships that you want to show.
    SG

  • Need to create a chart in summary page and link it to data

    I need to create a chart in a XL worksheet that contains other summary information. I am able to create a chart in a seperate sheet but i simply cannot find a way to insert a chart into a worksheet already containing some information. To make it clear, my requirement is as follows:
    Inser a chart in cell 'X,Y' with a dimention of 'W,H' and link the chart data to some data in some other page 'sheet1'.

    And that answr is?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can you put line break in text in the data box when creating a chart.  i.e. if you have a bar chart

    Can you put line break in text in the data box when creating a chart.
    i.e. if you have a bar chart with text underneath each bar, can you break it when you’re entering it instead of manually afterwards
    Thanks

    http://help.adobe.com/en_US/illustrator/cs/using/WS3f28b00cc50711d9fc86fa8133b3ce158e-8000 .html
    See "Enter labels"

  • Create pie chart in jsp

    how to create pie chart in jsp based on sql server 2000 database
    please give example or code with explanation

    http://sourceforge.net/projects/jfreechart
    - Saish

Maybe you are looking for