PIE chart in Oracle 9i Reports
Hi,
I'm using Orcle 9i Report builder to create reports.I'm creating web-source and saving it as JSP.Now I want to add 'PIE' charts into my reports.But, when I'm using the 'Graph' option in 'Insert' menu,it's not creating the 'PIE chart' properly.Pls anybody help me know how can I create 'PIE chart'
Thanks in advance
Rajesh K.R
Hi Rajesh,
Suppose you want to show salaries of a few employees in a Pie Chart (this is just a dummy graph to explain the steps - you can build more meaningful graphs). So you want that each employee's salary should be shown as a percentage of the total. Follow these steps:
1. Use the query - Select empno, sal from emp
2. Go to the web layout, place your curson in the rw:dataArea tags, and choose Insert > Graph
3. In the Graph wizard, choose Pie Chart, select empno in X-axis, and sal in the Y-axis
4. In the "Layout" step, drag "sal" from groups into the slices field
5. Fill in the titles, etc, and click finish.
Click "Run to Web" in the builder, and you should see the pie chart in the web page.
Navneet.
Similar Messages
-
XML tag for dia of PIE chart in Oracle 9i Report Devloper
Hi ,
I'm using Oracle 9i reports Devloper and facing some problem with the controls in pie Graph. We are trying to do this by modifying DTD for graph in XML. Need of the hour is to increase the dia of pie graph. Can anyone suggest which XML tag to be used for the same.
Attaching herewith DTD for the graph.
***************DTD FOR GRAPH START****************************
<rw:graph id="CT_1" src="G_Graph" series="Heading" dataValues="No_Of_Scripts2">
<!--
<?xml version="1.0" ?>
<Graph version="2.5.0.5" graphType="PIE" depthAngle="0" depthRadius="4.5" pieDepth="0" markerTooltipType="MTT_NONE" pieTilt="0">
<DataviewFootnote foreground="#0" background="#ffffff"/>
<DataviewSubtitle foreground="#0" background="#ffffff"/>
<DataviewTitle foreground="#0" background="#0"/>
<LegendArea visible="false"/>
<O1Axis lineWidth="1"/>
<O1MajorTick lineWidth="1"/>
<O1Title textRotation="TR_HORIZ_ROTATE_90"/>
<PieFrame fillTransparent="false"/>
<SeriesItems>
<Series id="0" color="#000000"/>
<Series id="1" color="#333333"/>
<Series id="2" color="#666666"/>
<Series id="3" color="#999999"/>
<Series id="4" color="#cccccc"/>
<Series id="5" color="#FFFFFF"/>
</SeriesItems>
<SliceLabel textType="LD_TEXT_PERCENT">
<ViewFormat decimalSeparatorUsed="true" decimalSeparator="." decimalDigitUsed="true" decimalDigit="0"/>
<GraphFont name="Arial" size="11"/>
</SliceLabel>
<X1Axis lineWidth="1"/>
<Y1Axis lineWidth="1" majorTickStep="15.0"/>
<Y1MajorTick lineWidth="1"/>
<Y2Axis lineWidth="1"/>
<Y2MajorTick lineWidth="1"/>
</Graph>
-->
</rw:graph>
***************DTD FOR GRAPH END****************************
SantoshPrakash
We are currently working on better BI Graph bean xml documentation, so today all you have is the graph.dtd which is located in the bigraphbean.jar.
Thanks
The Oracle Report Team -
How to show pie chart in Oracle Map?
I created predefined theme with pie chart style using MapBuilder. When I requested map using XML map request, the pie chart are shown with background and base map behind. Unfortunately, I tried to use Oracle Maps JavaScript Client API and it showed only background with base map behind.
I’m using this code
themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','geoadmin.pie_province ');
themebasedfoi.setBringToTopOnMouseOver(true);
mapview.addThemeBasedFOI(themebasedfoi);
geoadmin is my username and pie_province is my pie chart predefined theme
Sorry for my English
Many thanks
581554Hi
You can create chart by chart wizard in layout model in report 6i.
1. Create Query in data model
2. Go Layout model and right click
3. Select Chart Wizard then select Chart type
4. Select Axis (X axis column and Y axis column)
5. Choose your chart placement
PS -
I have develop a pie chart for Category Sales. If i click on one of the pie (Category) it should open a tabular report where it shows the sale of products in that category. How can i implement this in OBIEE dashboard?
Hi,
For your senario you can use Master Detail event feture to implement your solutions.
Master-detail linking of views allows you to establish a relationship between two or more views such that one view, called the master view, will drive data changes in one or more other views, called detail views.
More detail refer below linke;
http://gerardnico.com/wiki/dat/obiee/master_detail
Mark Helpful/Correct as applicable.
Regards,
Kashi -
Drill down to detail reports from a Pie Chart
Is it possible to code for drill downs in a Pie Chart to a detail report based on the section that is clicked in an RTF template?
Can anyone provide an example for this?Hi Raja,
I used CEO LOG ON TOKEN to avoid asking for credentials when im trying to access the dash doard form another dashboard.
From connections we can have flash variable
Note : Names are case sensitive here in flash variable so name it as shown below
Define its name as CELogonToken
Variable Format as CSV
Variable data -->under ranges define a range :
Name it as CELogonToken
Range :map to a excel cell (Ex Sheet1!A$2)
From info view you can find DOC ID suppose your DOC ID is 9609
Then frame your URL AS
http://sapdev:8080/Xcelsius/opendoc/documentDownload?iDocID=9609&sKind=Flash&CELogonToken=
in another cell Concatenate the above your with your Logon token captured in Sheet1!A$2
suppose your url is in 'Sheet 1'!A$6
then your formula cell for concatenation should be 'Sheet 1'!A$6 & Sheet1!A$2
Use a url component and map the concatenated url cell to the component and place it over your pie chart.
uncheck show button background
try this and apply according to your scenario.
Hope this works..
@Sri -
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 -
To collect small slices into a secondary, callout pie chart in SSRS 2005
Hi Guys,
There exists a property in pie chart in SSRS-2008 which can consolidate the small slices on pie chart. But I am unable to find the same property in SSRS-2005.
Is this property only available in SSRS-2008 ? If yes how can we achieve the same functionality in SSRS-2005 Pie Chart ?
Regards
Consolidating Small Slices on a Pie Chart
Consolidating Small Slices on a Pie Chart
Consolidating Small Slices on a Pie Chart
Consolidating Small Slices on a Pie Chart
Consolidating Small Slices on a Pie ChartHello,
Based on my research, the CollectedStyle property that collect small slices into one signal slice or a secondary, callout pie chart is available from Reporting Services 2008. So it is not supported in Reporting Services 2005.
For example, you are using the query below to return the SECTION and DIVISION fields as the chart fields: SELECT SECTION , DIVISION FROM TEMP, and you want to collect small slice COUNT(DIVISION) smaller than 5 as the callout pie chart. To work around this
issue, we can create two charts on the surface, one as the big and collected slices chart, another one as the secondary, callout pie chart. For more details, please refer to the following steps:
We can use the query with some conditions like below to return the fields for the main chart:
SELECT CASE
WHEN COUNT(DIVISION) <= 5 THEN 'Other'
WHEN COUNT(DIVISION) >5 THEN SECTION
END AS SECTION, COUNT(DIVISION) AS DIVISION
FROM TEMP
GROUP BY SECTION, DIVISION
We can use the query like below to return the fields for the callout pie chart:
SELECT CASE
WHEN COUNT(DIVISION) <= 5 THEN SECTION
END AS SECTION, CASE
WHEN COUNT(DIVISION) <=5 THEN COUNT( DIVISION)
END AS DIVISION
FROM TEMP
GROUP BY SECTION, DIVISION
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Dear all,
we are very happy with the default colors of the pie charts in Oracle BI 10.
After migrating the catalog to 11.1.1.5 the colors has changed to very dark color types.
Is there an option to switch back to the old colors of a pie chart?
Regards,
StefanHi,
Have a look at this blog: http://shivabizint.wordpress.com/2011/04/17/setting-default-graph-series-colors-in-obiee-11g/
Regards -
Hi all,
I need to add a 3D pie chart in a report, and I don´t find it in the Chart Wizard. Anyone knows if is it possible to do this?
Thanks in advance.Hello,
http://www.oracle.com/technology/products/reports/htdocs/faq/Graph_FAQ_with_style.html
How do I apply 3-D (three-dimensional) effect to my graphs?
For Pie graph type, add the following attributes to your Graph.xml:
<Graph ... pieDepth="30" pieTilt="20" ... >
Regards -
Hi,
I am displaying a pie chart in my report. Now the problem I am facing is that the labels are overlapping on the chart, while I want them to be outside of the chart.
I tried fiddling with the xml code. Added <Slice labelposition= "LP_OUTSIDE_WITH_FEELER"> but it didn't help.
Can somebody suggest a solution for this ?
Also I would be obliged if some body can point me where i can get the documentation for graph.dtd.
Thanks
prakashPrakash
We are currently working on better BI Graph bean xml documentation, so today all you have is the graph.dtd which is located in the bigraphbean.jar.
Thanks
The Oracle Report Team -
Hello All,
Please help. I created a 2D Pie chart. How do I get chart to drill down to a report based on the slice of pie I click. I've already created the report. I can't seem to get the link working.
ArtnetteArtnette,
See this example:
http://htmldb.oracle.com/pls/otn/f?p=31517:156
Denes Kubicek
http://deneskubicek.blogspot.com/
http://htmldb.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Reporting Services in 2005 Secondary Pie Chart?
Hi,
In 2008 and 20012, secondary pie charts with a percentage threshold from a main pie chart can be easily created. Is it possible to do in 2005?
*CustomAttributes
Thanks.Hi Robb,
It seems that you are using Dundas Chart Control for SQL Server 2008 R2 Reporting Services not the Dundas Chart Control 2005 that Microsoft has purchased.
Microsoft purchased the license to use Dundas Chart Control 2005 in Reporting Services 2008 and above. Therefore the supported upgrade is from Reporting Services 2005 Dundas Charts to SSRS 2008 (R2) and SSRS 2012 Charts.
If you are using a particular component released by Dundas for SSRS 2008 R2, you won’t be able to upgrade Reporting Services 2008 R2 Reports with Dundas Charts to Reporting Services 2012 Charts.
To confirm this, please check the details of this assembly “DundasRSChart.dll” located under the /Report Server/bin directory.
If the Product Name is “Dundas Chart for Reporting Services 2008 R2”, it indicates that this is a new version of Dundas Chart for SSRS 2008 R2 (i.e. a third party control). If the Product Name is “Microsoft SQL Server”, it indicates that this is the version
that Microsoft has purchased.
In this condition, you have to migrate the DundasRSChart.dll to the SSRS 2012 instance and reference it as the custom assembly in the reports. Please make sure to rename the DLL file so that it won’t replace the native DundasRSChart.dll installed by SQL
Server 2012.
For more information about referencing custom assembly in a report, please see:
Using Custom Assemblies with Reports
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
PIE chart report for planned, Actual and variants cost
Hi Gurus,
Is there any report provides information of Plan cost, Actual cost and Variants cost for sales order or production Plan in PIE CHART format or any other chart diagram.
Regards,
Ram KrishnaHello,
Go to relevant S_ALR* report.
For example execute
S_ALR_87013611
Settings ==> Options
Office Integration => Microsoft Excel
Remove Worksheet Protection
ignore the warning message.
Go to insert tab on the MS excel.
Select the report data.
Click on pie chart.
You will be able to see the pie chart.
Regards,
Ravi -
SSRS Report Builder 3.0 - Pie Chart
Hi,
I have Pie chart that displays Number of items by Country,
My data set is pulling the correct values.
The 3D effect is true for the pie chart and the Series Labels are set to diplay out of the Slice.
I used the collected style to be SingleSlice and not using percentages but just the values less than or = 5 to be collected to other countries slice.
for labels format I am using a column value from the query where I Concatenate the Value and Name of the country as string as I am not showing the legend on the chart for more space
All the values are showing up right except for one value for one slice which is added extra numbers at the beginning of the number part of the string.
For Example , if for USA there are 320 items it should should show up as USA - 320 as that is the value that the query bring and I double checked that. But that value dipslays USA - 12320 for some reason and this is happening only with one
label.
I might be missing somethign silly but if someone can save my time and help me it would be appreciated.
Please let me know if you have any questions.
Thanks,
ChaitanyaHi Chaitanya,
Sorry for the delay.
I am unable to reproduce the issue in my test environment. The issue seems rather odd. Here, I suggest that you create a new report and design the Pie Chart from scratch, and then check the issue again.
If the issue persists, please post the expression of the label data as well as the CustomAttributes settings of the target series of the Pie Chart.
Regards,
Mike Yin
TechNet Community Support -
Crystal Reports Pie Chart showing Sum 100% in Legend. How to remove?
I have a Pie chart which displays correctly but in the Legend is displayed the values with the correct percentages AND the Sum showing 100%.
I need to either remove the Sum line or be able to change the text from the report since I have to produce the report in 4 languages and the Sum always shows up in the language of the server.
the legend looks something like;
value1 25%
value2 25%
value3 75%
Sum 100% <------ this line must go or be changed (e.g. in Italian as Totale)
Running a server for each language is not an option
There are a variable number of values so I cannot overlay a rectangle on a fixed position. (awfull solution)
Is there any way I can simply turn off the Summ (not the whole legend which is needed)?
any help would be greatly appreciated.
I am using Crystal Reports 2008
Best Regards
Chris RyderWell Thank you everyone for your suggestions.
The client is very specific about the look and feel so I cannot change to not using a legend. However, the discussions serves to confirm that it is NOT possible which is actually just as useful.
In Conclusion
To restate the problem the client has a report which can be displayed in one of four languages by choice from the end user. The report contains a pie chart which displays the various segment names and percentages as a legend. At the bottom of this legend appears automaticaly the word Summ in the langauge of the the 'Server Locale' (in our case german Summe) and the 100% value.
I wished to know if it was possible to either change the language of this word (without changing the server as I do not have access) or to remove it altogether.
The answer is NO it is not possible to remove only this word or to change it in anyway.
Our final workaround is;
we hide the Legend on the graph and build it as a seperate entity next to the graph. Not ideal as everything is then done twice and we have an indirect link between the segment colours and the legend colours which is not apparent directly in the report. But at least the client has signed off on the report.
once again thank you for taking the time to think about the problem.
Chris Ryder
Maybe you are looking for
-
How to erase my yahoo messenger user name in my iPad
I want to erase my user name in my yahoo messenger on my ipad
-
Post Author: Set_Shot_Dave CA Forum: General Hello All, Let me set up my problem first. I have a running total from a subreport and a running total from my main report. I shared my running total from both reports ( it didn't work when I did or didn't
-
Short Dump while loading data into the GL ODS
Hello Guyz I am getting a database error while loading the GL ODS in BW. I am performing an INIT load, and the error occurs during the activation stage: Database Error
-
i'm having a problem adding files. when i try to add more than 3 songs at a time the files won't add to itunes. it only lets me dadd song's 3 at a time. i didn't have this problem till i upgraded to itunes 7. can any one help me out
-
[CS4] Word Import severely broken
(Not a question, rather an observation...) The Word import has gone from already rather bad to worse with one of the upgrade patches. Two major nuisances that don't seem to have been present from the initial version (based on "we'd surely have notice