Zero or Empty cells in Pie-Charts (HELP!)
I need to make a pie-chart that shows the names of the labels - unfortunatly there are some cells that have no values (?)
But whenever i want the labels to showup in the pie-chart, all 'empty' or '0' cells clutter up the pie-chart, filling it up with zero's and several layerd labels on top of each.
i know, i can hand-select those rows that do have non-zero values - but that is 'hand-work' and that is not what we are up to at all.
i tried to trick with filtering out the rows, but it does not affect the chart
i tried to delete the contents of the cells, but still, because it has a label in the left column, it shows up
i tried to fool Numbers by producing an ERROR() in the calculation
but nothing seems to get rid of the 0% in the pie-chart
please help, i'm running out of time
Hello
What I describes here
http://discussions.apple.com/thread.jspa?threadID=1202856&tstart=0
for a line chart apply to 3D pie charts too.
Yvan KOENIG (from FRANCE lundi 29 octobre 2007 14:39:33)
Similar Messages
-
Hi,
I have a pie chart Its with AS2.0 i want to make it with AS3.0 can any one help me to start with it.Hi,
Thanks for the Reply.
I am trying to learn How to make 3d Pie chart. I found this on the Net. I started Learning AS with 3.0 not with 2.0 so that I am trying to create with AS 3.0 from the scratch. I am not much familiar with AS2.0. So i need help to create that. That Pie Chart is with AS2.0. and how do i upload files on the forum.
Thanks
Pinal -
Only One Label is Formatting as Percent in a Pie Chart - Help
I'm having trouble with a pie chart. I have only two values in the chart and have added labels. When I preview the report both labels display correctly. However, when I right-click the labels in design view and select the #PERCENT option
from the Series Label Properties and the preview the chart, only one label is actually formatted as a percent.
I don't get it?
I've followed the steps in other forum questions to get around this but nothing works. I am in a hurry and really need this to work properly, can someone spell this out for me?
This is what I see in preview currently:Hi Avenue,
Glad to head that your issue has been solved. Thank you for sharing.
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support -
Post Author: ujain82
CA Forum: Desktop Intelligence Reporting
Hello, I am using BO 6.1
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?Attached is part of the sub-vi where I am having the problem. I tell Excel which cells to use for the pie chart. If I use "Source 1" (8 cells) the pie chart is created successfully. If I use "Source 2" (14 cells) the pie chart only uses the first cell. I can go to the Excel file and select all 14 cells manually and the pie chart displays correctly. I also tried 9 cells with no luck, it seems that 8 cells are the limit. I am trying to find what is causing the limitation. I have also attached the sub-vi.
Attachments:
Pie chart block diagram.JPG 61 KB
M-51539-001 Create Pie Chart.vi 108 KB -
I have a problem with creating a pie chart using ActiveX that seems to be related to the range. When I give it a source of 8 cells (source 1) the pie chart works fine (Right Pie). If I give it 9 cells (source 2) the pie chart data has 9 series instead of the 1 it should have (Wrong Pie). If I go into Excel I can correct it manually. I have been using this sub VI for a while with no problems but always with fewer than 8 cells.
I am using Excel 2007 version 12.
Attachments:
M-51539-001 Create Pie Chart.vi 108 KB
Right Pie.JPG 124 KB
Wrong Pie.JPG 114 KBAttached is part of the sub-vi where I am having the problem. I tell Excel which cells to use for the pie chart. If I use "Source 1" (8 cells) the pie chart is created successfully. If I use "Source 2" (14 cells) the pie chart only uses the first cell. I can go to the Excel file and select all 14 cells manually and the pie chart displays correctly. I also tried 9 cells with no luck, it seems that 8 cells are the limit. I am trying to find what is causing the limitation. I have also attached the sub-vi.
Attachments:
Pie chart block diagram.JPG 61 KB
M-51539-001 Create Pie Chart.vi 108 KB -
Pie chart legend showing digit "1" when we set "ignore blank cells"property
All,
We have pie chart in Xcelsius 2008 that shows the data with legend value and we have also set the ignore blank cells property to ignore the blank value from column. but once we set this property, it displays the digit "1" in the legend when there is no data.
we are expecting that nothing should be displayed in pie chart legend when there is no data for the pie chart.
Thanks,
Sourabhhi Sourabh,
I could replicate your scenario.
Workaround is to create a duplicate of this chart. Go to properties of this new chart.
Go to Appearance ->
Uncheck
- Legend
- Mouse-over values
- Data Labels
for this chart.
Write a logic in excel using 'IF' to verify if your data is empty.
Use 'Dynamic Visibility' feature to display this chart only when your data is empty.
Display your original chart if your data is not empty.
Regards,
Vamsee -
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 -
Hai ,
Can Any body help me in creating a Pie Chart in Web dynpro ABAP ,
My requirement is I have an data in an internal table with company code and Amount , which need to be displayed in Pie chart , it could be helped if u send me the code .
Regards,
K. Vinay KumarHi Vinay,
Following are the steps to be followed.
1. Add the Business Graphics(BG) UI Element in the view.
2. Change the chart type to pie
3. Rite click on the BG UI and add catergory and series(simpleseries).
4. Bind the category with the company code and series with the values.
5. If u like the customize the BG, rite click and 'Edit customization' which will create a MIME Xml file.
Ranganathan. -
I need help making a pie chart
Hello, hoping for some help with making a chart that will update as i continually input data
I have a chart that has many columns logging details of win/loss records. I would like to make a pie chart that represents a set of columns and shows the ratio of wins for each of the columns.
I will try and give some better details. There are 5 columns (j,k,l,m,n) and each represents a color. In each column there are check-boxes. 1 or more will be checked on each row. On the same row there is a tally of wins. each row represents a different day. What I am looking for is a pie chart that shows how many wins i have in each color.
for example.
nov 1st: 5 wins in color J
nov 2nd: 2 wins in color k
nov 3rd: 4 wins in colors m and n
the pie chart will contain a total of 15 'wins' split up on the chart between each color....... 5(j) + 2(k) + 4(m) + 4(n). theoretically the J should take up 1/3rd of the pie and so on.
I also have a total at the bottom of the colors column, but this will not show which color got the wins.
Hopefully this makes some sense to understand and if I am very fortunate someone much smarter then me will be generous enough to help me out.
Thank you very much, all help is appreciated.Hi Anthony,
This table may be what you want. I added a row at the top (you don't need that row. It is just may way of getting around the poor screen shots in this forum).
I hid some columns, then I copied the table and pasted directly into this reply (I have had it with screen shots ).
A
F
J
K
L
M
N
Date
Wins
Colour J
Colour K
Colour L
Colour M
Colour N
Nov 1
1
TRUE
Nov 2
1
TRUE
Nov 3
2
TRUE
TRUE
Checkboxes show as TRUE (not a tick) in this pasted table. But a tick = TRUE .
Formula in F3 (Wins, Nov 1)
=COUNTIF(J3:N3,"=TRUE")
I hope this helps with your pie chart.
Regards,
Ian. -
Pie - Chart Web Part - Label Alignment empty
Hello all,
I create lots of Dashboards to display KPIs for my company and I always struggle with the pie chart labels as the always end up overlapping unless I rotate them but that just looks naff.
My frustration and question is that the "Label Alignment" option is empty and therefore does not allow me to select "Open" which is the feature I seek.
Does anyone have an idea why this might be and if there is a work around?
Thank you in advance
JessicaYou would potentially run into this with lookup fields as well, I believe. I would make a column that is single line of text for the purpose of the chart. That would make sure the NUM;# is removed.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
I am new to Java and am having problems and I am in need of some help. I have written the code for my Mortgage Calculator but do not know how to get my chart to work. I found an example of the chart code in my text book but I am not sure if I wrote it wrong. When I run the MortCalc code it compiles but the Pie Chart code won't. I tried to run the chart code by itself but it prints out another calculator. My question is 1.) Is my chart code written wrong? and 2.) How do i enter it into my MortCalc code so that I get my chart?
**Below I have included the assignment(so you know what I am doing exactly) and below that the pie chart code just in case you have questions. Thanks for any advice you can give.
**If you need the rest of the code I can post it too. It was too long to post with the pie chart code.
Assignment:
Write the program in Java(w/ a GUI) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage adn the user's selection from a menu of availible mortgage loans:
--7 yrs @ 5.35%
--15 yrs @ 5.5%
--30 yrs @ 5.75%
Use an array for the mortgage data for the different loans. Read the interst rates to fill the array from a sequential file. Display the mortgage payment amount followed by the loan balance and interest paid for each payment over the term of the loan. Add graphics in the form of a chart.Allow the user to loop back and enter a new amount and make a new selection of quit. Please insert comments in the program to document the program.
CODE:
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;
//Class to hold a value for a slice
public class PieValue {
double value;
Color color;
public PieValue(double value, Color color) {
this.value = value;
this.color = color;
// slices is an array of values that represent the size of each slice.
public void drawPie(Graphics2D g, Rectangle area, PieValue[] slices) {
// Get total value of all slices
double total = 0.0D;
for (int i=0; i<slices.length; i++) {
total += slices.value;
// Draw each pie slice
double curValue = 0.0D;
int startAngle = 0;
for (int i=0; i<slices.length; i++) {
// Compute the start and stop angles
startAngle = (int)(curValue * 360 / total);
int arcAngle = (int)(slices[i].value * 360 / total);
// Ensure that rounding errors do not leave a gap between the first and last slice
if (i == slices.length-1) {
arcAngle = 360 - startAngle;
// Set the color and draw a filled arc
g.setColor(slices[i].color);
g.fillArc(area.x, area.y, area.width, area.height, startAngle, arcAngle);
curValue += slices[i].value;// Draw each pie slice
double curValue = 0.0D;
int startAngle = 0;
for (int i=0; i<slices.length; i+) {
// Compute the start and stop angles
startAngle = (int)(curValue 360 / total);
int arcAngle = (int)(slices.value * 360 / total);Look here and i think you will find some syntax errors.
Count the brackets. -
I tried to create 3D Pie Chart using the code below but it come back with no chart data available. I tested the select statement in sqlplus, it works. Is there something wrong with my select statement??
SELECT NULL LINK, 'Saturday' LABEL, DECODE(SUM(hours1),NULL,0,SUM(hours1)) VALUE
FROM Ewbs e,
Timesheet t
WHERE t.Company = 'A1000'
AND t.Entity_item = '504586'
AND t.Timesheet_date > NVL(TO_DATE('07-NOV-2008','DD-MON-YYYY'),TO_DATE('01-JAN-1900','DD-MON-YYYY'))
AND t.Timesheet_date <= TO_DATE(SYSDATE,'DD-MON-YYYY')
AND e.Ewbs_code = t.Ewbs_code
AND e.Hour_class = '13'
AND TO_CHAR(t.Timesheet_date,'YYYY') = TO_CHAR(SYSDATE,'YYYY')
UNION
SELECT NULL LINK, 'Sunday' LABEL, DECODE(SUM(hours2),NULL,0,SUM(hours2)) VALUE
FROM Ewbs e,
Timesheet t
WHERE t.Company = 'A1000'
AND t.Entity_item = '504586'
AND t.Timesheet_date > NVL(TO_DATE('07-NOV-2008','DD-MON-YYYY'),TO_DATE('01-JAN-1900','DD-MON-YYYY'))
AND t.Timesheet_date <= TO_DATE(SYSDATE,'DD-MON-YYYY')
AND e.Ewbs_code = t.Ewbs_code
AND e.Hour_class = '13'
AND TO_CHAR(t.Timesheet_date,'YYYY') = TO_CHAR(SYSDATE,'YYYY');Hello,
Can you create the same query you use for your chart as a report please?
Just to make sure you get actual data. One other thing, you can write DECODE(SUM(hours1),NULL,0,SUM(hours1)) as NVL(SUM(hours1),0)
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
REWARDS: Please remember to mark helpful or correct posts on the forum -
Hi guys,
I am trying do generate a pie chart using JSP or Servlet. I tried out the codings at the www.builder.com site.
But it's not working as it returns "index array out of bounds 0" error.
Has anyone tried it before...
Any help would be much appreciated
the url for the site
http://builder.com.com/5100-6370-1051766.html?tag=searchThe comple JSP code from the site is at :
http://builder.com.com/5110-6370-1051781.html -
Help needed for Pie chart rendering
Hi All,
I have a question related with pie chart rendering. I tried this example with manual node creation. This worked fine for me. After that i tried to change using array concept. But i held up with one issue.
var mySeq = [50, 100, 75];
var angleSeq = [0, 80, 240]
var angle = 360;
var total = 225
The Arc length is calculated as 0-80, 80-240, 240-360 respectively.
So created another
My the Arc creation code is looking like that,
For (i in mySeq)
Arc {
centerX: 200
centerY: 200
radiusX: 200
radiusY: 200
startAngle: ? // For first this should be 0, second 80 and third 240
length: (i*angle)/total //For first 80, second 160 and third 120
type: ArcType.ROUND
fill: Color.BLACK
How to define the startAngle dynamically. I tried with another array like
For (I in mySeq, j in angleSeq). Then I bind the value of j to startAngle. But no positive result for me.
Can anyone help me on this issue?
This is my first try with JavaFX. So i want to finish this successfully. Please help meTry this:
var mySeq = [50, 100, 75];
var angleSeq = [0, 80, 240];
var angle = 360;
var total = 225;
for (i in mySeq) {
for( j in angleSeq ){
Arc {
startAngle: j
length: (i * angle) / total //For first 80, second 160 and third 120
type: ArcType.ROUND
fill: Color.BLACK
}or
var N = 3;
for (n in [0..N-1])
Arc {
startAngle: angleSeq[n]
length: (mySeq[n] * angle) / total //For first 80, second 160 and third 120
type: ArcType.ROUND
fill: Color.BLACK
} -
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
Maybe you are looking for
-
G50 won't switch to external display
I've updated the Intel video driver to the latest, 6.14.10.4277, but I still can't get my external display to work with my G40 through the external VGA connector. The display works with my R40, but not with my G40. It doesn't even show anything dur
-
How to install RPM-4.1 package on Solaris 8?
I have a Sparc Sun-Fire-V240 server with Solaris 8 software. Now I want to unpack a rpm which created on Redhat 8 with RPM-4.1. It caused a coredump. I guess it is because the Solaris 8 has only RPM -3.0.4. Should I install RPM 4-1 to Solaris 8 to un
-
My BB has just Died - Please Help.. what can I do
I have a blackberry curve 8520, for no reason it died. I tried to turn back on but nothing; I swapped over to another battery - I was able to get a red light and the blackberry screen flashed up but then disappeared then reappeared as if it was loadi
-
How to add a monitor to an iMac 20 inch
How to add an extra monitor with VGA connector to an iMac 20 inch ( model 7,1) Wich adaptaer cable do I need? What are the set ups I have to go through?
-
Picture Gallery - Please help!!!!
Hey everyone My images under my picture gallery are displayed (four images per row). How can I change it so there are three in a row. My images are also bad quality when you view them as tiles. All my friends etc pictures are very clear. Your help