Pie chart widget
hi ,
i have created a pie chart in xml format ....... now how do i go about making a widget out of it ..... i want a widget that is updated online every few days ......
thanks ..
karan
hi karan,
You can go use ADOBE AIR for developing the pie chart widget...
thanks
jaideep
Similar Messages
-
How to convert Abap output/excel output into pie charts
Hi.......
I've managed to output my Hierarchial sequential report output into a excel file....converting the abap output to xml and then mailing it.....now how can i convert this to pie chart......and mail it.....is it possible to have a pie chart in sheet1 and excel output in other sheet2 in the same excel sheet.......i've looked on the demo programs....in the package SOFFICEINTEGRATION and programs like SAPRDEMOEXCELINTEGRATION2.This are in object oriented language..............can any one come with coding in abap languge with step by step procedure to write the logic....i even got to look into FM called XXL_FULL_API.......
Points wud be surely rewarded.............Thank in AdvanceHi Younus Khan,
sample code to load output to excel sheet.
Use function module GUI_UPLOAD
The FILETYPE refer to the type of file format you need: For e.g 'WK1' - Excel format , 'ASC' - Text Format etc.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\test.csv'
FILETYPE = 'ASC'
TABLES
DATA_TAB = itab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
or,
U can use the FM
SAP_CONVERT_TO_XLS_FORMAT
to convert itab data to excel
check this FM also
GUI_DOWNLOAD
And, for converting into xml format. I did it in ecc6.0
*& Report ZTESTSDN
REPORT ztestsdn.
TABLES: vekp,
likp,
vbak.
TYPE-POOLS: ixml.
DATA: itab LIKE but000 OCCURS 0 WITH HEADER LINE.
TYPES: BEGIN OF my_xml ,
data(256) TYPE x,
END OF my_xml.
DATA: xml_table TYPE TABLE OF my_xml.
DATA: l_xml_size TYPE i,
ld_fullpath TYPE string.
START-OF-SELECTION.
SELECT * FROM but000 INTO TABLE itab UP TO 10 ROWS.
CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
EXPORTING
I_FIELD_SEPERATOR = ','
I_LINE_HEADER =
I_FILENAME =
I_APPL_KEEP = ' '
I_XML_DOC_NAME =
IMPORTING
pe_bin_filesize = l_xml_size
TABLES
i_tab_sap_data = itab
CHANGING
i_tab_converted_data = xml_table
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = l_xml_size
filename = 'C:\test.txt'
filetype = 'BIN'
IMPORTING
filelength = l_xml_size
TABLES
data_tab = xml_table
FIELDNAMES =
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
You can go use ADOBE AIR for developing the pie chart widget...
kindly reward if found helpful.
cheers,
Hema. -
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 -
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 -
No data in Active sessions pie-chart and availability is 0%
Hi All,
Does anyone know why my Enterprise Manager cosole in Oracle 10g installed on windows xp professional is not showing any data? Availabilty is always 0% for the instance ORCL and the active sessions pie-chart is always showing 0.01 since May 17,2005.
Can anyone tell me how to configure EM so that instance ORCL and the active sessions start showing data again?
ThanksHi,
Kindly activate the data request. Post that, Under "request available for reporting" a symbol will appear which means that the data has been moved to Active table and is available for reporting at further levels.
And you can then check for contents in the active table of the DSo, you should get the records.
Change log: Contains the change history for the delta update from the DataStore object into other data targets, such as DataStore objects or InfoCubes. It makes sense in case of delta uploads.
Regards,
hemlata -
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 -
I am trying to create a bar of pie chart in Excel 2003. I am able to insert my data and create the chart, but I need to set the "SplitValue" to 6. I was able to find the property for doing this but I get an error when I run the vi (see attached). Any thoughts?
Solved!
Go to Solution.
Attachments:
ActiveX Error.PNG 45 KBI think your problem is that you don't have "Index" wired for the ChartGroups property. Thus, it may be returning a collection of chart groups, but you are typecasting it to a single chart group.
-
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 -
I have no idea how to set up a pie chart for tracking spending with categories
This is what I want to do to help me track my credit card spending.
I want to make a Numbers sheet where i can jot down how much money i spent on a item, and what category that item would go with (example, food, electronics, gas, so on).
and then i want to have a pie chart that will show much how much money i'm spending in each category and how much of a percentage of the total each category takes up of the whole.
I have no idea how to set this up in a sheet. I tried typing it in a few times and every time i go to make a pie chart, it never shows me any of the results i want to see.
can someone please help me set up a sheet to be able to get this information to display correctly in a pie chart?Brad,
Create a table with the categories and the data (for now you can make up the data):
Now add a chart from the Charts menu in the toolbar:
Now click the "Add Chart Data" button just below the chart.
Now select data (from column B) in the table. Last trick is to click the menu at the bottom-left corner of the window and change the selection to "Plot rows as series" :
Now add formulas to the table to properly summarize the data from your data entry table using the sumif() function. -
How do I link to a table from a slice of a pie chart?
My project manager is after me to add a feature to a pie chart built on one of my tables. The code that selects from the table for the pie chart is this:
select 'http://apexdevapp1.ci.raleigh.nc.us:7777',activity_type,count(ID) total FROM eba_ver2_cust_activity
where ACTIVITY_DATE BETWEEN NVL(TRIM(:P23_START_DATE), '01-JAN-2001') AND NVL(TRIM(:P23_END_DATE),
'31-DEC-2099')
group by activity_type,'http://apexdevapp1.ci.raleigh.nc.us:7777';
She wants to be able to click on a slice of the pie ("activity_type") and link to another page showing a report limited to that activity_type, selected from the same table. I know how to link from one interactive report to another, but I don't know how to do it from a slice of a pie chart. Does anybody know how?
I'd appreciate some guidance on this.
Steve the n00b in Raleigh NCDenes Kubicek wrote:
Have you compared that link with any of your apex application links in the browser? ;) :)
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------I may be missing the point of your question, Denes, but all my links are implemented from the Link Column section under Report Attributes. They are not mentioned anywhere in the Select statement, unlike yours.
Steve "the n00b" in Raleigh NC -
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 -
How to change font size in pie charts (SVG)
Hi,
I'm using pie charts (SVG) and need to change the font size for the labes into the legend box (value 1 %, value2 %, ...).
I tried to change values on the chart properties page and the css and couldn't.
Any help is welcome.
Thankssomeone
thanks -
I have two questions -
1. How do i restrict the no. of decimals in the Mouse Over values for Percentage in a Pie Chart ? The numeric values i can control but the percentage (which the system calculates) seems to be set at default two decimal places.
2. While displaying the labels even though i am using the ouside end, inside end etc options - i can't seem to control the overlapping of a few labels. Offsetting is something that i need to do by hit and trial. too slow. and not all need to be offsetted. Can i selectively offset for a data point ?
Please help....Cheers...Hi:
For question1, do you mean the "Data Label->Percentage" right? I think the "Mouse-Over Values" could be set decimal places easily from "Appearance->Text->Mouse-Over Values", but for "Data Label->Percentage" there is no direct way to show its decimal places. You can use "Label" component to build your percentage you like manually.
For question2, if all position setting could not fit your need, you can also use label component to build your custom Data Labels. -
Hi,
In Excel 2007, I have a pie chart on sheet 1. I want to make a copy of the pie chart from sheet 1 and past into sheet 2, and change the table data in sheet 2 to get new chart recalculated based on new table values in sheet 2.
However, the chart in sheet 2 is still pointing to the table data in sheet 1.
All the cells in sheet 1 have relative cells.
Please advise.
Thanks - BijanHello Wind,
As teylyn suggested:
"An Excel chart is hard-wired to its data source. You can copy and paste a chart to a different sheet and it will still refer to the initial source data."
So I did create the template and used in my 2nd tab which worked perfectly. However, I had an issue with merged cells which I am using for my data, and tylyn suggested that I provide the excel file that I am working with, and I did.
So now I need help as how to make merged cells work when I try to create a pie chart from template based on new data (which reside in mergerd cells).
P.S. I cannot resize my cells to make the data and labels fit into one call, so I have to have merged cells.
Thanks
Bijan -
Error while creating a Pie Chart
Hi Experts,
I have prepared a spreadsheet in Web Analysis in which two dimensions are appearing in Rows, one dimension in Columns and one dimension in Page View.
When I convert this spreadsheet into a Pie Chart, or any other chart for that matter, no data is displayed. If I remove one dimension from Rows to POV, data starts appearing in the chart. But it is not a relevant chart as the data shown in it is not in the format in which it is required.
Kindly help in resolving this issue.
Regards,
SYRHi Sa'ad
Its been a little while since I used Web Analysis but I remember that there are issues if you have more than 1 dimension in rows or columns. What I cannot remember is whether it automatically shifts a dimension to the page or whether as you suggest it just doesn't display.
Pie charts can only display data from two dimensions (1 rows, 1 columns), you can filter using dimensions on pages. If that doesn't give you what you need then I'm afraid you need to stick to a different chart type.
Hope this helps
Stuart
Maybe you are looking for
-
Problems in instalation/running with JDK 5.0
I'm rellatively new to Java programming. I've had a few classes, know the basic concepts and have tried some tutorials. Recently I installed JDK 5.0 update 6 in my computer (first I tried the Netbeans bundle, but saw it was very complicated and unnec
-
Has anyone encountered this error message?
-
Acrobat 9 Pro Forms - Conditional (If) statements don't work!
Trying to calculate a value via Custom Calculation Script. I've tried this numerous ways... I can set the event.value but even the simplest conditional statement is ignored. Here's the current version (using Diff as a value holder) var NetMother = t
-
Animation will not work in Firefox. It works in Safari.
I created an animation and uploaded it to wordpress.com. Using Firefox, I went to the website to play the animation. But the animation wouldn't appear. I checked it again using the Safari browser. And the animation appeared and it worked fine. W
-
What do i need to replace my screen?
I was in class today using my Iphone 4S 64GB.I set it down on my desk, and turned around to answer sombody's question. When i turned back to my desk, i knocked my Iphone onto the tile floor (3-4 feet) and it completely obliterated my screen. Now, as