Clickable pie chart in sapui5

Hi,
how to display clickable pie chart in sapui5?
when i click on particular area on the pie chart it need to give a popup showing all the information about that.
Thanks & Regards
Chitti Babu

hi,
Pie chart has 'selectdata' event which can be registered to an event handler.
  Please refer below sample code:
pie.attachSelectData(selPiefn);
selPiefn=
function(oEventParam){
var oSelectData = oEventParam.getParameter("data");
Thanks,
Monalisa

Similar Messages

  • Table sorter and pie chart in sapui5

    Hi ,
       I have one combobox and table(i have table columns city , state, country, zone).... on change of combobox value(combobox values are city , state...) i want to sort table and display pie chart according to  sorted table values.
    Can anyone help me on this....
    Regards,
    Sathish.

    Hi Sathish,
    You can refer below link, it will help you to build your own custom solution. It has everything you need.
    Custom sorter and filter in SAPUI5 Table
    Regards,
    Shankar

  • Pie chart Labels clickable

    Hey guys,
    Is there a way to make pie chart labels(callout labels) clickable?
    Thanks in advance.

    Hans:  Thanks, again.
    (And, again, this should be easy but isn't).  Requestors ask the darndest questions.
    Doug in York PA
    Douglas R. Eckert

  • Sapui5 Pie Chart

    Hi all
    I have created a pie chart.
    Its all working fine.
    Here in the above image we can see one section is selected and the message is in circle shape.
    And here we can also deselect the selected section.
    But the problem here is when i use the same application in my colleague's system then message is not in circle shape
    and here he is not able to deselect the selected section.
    u can see the difference in the below image.
    I think this is an version problem, but i don't exactly where the problem is.
    Please suggest me on how to make it work.
    Thanks
    Sathish.

    Hi Sakthi
    In the below code
    var oEvDataSet = new sap.viz.ui5.data.FlattenedDataset("EV_REPORT_DATASET",{
                        dimensions : [
                                     name : "ZONE",
                                     axis : 1,
                                     value : "{Key}"
                        measures : [
                                name : "NUMBER",
                                value : "{Number}"
                        data :  {
                            path: "EVENTREPORT>/ZONE"
                            //path: "EVENTREPORT>/Category"
    From the dropdown if select zone i'm using the above dataset for piechart.
    But we have the option to select pie chart criteria as STATE also.
    Now how do i dynamically change the name(dimension)  and path(data)  of the above dataset.
    How can i do that...??
    Thanks
    Sathish

  • IChart Pie Chart doesn't response to SelectionEvent

    Hi,
    I have a pie chart. I would like to have the slices in the pie chart clickable. When one slice is selected, I would like to display the detail information in another iGrid table. I have done it with iChart Bar with no problem. However, it seems like the pie chart doesn't response to any selection on the slices, except the legend tags for the whole chart.
    Did I miss some configuration?
    Thank you for your advice!

    Hi Yue,
    Instead of trying to click on the Chart, try clicking on the legend. It will work. It is working for me here.
    Use the same Selection Event and same Javascript. And click on the <b>Legend</b>. It will display the desired Value.
    For Example, i have used the below code for my SelectionEvent.
    <b>document.ChartName.getChartObject().getSelectedPen();</b>
    Hope this will help u.
    Regards
    Muzammil

  • How to get value of selected part in sap.viz.ui5.pie chart

    Hi,
       I have designed a basic Pie Chart. But i am looking for the code to get the value of the selected part of the Pie Chart,so that i can report a details based on it.
    Is their is any sample code snippets available for all event handlers of sap.viz.ui5 charts..
    Thanks,
    Prakash

    Hi Prakash,
    Refer this thread How to get the value of Selected Dimension in a Pie Chart ?
    I shared example code in this thread and I hope it will solve your question.
    also you can see example at this link https://sapui5.netweaver.ondemand.com/sdk/test-resources/sap/viz/demokit/VIZCharts.html?sap-ui-debug=true&sap-ui-language=en-US&sap-ui-theme=sap_bluecrystal&sap-ui-accessibility=true&sap-ui-jqueryversion=1.7.1
    see the eventing section and source code to know all event handles.
    Regards,
    Chandra

  • 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

  • Need help to make a Pie Chart

    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?
    Thanks

    Hi,
    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 Krishna

    Hello,
    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

  • ActiveX and pie chart problem

    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 KB

    I 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,
    Chaitanya

    Hi 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 NC

    Denes 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,
    Archana

    Hello,
    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

Maybe you are looking for

  • Error in the ABAP Application Program

    Dear All While Incoming invoice posting ( MIRO). When i put amount in Unpl. Del. Csts field system give following  Error Error in the ABAP Application Program The current ABAP program "SAPLMRMK" had to be terminated because it has come across a state

  • What is AIVMFile and why are they creating themselves?

    There was a couple in the root folder of my hard drive, now there are hundreds. Can I delete? Is it some attempt at spy ware? Thanks!

  • Movies on iPhone 3G

    I've created some movies in iMovie and shared them for "mobile". They appear in iTunes and are in MPEG-4 video format but they don't sync to the iPhone. I've tried various things such as putting them in a movies playlist etc without success. Any sugg

  • Check string input

    I tried to use pattern class to check user's input, here is the code public boolean InputCheck() String REGEX,REGEX_S; Pattern pattern; Matcher matcher; REGEX_S = "\n"; Pattern p = Pattern.compile(REGEX_S); String[] items = p.split(data); //data is a

  • Hi,about bpm

    how can i define a compensate handling for a certain step which has been executed successfull in process editor? that is: i wanna undo a step which has been executed successfull? how can i do it in process editor? thanx! Message was edited by: