Flash Pie Chart
I have just created my first flash pie chart, previously the application was using svg charts.
The pie chart appears on the page but there are no colours in the chart.
Is there another step I need to complete
Gus
Print screen to show? http://www.tinypic.com
Edit: I can't seem to re-create it in the apex 4.0 trial...try just creating a new graph and see if it works.
Mike
Edited by: Dird on Jan 15, 2010 10:13 AM
Similar Messages
-
Refresh Interactive Report based on Flash Pie Chart selection
I have an Interactive Report:
select ename "Employee Name",
mgr "Manager
from emp e, dept d
where e.deptno = d.deptno ;
That i'd like to have filtered by MGR when a Flash Pie Chart is clicked:
select null link,
mgr label,
count(emp_id) value
from emp e, dept d
where e.deptno = d.deptno
group by mgr ;
Can someone indicate how i'd do this?
Thanks in advance!
JohnHi,
This post might help
Re: Navigable pie-chart
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0 -
Percentage in Flash Pie Charts
Hi
I have a pie chart showing calls by company, its currently showing a value on the pie segment (amount of calls). Can I have this showing as a percentage?
Here is my code
select null link, COMPANY label, COUNT(ID) value
from CHART_BY_CUSTOMER
WHERE REGION = NVL(REPLACE(:P8_REGION, '%null'||'%', NULL), REGION)
AND LOB = NVL(REPLACE(:P8_LOB, '%null'||'%', NULL), LOB)
AND TRUNC(TO_DATE(DATECALLED)) BETWEEN TRUNC(TO_DATE(:P8_FROM_DATE))
AND TRUNC(TO_DATE(:P8_TO_DATE))
AND COMPANY NOT LIKE '.Caller%'
group by COMPANY
order by company
Thanks
AdamAdam,
The ratio_to_report analytic function can do exactly that. Try this:
select null link, COMPANY label, 100*ratio_to_report(COUNT(ID)) over () value
from CHART_BY_CUSTOMER
WHERE REGION = NVL(REPLACE(:P8_REGION, '%null'||'%', NULL), REGION)
AND LOB = NVL(REPLACE(:P8_LOB, '%null'||'%', NULL), LOB)
AND TRUNC(TO_DATE(DATECALLED)) BETWEEN TRUNC(TO_DATE(:P8_FROM_DATE))
AND TRUNC(TO_DATE(:P8_TO_DATE))
AND COMPANY NOT LIKE '.Caller%'
group by COMPANY
order by company
You'll also want to change the Postfix for your value labels to '%'.
- Marco -
Hello guys! Sorry to disturb you but I'm experiencing strange problems in my application!
A while ago all my flash charts worked like a charm. Today I discovered, that 3 charts are not displayed anymore.
Have tried various things to check the reason. The underlying query returns data that can be displayed. Nevertheless, only the legend is shown and not the real chart.
I treid to reset the xml but it doesn't yield any improvements.
Do you maybe have a hint for me what could be wrong all the sudden?
Any help is welcome!
Regards,
SebastianPrint screen to show? http://www.tinypic.com
Edit: I can't seem to re-create it in the apex 4.0 trial...try just creating a new graph and see if it works.
Mike
Edited by: Dird on Jan 15, 2010 10:13 AM -
Flash Chart : Percentage values in the pie chart and values in the legend
Hi All,
Query is :
SELECT null link
,GN.region Region
,ROUND(100*ratio_to_report(COUNT(DISTINCT GN.submittedbyemail)) over (),2) value
FROM goodnews_stories GN
GROUP BY GN.region
I use the above query to display the flash pie chart percentage values.
The values are displayed in percentage in legend as well as on the chart.
I need to display the values in the legend and percentage values in the chart.
How this can be achieved ?
Regards,
ArchanaHello,
Can we do this using apex? I have observed in legend as well as on chart it displays the same values which are generated by the sql query.
Regards,
Archana -
I am trying to draw a pie chart for the Uptime Report.
I have the Following table definition.
create table downtime_detail ( env_code number, down_start date, down_end date );
insert into downtime_detail values (1,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('01-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('03-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('15-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('15-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('26-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('28-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
Now the Below Query returns me the values val1 and val2 on the basis of which I need to draw a Pie Chart.
==========================================================
select round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
from
(select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
(select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
VAL1 VAL2
3.64 96.36
==========================================================
Can someone help me try do this ?
Actually I tried but I couldnt put my custom query to get this Pie chart. Or if there is any other better approach please let me know.nikhilskamik,
I believe all that you are missing in your sql is a NULL. Below is the help text for creating a Flash pie chart.
Specify the SQL query that will populate your chart, for example:
select null, ename, sal
from emp
Alternatively you can write a PL/SQL function return a SQL query, for example:
begin
return 'select null, ename, sal from emp';
end;
Your query should then read:
select null,round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
from
(select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
(select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
Jeff -
Pie Chart Label - APEX 4.X
i have made a flash Pie chart and i am trying to make some labeling changes. currently this is my SQL for my chart:
select 'javascript:alert("#VALUE# hours was worked on Project Number #LABEL#");' link,
PROJ_NUM label,
SUM(TIME_WORKED) value1
from "PROJMANAGEMENT"."TIME_TRANS"
group by PROJ_NUM
and it works well but i want the label to show the project number and project name. the issue is that the project name is in a different table. here is an SQL i wrote for a selectlist:
select PROJ_NUM||'--'||PROJ_NAME d, PROJ_NUM return_value
from PROJECTS
order by 1
it would show "0001--Project Name". that is the effect i am looking for. Any Ideas?????when i try that i get the following error:
1 error has occurred
Failed to parse SQL query!
select 'javascript:alert("#VALUE# hours was worked on Project Number #LABEL#");' link, tt.PROJ_NUM||'--'||p.PROJ_NAME label, SUM(tt.TIME_WORKED) value1 from PROJMANAGEMENT.TIME_TRANS tt , PROJMANAGEMENT.PROJECTS p where tt.PROJ_NUM = p.PROJ_NUM group by tt.PROJ_NUM
Certain queries can only be executed when running your application, if your query appears syntactically correct, you can save your query without validation (see options below query source). -
Labels on 3d Pie Chart overrunning
Is it possible to rotate the labels on a 3d pie chart so they don't run into each other? I have a case where there are small values with a label that running into the next label over for an item?
I believe this is corrected in the newer versions of any chart, but I am limited to the apex 3.2 version of anychart, since I am hosted on a 3rd party site..
Thank you,
Tony Miller
Webster, TXI understand that the feature is not available in current version of APEX Flash Pie charts now.... Can only hope when APEX 4.0 comes out we get newer version of anychart..
Question, can you eliminate the labels on a Pie chart and just have the pie chart and a legend with labels and values?
Thanks,
Tony Miller
Webster, TX -
Hi,
I am using below query to create a flash pie chart. It return count of "RED" , "GREEN" and "YELLOW" from the color field
I used the custom color to color first value as "RED", second as "GREEN" , and third as "YELLOW"
select null link,
color ,
count( color ) value
from table;Above is working fine if all RED , GREEN AND YELLOW ARE GREATER THAN ZERO.
Now if there is no RED in the filed, then PI CHART contain only two region one for Green and second for Yellow.
Problem :--
If red is not there the value representing the count is green is show in red color.
How to avoid this
Thanks
ShijeshHi Andy,
I tried the above method but its not working for me..
here is the query which I am using..
DECLARE
vqry varchar(5000);
begin
vqry := 'select link , LABEL , sum(value) from
(select null link, ''Red'' LABEL , user_id , COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
from SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=1 and
SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id
union
select null link, ''Green'' LABEL , user_id ,COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
from SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=2 and
SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id
union
select null link, ''Yellow'' LABEL , user_id , COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
from SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=3 and
SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id )';
if :P50_PROJECT_OWNER <> 0 OR :P50_PROJECT_OWNER <> NULL THEN
vqry := vqry || ' where USER_ID = ' || :P50_PROJECT_OWNER;
END IF;
vqry := vqry || ' group by LABEL ,link';
return vqry;
end;I'm using Function Returning SQL Query. Is this the reason why I'm not able to get the result -
Flash AS3.0, Create bar, pie chart.
hi
how to create flash bar and pie chart in actionscript3.0. any ideas about this, any refference file.
any samples file give me
thnksHi Ned,
I found a AS3 tutorial for Bar Chart.
http://code.tutsplus.com/tutorials/create-a-dynamic-bar-graph-generator-using-xml-as3--act ive-2639
How do I modify the height of the Graph Bar?
How do i create increase or decrease the spacing between the Graph Bar? -
Any one can help Me about Flash 3D Pie Chart
Hi ,
i want to create 3D Pie Chart ,
i want to display a Flash chart regarding Month Wise Employee,Who has joined in Current Month
My Table is
CREATE TABLE "HR_EMP_PERSONAL_INFO"
( "EMPLOYEE_ID" VARCHAR2(50) NOT NULL ENABLE,
"EMP_NAME" VARCHAR2(1000) NOT NULL ENABLE,
"EMP_DOB" DATE NOT NULL ENABLE,
"EMP_DOJ" DATE NOT NULL ENABLE, ---(DATE of Joining)
"COMPANY" VARCHAR2(1000),
CONSTRAINT "HR_EMP_PERSONAL_INFO_PK" PRIMARY KEY ("EMPLOYEE_ID") ENABLE
/i am using Quary
SELECT EMPLOYEE_ID,EMP_NAME,EMP_DOJ
FROM HR_EMP_PERSONAL_INFO
1 error has occurred
Invalid chart query: SELECT EMPLOYEE_ID,EMP_NAME,EMP_DOJ FROM HR_EMP_PERSONAL_INFO
Use the following syntax:
SELECT LINK, LABEL, VALUE
FROM ...it's my first time to create Flash Chart .I don't have any idea about Creating Chart
How to can i create flash Chart .
Thansks
Edited by: 805629 on Jan 17, 2011 12:56 AM
Edited by: 805629 on Jan 17, 2011 1:31 AMHi "805629" (please update your profile with a name, thanks),
The value you have provided for the link is incorrectly formatted. The LINK column of the query should be a String, so your link should be in single quotes, and if you wish to incorporate the EMP_DOT column value into the URL, then you need to concatenate it with the URL. Item references should also have a full stop '.' at the end e.g. <font color="red"><b>&APP_ID.</b></font>. Am I correct in assuming that you wish to use the value of EMP_DOT as the page in your application you wish to branch to? If that's the case, then you'll need to do the following:
Instead of:
SELECT f?P=&APP_ID:32:&SESSION:#emp_dot#:&DEBUG.::: LINK,TO_CHAR (emp_dot, 'Month'), COUNT (*) FROM hr_emp_personal_info GROUP BY TO_CHAR (emp_dot, 'Month')..your statement should look similar to the following:
SELECT 'f?p=&APP_ID.:'||EMP_DOT||':&SESSION.::&DEBUG.:::' LINK,TO_CHAR (emp_dot, 'Month'), COUNT (*) FROM hr_emp_personal_info GROUP BY TO_CHAR (emp_dot, 'Month')Here's some examples of pie chart links, which may prove helpful to you: http://apex.oracle.com/pls/apex/f?p=36648:1.
Regards,
Hilary -
Pie charts in adobe acrobat pro (10.1.13)
I have made some fillable forms in Adobe Acrobat pro (10.1.13), and would like to make 3 pie charts of the inputs made in the form, is that possible, if so how?
Thanks for all infos in advance.
PeterThere's no such built-in functionality in PDF forms. You can try to develop your own component (maybe in Flash), but it's going to be a very complex task.
-
Drill Down in Pie Chart not working in IE8 / Mozilla 5
Hi Experts,
In my dashboards, drill down feature in Pie charts are not working if the flash is viewed in IE8 / Mozilla Firefox 5.
In IE7 it is working. Is there any browser settings required for this ? Pls suggest.
Drill down in column chart is working fine.
Xcelsius Version: Xcelsius 2008 SP3 FP 3.5
Browser Version: Firefox 5.0 / IE 8
Many thanks,
PASGHi,
You may want to download Xcelsius 2008 with SP4.
SP4 will support the newer IE 8 (32 bits) for Xcelsius related issue.
As for FireFox 5 that came out last week, this won't be supported anytime soon.
Regards,
Ken
Edited by: Ken Low on Jun 27, 2011 8:50 AM -
Pie Chart select event fires all items instead of selected
Hi,
I would like to fire an event from the select on a particular element in a pie chart.
The Flash Debugger shows that the select is sending all items to the data service. I only want to send the selected item to the data service
I am using SP8.
Any suggestions.
Thanks.
Dick
--- Debug Logger ---
21: [AAD4] schedulePlan(SELECT)
20: [AAD4] schedulePlan(FORM5_SELECT)
19: [AAD4] raiseEvent(FORM5, SELECT)
18: [AAD4] Number of rows in Response is: undefined
17: [AAD4] Threshold number of rows is:
16: [AAD4] receiveADC4()
15: [AAD4] schedulePlan(SELECT)
14: [AAD4] executeNext(shift plansQueue - length:0)
13: [AAD4] executeNext([STEP10])
12: [AAD4] Sent request: <Request type="executeFunction" function="getBorrowerByName_R" system="BorrowerFinal2" systemType="WebServicesFactory" manageConnection="N" encode="Y" commit="N" convert="N" dsmid="Administrator:com.myComp.myProduct.4.Digital_dashboard.par:1166609751870"><Input name="INPUT" shape="OBJ" appName="INPUT" ><Meta><field name="arg0" appName="arg0" type="string"/></Meta><Row arg0="Hirsch"/><Row arg0="Boston"/><Row arg0="New York"/><Row arg0="Macy's"/><Row arg0="Sears"/><Row arg0="Hedges"/></Input><Output name="Response" appName="OUTPUT___sp___Response" shape="OBJ" capacity="0"></Output><Output name="RETURN" shape="ROW" capacity="1"/></Request>
11: [AAD4] checkStep([STEP10])
10: [AAD4] [PLAN17] Invoke ADC4
9: [AAD4] executeNext([STEP3])
8: [AAD4] checkStep([STEP3])
7: [AAD4] [PLAN17] Map CHART2 -> ADC4.INPUT
6: [AAD4] executeNext([STEP11])
5: [AAD4] [PLAN17] Reset ADC4
4: [AAD4] executeNext([STEPundefined])
3: [AAD4] schedulePlan(CHART2_SELECT)
2: [AAD4] Engine fire infoset change event, notify to: GRID6
1: [AAD4] raiseEvent(CHART2, SELECT)Hi Marcel,
I am surprised that you got this to work. How did you configure your pie chart?
>You have to assign an event to the data mapping between the chart and the data provider (write select for the event name).
I did this (look at the Flash debuggerinfo in the initial post) but this didn't help. Can you post the Flash debugger info from your pie chart?
Thanks.
Dick -
Pie Chart - Have no link and stop cursor from changing.
Hi,
I have a simple pie chart (flash) with the query:
select
NULL link,
rag.meaning,
count(wp_id)
from ......
For this particular chart I do no want a link from the pie chart to another page so I have defined the link as NULL. This works OK and clicking the chart does nothing (as expected).
Unfortunately the cursor still changes from the normal arrow to a pointing finger (as it does for any other hyperlink) which may confuse the user into thinking they should be able to click here and drill down.
How can I stop the link from existing entirely?
Many thanks,
MartinBump
Maybe you are looking for
-
Why can't I delete pictures off of camera roll? I also can't send Pictures to someone else's phone. My picture seems to freeze up and I can't do anything, particularly delete the picture. I'm new to iPhone so I'm really just learning how this iphone
-
Field Control settings in SRM 7.0
Hi Experts , We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario . We want to make 1. Some fields mandatory for example Refernce Document in Confirmation document..etc --->> I done setting in the sRM Config at SPRO......-> Configure
-
Adding new table dynamic selection screen of transaction FBL5N (LDB DDF).
Hi, I have a requirement to add SEGMENT (CEPC-SEGMENT) field on the dynamic selection screen of transaction FBL5N (LDB DDF). Please let me know how can I meet this requirement Thanks
-
Column headings in Hierachical-Sequential ALV
Hi Friends, I'm trying to display a Hierarchical-Sequential by: 1. Using the class 'cl_salv_hierseq_table' and method 'factory' to create the binding. 2. Using the method 'display' to display the report. The issue I'm facing is that the column headin
-
How does one transfer all images from a PC to a Mac AND ensure that the meta data and tags are included? At present I have my entire catalog backed up on an external hard drive ready to go.