Is ChartDoubleClick Event works in Pie Chart

Hi Every one,
                  This is prasad.I have Pie chart with data and want to drill down on selecting the data in the pie chart.Is the chartdoubleclick event works in the Pie chart as of Bar chart works.Can any one help on this will be thankful.
Thanks,
Prasad.

Can u give an example or  sample code for this legend trigger event.SInce this is the first time iam using this trigger event.
Thanks,
Prasad.

Similar Messages

  • Drill does not work for pie chart in OBIEE 10.1.3.4

    Request has a table and a pie chart. Dimension has 7-level hierarchy. Request has column from top level of dimension.
    Table can drill down all 7 levels. Pie chart drills down two levels; third attempt to drill on chart brings back first level in both chart and table.
    Anyone else experience this? I can find no bug report, but I have not been very successful at finding known bugs in MetaLink.

    Well, by Total - I mean next-to-total. Don't worry about it. I just wanted to make sure your hierarchy had no problems.
    Here's what I've done (remember my version is different). I've selected Drill-In-Place in Dashboard properties (unless I do that - it goes to table view after drill). Then I've clicked in an area on pie chart. After this, I wasn't able to drill further down, until I went to another Dashboard page and back (previous drill level was still there) and then drilled again. Rinse and repeat. Browser - IE 7. I'm going to test it in Firefox now.
    UPD: Firefox has no problem drilling through 4 levels of pie-chart. I guess the problem is IE's slow and buggy JS implementation.
    Edited by: wildmight on Jan 27, 2009 8:21 AM

  • Pie chart question

    HI,
    I am trying to create a Pie chart report for the first time. How does one go about creating such report? I have looked everywhere, but have found no documentation on Pie charts.
    Also, will the following query work in pie chart:
    select null,
    resolution_type label,
    count(resolution_type) value
    from ht_issues
    where category = 'Help Desk Issue'
    group by null, resolution_type
    order by resolution_type
    Thanks,
    Wally

    Hi Vitaly,
    Yes, my problem is the query reurns a zero in the valur coumn and therefore displays in the chart as 0%
    Thanks,
    Wally

  • 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

  • Buisness graphics dynamic PIE chart event id

    HI all,
    I'm trying to create dynamic PIE chart :
    Link to sdn document *
    First I declared in the context node a table ( 0…n )
    PIE – 0…N  with attributes :
    Categorty – type string
    Series – type i
    Then I'm creating the business graphics :
    DATA:lr_graph TYPE REF TO cl_wd_business_graphics,
    lr_cat TYPE REF TO cl_wd_category,
    lr_series TYPE REF TO cl_wd_simple_series,
    lr_container TYPE REF TO cl_wd_uielement_container,
    lr_flow TYPE REF TO cl_wd_flow_data.
    lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
    lr_graph = cl_wd_business_graphics=>new_business_graphics(
    bind_series_source = 'NODE_DYN'
    chart_type = cl_wd_business_graphics=>e_chart_type-pie
    height = 340
    width = 750
    id = 'GRAPH' ).
    lr_flow = cl_wd_flow_data=>new_flow_data( element = lr_graph ).
    lr_container->add_child( lr_graph ) .
    wd_this->value_cs ?= lr_graph.
    wd_this->mr_view ?= view.
    Now I'm creating the category and series :
    wd_this->value_cs =? Lr_graph
    wd_this->mr_view ?= view.
    Series :
    DATA: lr_bgr_ss TYPE REF TO cl_wd_simple_series.
    lr_bgr_ss = cl_wd_simple_series=>new_simple_series(
    bind_value = ‘NODE_DYN.SERIES’
    label = ‘Series_1’
    event_id = ‘Series_1’
    id       = ‘Series_1’
    view = wd_this->mr_view ).
    Wd_this->value_cs->add_series( lr_bgr_ss ).
    Category :
    DATA: lr_bgr_cs TYPE REF TO cl_wd_category.
    lr_bgr_cs = cl_wd_category=>new_category(
    view = wd_this->mr_view
    event_id = ‘Series_1’
    id       = ‘Series_1’
    bind_description = 'NODE_DYN.CATEGORY').
    wd_this->value_cs->set_category( lr_bgr_cs ).
    Now I'm binding the data :
    Data : ls_pie type wd_this->element_pie.
    Data : lt_pie type table of element_pie.
    ls_pie-category = 'test_category1'.
    ls_pie-series = '34'.
    Append ls_pie to lt_pie.
    ls_pie-category = 'test_category2'.
    ls_pie-series = '73'.
    Append ls_pie to lt_pie.
    Data : lo_nd_pie type ref to if_Wd_context_node.
    Data : lo_el_pie type ref to if_wd_context_element.
    Lo_nd_pie = wd_context->get_child_node(
    Name = wd_this-> wdctx_pie.
    The above is the only way that I succeeded to create 2 categories for the pie chart but I cant isolate the event id for every category.
    I tried also to create another series with the same id and other event id but still got the same problem.
    Please suggest a solution for creating dynamic pie chart with event id for every category or series .
    Regards,
    Arie.

    Hi Rama,
    Thank you for your reply ,
    I added the BIND_EVEND_ID = 'NODE_DYN.SERIES'  and it worked fine.
    I'm trying now to get rid of the static context element.
    I've declared the following :
    DATA : NODE_INFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO ,
                  STRUCT_TYPE TYPE REF TO CL_ABAP_STRUCDESCR ,
                  TABLE_TYPE REF TO CL_ABAPDESCR=>COMPONENT_TABLE,
                 COMP LIKE LINE OF COMP_TAB.
    COMP-NAME = 'CATEGORY'.
    COMP_TYPE ?= CL_ABAP_DATADESCR=>DESCRIBE_BY_NAME( 'STRING' ).
    APPEND COMP TO COMP_TAB.
    COMP-NAME = 'SERIES'.
    COMP_TYPE ?= CL_ABAP_DATADESCR=>DESCRIBE_BY_NAME( 'I' ).
    APPEND COMP TO COMP_TAB.
    STRUCT_TYPE = CL_ABAP_STRUCTDESCR=>CREATE( COMP_TAB ).
    NODE_INFO = WD_CONTEXT->GET_NODE_INFO( ).
    NODE_INFO = NODE_INFO->ADD_NEW_CHILD_NODE (
    NAME = 'NODE_DYN'
    IS_MANDTORY = ABAP_FALSE
    IS_MULTIPLE = ABAP_TRUE
    STATIC_ELEMENT_RTTI = STRUCT_TYPE
    IS_STATIC = ABAP_FALSE) .
    FIELD-SYMBOLS  <TABLE> TYPE TABLE.
    FIELD-SYMBOLS  <WA> TYPE WA.
    DATA : TABLE TYPE REF TO DATA.
    DATA : WA TYPE REF TO DATA.
    CREATE DATA TABLE LIKE TABLE OF STRUCT_TYPE.
    ASSIGN TABLE->* TO TABLE.
    TODO ?? - Add data to FS <TABLE>
    *Binding :
    DATA : DYN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
    DYN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'NODE_DYN').
    DYN_NODE->BIND_TABLE( <TABLE> ).
    How do I append data to FS <table> with the relevant components ?
    Is there any  other efficient way to append the data and bind  ?
    Regards,
    Arie.

  • Retriving value from Pie chart to hidden field using onmouseover event

    Hi,
    I am Vaibhav. I have create Pie chart on EMP table. Pie chart query is as follows,
    SELECT 'javascript:onmouseover=$x(''P25_DEPTNO'').value='||deptno||';popupURL(''http://www.google.com'');' LINK,
    deptno, COUNT (empno)
    FROM emp
    GROUP BY deptno
    On mouseover on Pie chart i want to get value of deptno column but from above query i am not getting the value of deptno. So how should I get value of deptno on mouseover event on Pie chart.
    Thanks in advance,
    Regards,
    Vaibhav
    Edited by: user10600404 on Feb 28, 2011 10:39 PM

    Hi,
    I can get it to work with:
    SELECT 'javascript:onclick=$x("P24_DEPTNO").value='||deptno||';popupURL("http://www.google.com");' LINK,
    deptno, COUNT (empno)
    FROM emp
    GROUP BY deptno That is - using onclick instead of onmouseover.
    See: http://apex.oracle.com/pls/otn/f?p=9568:24 - the Select list is updated as you click on a slice in the pie chart
    Andy

  • Histogram works, Pie Chart doesn't :(

    I have a simple form, which has 1 block, a block level "when-new-block-instance" trigger and 2 bean_area under the block (beans don't have any trigger code). This simple form is called from within another form when a button is pressed. The histogram (bar chart) works, but the simple pie chart doesn't work (only displays a single circle - not the slices on the pie). The related trigger code is below. Can anybody see what is wrong with the pie chart code ?
    Appreciated.
    =====================================================================
    -- Set the bean area properties
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'CLEAR_BLOCK','');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'GRAPHTYPE','VERTICAL_BAR');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'ENABLE_TOOLTIPS','VALUES');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_DELIMITER','#');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_TITLE','Order Count By WHIP#red#b#14');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_FOOTER','WHIP Name#blue#12');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_DELIMITER',',');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_Y_LABEL','Move Your Mouse To View The Value For Each Bar');
    -- Use the following for a nice 3D look (if users want)
    -- SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_DEPTH','20,45');
    -- This should populate and display the data on the graph by using the related PJC
    DECLARE
    ordercount NUMBER(10);
    whipname VARCHAR2(25);
    vData VARCHAR2(200);
    vDelimiter VARCHAR2(1);
    cursor c1 is select distinct interface_name from pps_order order by interface_name;
    BEGIN
    vDelimiter := ',';
    open c1;
    fetch c1 into whipname;
    while (c1%found) loop
    select count(*) into ordercount from pps_order where interface_name=whipname;
    vData := 'Total Order Count Per WHIP'||vDelimiter||whipname||vDelimiter||ordercount;
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'ADD_ROWDATA',vData);
    fetch c1 into whipname;
    end loop;
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'ADD_DATA_TO_GRAPH','');
    close c1;
    END;
    -- THIS SECTION IS FOR THE PIE CHART
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'CLEAR_BLOCK','');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'GRAPHTYPE','PIE_GRAPH');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SHOW_PIE_LABELS','VALUE');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_DELIMITER','#');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_TITLE','Order Count By WHIP#red#b#14');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_FOOTER','WHIP Name#blue#12');
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_DELIMITER',',');
    -- This should populate and display the data on the graph by using the related PJC
    DECLARE
    ordercount NUMBER(10);
    whipname VARCHAR2(25);
    vData VARCHAR2(200);
    vDelimiter VARCHAR2(1);
    cursor c2 is select distinct interface_name from pps_order order by interface_name;
    BEGIN
    vDelimiter := ',';
    open c2;
    fetch c2 into whipname;
    while (c2%found) loop
    select count(*) into ordercount from pps_order where interface_name=whipname;
    vData := 'Total Order Count Per WHIP'||vDelimiter||whipname||vDelimiter||ordercount;
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'ADD_ROWDATA',vData);
    fetch c2 into whipname;
    end loop;
    SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'ADD_DATA_TO_GRAPH','');
    close c2;
    END;
    GO_ITEM('BLOCK1.CLOSE');
    This uses the FormsGraph.jar file implementation as you can see. I know Frank Nimphius is the only expert when it comes to FormsGraph.jar at Oracle, but currently he is on vacation - so no official support to an unofficial (unsupported) charting implementation - but I thought there might be others who have done this before.
    Can someone who implemented a pie chart share his/her code here - a simple pie chart, nothing fancy (like the one that comes with the graph90.fmb file, which I followed but did not figure out why my implementation is not working). Something with the vData string or number of vData strings requirement? no explanation in the FormsGraph.jar doc and I am not a java programmer to figure it out from the java source code. I am looking for a simple trigger code for the pie chart - not like "look at the forms90.fmb that comes with the demo package" kinda answer.
    Thanx
    Message was edited by:
    zaferaktan
    Message was edited by:
    zaferaktan

    Any idea ?

  • Pie chart with two measures and date dimension navigation not working

    Hi Experts,
    Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
    Thanks
    V

    Hi Deepak,
    I had time dimension in the RPD.
    I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
    I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..???

  • 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,
    PASG

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

  • Link not working on a pie chart which uses a customized XML

    Hi,
    I have created a pie chart which uses customized XML.
    For this, i am using database function. This function returns a customized XML which is eventually used by chart.
    But the problem now i am facing is the link on chart is not working . I have to navigate to another page from this chart sending value of link attribute.
    Can someone help me out , in how to create link in such case ?
    Thanks in advance.
    Edited by: Vaibss on Feb 22, 2011 10:49 PM

    Good news: I've found that the directive
    -Dlog4j.configuration=/home/myServer/Oracle/Middleware/wlserver_10.3/server/bin/log4j.properties
    shuld be instead:
    -Dlog4j.configuration=file:/home/myServer/Oracle/Middleware/wlserver_10.3/server/bin/log4j.properties
    - noticed that <<file:>> ? VERY important...
    This way the log4j logging works also on a standalone WLS.
    reference:
    http://jaikiran.wordpress.com/2006/07/05/i-get-log4jwarn-no-appenders-could-be-found-for-logger-message-2/
    Sergio.

  • To print an Pie Chart image with more than 1 slice is not working

    Hi friends,
    I'm using a version 12.0.4 and when I try to generate an Pie Chart image with more than 1 slice using the function saveImage() it's not working. The image is only generate when its return is just 1 value (1 peace of pie).
    Anybody help me?
    Regards!

    It's not unique for your setup, but it also happens in 12.0.11, so it's a bug.  Looks like it is throwing a null pointer for some bizzare reason when generating the GIF output by the ImageStorageServlet (per the NW logs). 
    Your best bet would be to log a ticket so it can be patched.
    12.1.7 seems to work fine.
    Edited by: Michael Appleby on Nov 23, 2010 2:39 PM

  • Create Multiple Pie Charts with Drill Down capability(foreach in mainreport

    Hello All,
    i need to create a report with 4 pie charts, which should have drilldown capability. i tried to do that, and i can do only for two charts. i need for the rest 2 also.
    Please help.
    Thanks

    See this thread:
    BO Design studio Chart Component issue ...!! | SCN
    If Chart is bound to DS_1 and On Select event of chart is as below:
    DS_2.setFilter(dimension, CHART_1.getSelectedMember(dimension));"
    This works when you click a value on one chart it will select another.
    I haven't tried it with hierarchies.

  • 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

  • Pie chart using httpservice

    hello guys i am using a httpservice for giving dataprovider
    to pie chart ..When this service return a single record ,pie chart
    do not show anything instead of showing 100%...
    problem occurs when my service return this..
    <?rss version="2.0"?>

    <data>

    <SalesReport>
    <status>Assigned</status>
    <inquiry>22</inquiry>
    </SalesReport>
    </data>
    otherwise it's work fine.......if it return
    <?rss version="2.0"?>

    <data>

    <SalesReport>
    <status>Assigned</status>
    <inquiry>22</inquiry>
    </SalesReport>
    <SalesReport>
    <status>New</status>
    <inquiry>12</inquiry>
    </SalesReport>
    </data>
    Here is my code .... Please help me .....
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #808080]"
    creationComplete="init();">
    <mx:Style>
    <mx:Script >
    <![CDATA[
    import mx.binding.utils.BindingUtils;
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    import mx.controls.Alert;
    [Bindable]
    public var reportData10A:ArrayCollection;
    [Bindable]
    public var reportData10A1:ArrayCollection;
    [Bindable]
    public var comboData10A:ArrayCollection;
    public var fromMonth10A:Number;
    public var techID:Number;
    public var salesPerson10A:String;
    [Bindable]
    public var comboData10A1:ArrayCollection;
    public function mytest10A():void
    salesPerson10A = salesPesronCombo.selectedLabel.toString();
    var salesPID:Number = mytest10A2(salesPerson10A);
    fromMonth10A = monthFromCombo10A.selectedIndex + 1 ;
    techID = TechnologyCombo.selectedIndex+1;
    var str:String ="
    http://reena-new:3021/reports/specperson_spectech?year="+yearCombo10A.selectedLabel+"&pers on="+salesPID+"&month="+fromMonth10A+"&techid="+techID;
    Alert.show(str);
    reportService10A.url="
    http://reena-new:3021/reports/specperson_spectech?year="+yearCombo10A.selectedLabel+"&pers on="+salesPID+"&month="+fromMonth10A+"&techid="+techID;
    reportService10A.send();
    reportData10A = new ArrayCollection();
    reportData10A =
    reportService10A.lastResult.data.SalesReport;
    public var i:Number;
    public var salesPersonId:Number;
    public function mytest10A2(str:String):Number
    for(i=0;i<comboData10A.length;i++)
    if(comboData10A.name==str)
    salesPersonId = Number(comboData10A.id);
    break;
    return salesPersonId;
    public function init():void
    this.comboData10A = new ArrayCollection();
    this.reportData10A = new ArrayCollection();
    this.comboData10A1 = new ArrayCollection();
    //reportService10A.url="
    http://reena-new:3021/reports/specperson_spectech?year=2008&person=1&month=04&techid=1";
    reportService10A.url="my.xml";
    reportService10A.send();
    comboService10A.send();
    ComboService10A1.send();
    public function getData10A(event:ResultEvent):void
    reportData10A = new ArrayCollection();
    reportData10A= event.result.data.SalesReport;
    //Alert.show(reportData10A.length.toString());
    public function getComboData10A(event:ResultEvent):void
    comboData10A = new ArrayCollection();
    comboData10A = event.result.data.SalesPerson;
    public function getComboData10A1(event:ResultEvent):void
    comboData10A1 = new ArrayCollection();
    comboData10A1 = event.result.data.technology;
    ]]>
    </mx:Script>
    <mx:HTTPService id="reportService10A"
    showBusyCursor="true"
    result="getData10A(event);" />
    <mx:HTTPService id="ComboService10A1"
    showBusyCursor="true"
    url="
    http://reena-new:3021/reports/techlist"
    result="getComboData10A1(event)" />
    <mx:HTTPService id="comboService10A"
    showBusyCursor="true"
    result="getComboData10A(event);" url="
    http://reena-new:3021/reports/personlist"/>
    <mx:Canvas id="report10A" height="75%" width="70%" x="0"
    y="100"
    verticalScrollPolicy="off" horizontalScrollPolicy="off">
    <mx:PieChart id="pie10A" x="0" y="25" width="350"
    dataProvider="{reportData10A}"
    showDataTips="true"
    >
    <mx:series>
    <mx:PieSeries
    field="inquiry"
    labelPosition="callout"
    nameField="status"
    />
    </mx:series>
    </mx:PieChart>
    <mx:Legend dataProvider="{pie10A}" />
    <!-- <mx:PieChart id="pie10A1" x="365" y="25"
    width="350"
    dataProvider="{reportData10A1}"
    showDataTips="true"
    >
    <mx:series>
    <mx:PieSeries
    field="inquiry"
    nameField="name"
    labelPosition="callout"
    />
    </mx:series>
    </mx:PieChart>
    <mx:Legend dataProvider="{pie10A1}" x="350" /> -->
    </mx:Canvas>
    <mx:Canvas x="0" y="0" height="90" width="100%">
    <mx:HBox y="30" id="combo10A" x="0" >
    <mx:Label text="Sales Person" fontSize="12"/>
    <mx:ComboBox width="100" id="salesPesronCombo"
    change="mytest10A()();"
    dataProvider="{comboData10A}" labelField="name">
    </mx:ComboBox>
    <mx:Label text="Technology" fontSize="12"/>
    <mx:ComboBox width="100" id="TechnologyCombo"
    change="mytest10A()();"
    dataProvider="{comboData10A1}" labelField="name">
    </mx:ComboBox>

    this is the answer ................
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #808080]"
    creationComplete="init();">
    <mx:Script>
    <![CDATA[
    import mx.binding.utils.BindingUtils;
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var xmlResult:XML;
    public function init():void
    Alert.show("we are here");
    myService.url="my.xml";
    myService.send();
    public function onResult(event:ResultEvent):void
    xmlResult = new XML
    xmlResult = XML(event.result);
    Alert.show(xmlResult);
    ]]>
    </mx:Script>
    <mx:HTTPService id="myService" url="my.xml"
    result="onResult(event)"
    resultFormat="e4x"/>
    <mx:PieChart id="pie10A" x="0" y="25" width="350"
    dataProvider="{xmlResult.child('SalesReport')}"
    showDataTips="true"
    >
    <mx:series>
    <mx:PieSeries
    field="inquiry"
    labelPosition="callout"
    nameField="status"
    />
    </mx:series>
    </mx:PieChart>
    <mx:Legend dataProvider="{pie10A}" />
    </mx:Application>
    Thanks

  • Getting the field value of a clicked on pie slice in a pie chart?

    I have tried and searched for hours and can not get this
    simple little thing to work.
    I have a pie chart with the following event handler:
    itemClick="chart_click(event)"
    The pie series comes from a simple httpservice that has a
    country and a count:
    <mx:PieSeries
    field="count"
    nameField="value"
    labelPosition="callout"
    calloutGap="5"
    labelFunction="display"
    showDataEffect="{interpolate}">
    All I want to do is capture the value of the nameField (EG:
    Canada)
    I have no problem getting the index of the selected series
    but I can not get the nameField value of that slice. This is what I
    have:
    public function chart_click(e:ChartItemEvent):void
    Alert.show(searchByPieChart.series[e.hitData.chartItem.index].nameField);
    All I get is the string "value" which is the name of the xml
    tag bound to the nameField. What do I need to do ?

    Uggg.
    I got it:
    Alert.show(e.hitData.item.value);

Maybe you are looking for