Pie Chart Animation through Script

hi,
i want to animate a pie chart which created dynamically through script.
please help.
Thanks

Hi there
Not sure how you want to animate your chart but, in the example below the chart is created in code.  I've instansiated a SeriesInterpolate class and set the showDataEffect of the series.  This then aminates the chart when the data changes.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="createChart()" >
    <mx:Script>
        <![CDATA[
            import mx.controls.Button;
            import mx.charts.effects.SeriesInterpolate;
            import mx.charts.series.PieSeries;
            import mx.charts.PieChart;
            import mx.collections.ArrayCollection;
            private var pie:PieChart;
            [Bindable]
                private var medalsAC:ArrayCollection = new ArrayCollection( [
            { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
            { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
            { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
            [Bindable]
                private var medalsAC2:ArrayCollection = new ArrayCollection( [
            { Country: "USA", Gold: 105, Silver:25, Bronze: 15 },
            { Country: "China", Gold: 32, Silver:22, Bronze: 20 },
            { Country: "Russia", Gold: 85, Silver:55, Bronze: 35 } ]);
            private function createChart():void {
                pie = new PieChart();
                pie.width = 300; pie.height=300;
                pie.x = 100; pie.y = 100;
                pie.dataProvider = medalsAC;
                // Series interpolate is one type of animation available
                var si:SeriesInterpolate = new SeriesInterpolate();
                si.duration = 2000;
                var ps:PieSeries = new PieSeries();
                ps.field = 'Gold';
                ps.setStyle('showDataEffect',si);
                pie.series = [ps];
                addChild(pie);
                var btn:Button = new Button()
                btn.label = 'ChangeData';
                btn.x =10; btn.y = 10;
                btn.addEventListener(MouseEvent.CLICK, changeData);
                addChild(btn);
            private function changeData(event:MouseEvent):void {
                pie.dataProvider = medalsAC2;
        ]]>
    </mx:Script>
</mx:Application>
Hope this helps you on your way.
Andrew

Similar Messages

  • Rugged lines in Pie chart

    Hi,
    When i create pie chart in MS Excel and copy it to illustrator and remove unwanted elements and again export it to QuarkXpress/InDesign in .EPS format, in transparent mode. I get a rugged cirle lines.
    When everything is done and the PDF of the file is created, when i close obsever the pie chart in through the Adobe Reader, the pie chart shows rugged circle instead of smooth circle. Is it fine or ?

    Hi Mike,
    Thanks for the input. But my report is to show top 3 salaries from all job types.
    below is my query:
    select null link, job,sal from (
    select job,sal from (
    select job,sal,
    row_number() over(partition by job order by sal desc) rn
    from emp)
    where rn<2
    order by sal desc)
    where rownum<=3;
    In this case how can i multiply the total sal with sal?
    Regards
    Mohan

  • Drilling down to CLM report from pie chart developed with Xcelsius

    Hi All,
    We have a requirement about drilling down to CLM side report upon clicking on the piece of pie that is developed using Xcelsius.
    1)For Example, below is a pie chart(developed through xcelsius) showing the information about the agreements expiring in certain period. We have placed it on the user workbench.
    Upon clicking on any piece of a pie, it should navigate to the detailed report showing the details of the master agreements.(as below)
    Can anyone please help in achieving this through Xcelsius?
    2)Is it possible to include any URLs in the list view(in Xcelsius), so that we could open the master agreement from it?
    Thanks,
    Vennela

    Well I assume A1, B1 are same reports with filtering on A and B.
    If this is the case make one report and say the filter(A or B) is prompted and when you click in the chart it goes to the report filtered by A or B depends on where you click.

  • Pie chart created in edge animate changes to a square animation when imported into dps

    I Have created an animated pie chart in edge animate and all works fine.
    I then import into indesign and again all looks fine (even though at this stage it is a flat image) but when i export for dps and preview folio etc the animation turns from a circle to a square.
    Anyone have any pointers or experinced the same problem etc?
    Cheers

    The top image is a screen shot from edge and what it should be like, and the bottom image is of when you preview it in dps
    Also when i view this in browser via edge animate and then preview it seems fine and as you can see on the bottom image when i import the oam into indesign again it is fine but then when I come to preview my 'folio it turns the animation from a circle into a square.
    Also if its any help, the animation works perfectly if exported by epubs and viewed through ibooks.
    Thanks,

  • Pdf generated through API's does not display pie chart

    I'm using BIP 10.1.3.4, running on Oracle Linux 5 connecting to a 11g database.
    I developed an RTF using the word template builder and included a pie chart. Previewing from within Word works fine, running the report directly from BIP works fine. I then used the API's to generate the pdf programmatically to have more control.
    I use RTFProcessor to convert my RTF into a XSL, DataProcessor to generate the xml data and FOProcessor to generate the final PDF. This works fine running from local JDeveloper, connecting through to the remote database.
    I've now loaded the java class with the API's into the database, and as per http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12188/T421739T517850.htm#T520954, loaded up the following jar's
    xdocore.jar - the core BI Publisher library
    aolj.jar - although this is an Oracle E-Business Suite library, it is required for standalone implementations as well
    i18nAPI_v3.jar - the i18n library used for localization functions
    xdoparser.jar - the scalable XML parser and XSLT 2.0 engine
    xmlparserv2-904.jar - the main XML parser/XSLT engine
    bipres.jar - a charting library
    bicmn.jar - a charting library
    jewt4.jar - a charting support library
    share.jar - a charting support library
    collections.jar - you only need this if you are working with the delivery APIs or bursting engine.
    The report works fine, all data tabels are shown but the pie chart is missing. I originally got the jar files from the TemplateBuilder/jlib directory. I also tried using the jar files from the BIP/xmlpserver\WEB-INF\lib directory as well. Problem remains - everything works fine except for the lack of the pie chart !
    Any help would be greatly appreciated :)
    Cheers,
    Brent

    bump .... anyone had similar problems ?

  • Drill through in Pie Chart/Range Guage

    Hi
    I enable drill thorugh in my Pie Chart and Range Guage( Dial Guage) in the BAM reports.
    How to change the value format for the drill through fileds. IF we go to the value format the drop down for filed selection just shows the fields used to configure the Guage or pie chart and not the fileds used for drill though
    How can we change the format for the fields used for drill through
    TO reproduce
    Just take some id, process name, exceution time,status( success/failure). The dial guage shows just the execution time average.Now in drill through it has details for id. processname, started/failure. How to change the format for these fields.When u select properties and then go to value format tab and the dropdown for fields will show only execution time not status, processname or id.
    How to change the value format for these fields

    I don't think this is a bug. This happens only for the drill through reports that get created by default for a particular view. Because you are trying to look for formatting options for drill through report from the context of your main report editor, you are finding it as bug. It will be very difficult to provide all such options for DEFAULT drill through report in the context of MAIN report. I think may be we can add a line or two in our documentation to clarify this part, that should be sufficient.

  • Grow/Animate Pie Chart

    I've searched high and low on how to do this and can't find anything. Here's the scenario - Lets say you have a pie chart and you want to animate it so that you have 2 sections both at 50%. But you want to show 1 half of the 50% starting at 20% then growing to 50% then the other half can grow to fill the pie chart. There's no way to make one half go from 20% then grow to 50% with out it being made into 2 different sections- it makes it a separate set/section and different color. Same thing with bar graph, you can't make the same line animate to grow higher. There doesn't seem to be a way to append on to the same bar.
    It's late and I may not be very clear, if so just let me know and I'll try to rephrase it.

    The top image is a screen shot from edge and what it should be like, and the bottom image is of when you preview it in dps
    Also when i view this in browser via edge animate and then preview it seems fine and as you can see on the bottom image when i import the oam into indesign again it is fine but then when I come to preview my 'folio it turns the animation from a circle into a square.
    Also if its any help, the animation works perfectly if exported by epubs and viewed through ibooks.
    Thanks,

  • CR 8.0 pie chart/graph doesn't appear in web browser

    Post Author: kevind
    CA Forum: Charts and Graphs
    Hi,
    I am using a CR 8.0 report (containing data in tabular format and Pie/Bar graph) with Web component Server.
    In design mode (by entering the parameters) when i view my report through the CR IDE then i can view my report perfectly with the pie and bar graphs.
    However,once i call the same report through the web component server, by my JSP page, the report appears with the data but the page containing the piechart/Bar graph doesn't appear. (i am using the ActiveXViewer)
    When i remove the chart/graph, then all the pages are displayed in my browser (IE) properly, but if i add back the pie chart then the page on which this should appear -  doesnt display.
    Has anyone faced a similar issue? In design it displays with data but once called through webcomponent server it fails?
    Thanks,
    Kevin D

    Hello Subramaya,
    currently I am working on a small article in the Wiki area of the ITS (Wiki, ITS HowTos): <a href="https://wiki.sdn.sap.com/wiki/display/HOME/UsingSAPGUIforHTMLinsteadofanIAC">Using SAP GUI for HTML instead of an IAC or EWT service</a>.
    Also see notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417, "Integrated ITS, Closing Session When Transaction Ends". I am pretty sure that this is exactly what you are looking for.
    With best regards,
      TJ

  • Display the value as percentage in pie-chart in WEBI

    Hi Experts,
       I have two measures  No. of Sales Transactions and Customer Visit. And I created a measure named CustomerConversionRate.
    ie, CustomerConversionRate = ([No. of Sales Transactions]/[Customer Visit])*100.
    So my requirement is that CustomerConversionRate is  to be display  into a pie chart in WEBI . CustomerConversionRate always a percentage.I
    hereby attached a sample pie-chart based on my requirement.
    Eg:CustomerConversionRate=79.27 and Remaining = 20.73
    I want to display  CustomerConversionRate=79.27  and Remaining = 20.73 into a pie chart in WEBI

    Hi ,
    Add 1 more Query with dimension that will have values
    Completed      Or      X
    Remaining      Or      Y
    Duplicate your Query And Keep only 1 Dimension [Extra_Dim]( Remember this Dim Name you have to use it in different way so it would be better if use any Dimension which is not there in First Query )
    Go To--> View Script --> Custom SQL
    write below code in Query Script Editor
    SELECT
      'Completed' As "CATEGORY"
    FROM
      "YOUR_TABLE"  Table__1
    Union
    SELECT
      'Remaining' As "CATEGORY"
    FROM
      "YOUR_TABLE"  Table__2
    And Save this Query .
    Now Rename this Query as Pie Dimension .
    Now You can Use [Extra_Dim] As [Achievment_Status]
    Create Measure Variable [Achievment_Val] as mention above .
    And use it

  • How to show legend values ON PIE in pie chart View

    Hello experts ,
    I have a requirement to show the values of the legend ON the pie in a PIE chart view .
    Usually when I give show data labels "always" option , that displays the % on top of the pie or side to the pie but Iam trying to get the % value ON the pie and
    I am wondering to know is there any way we can show the actual value instead of percentage in PIE view .
    Can somebody please help me through this .
    Thank you
    Karthik

    Hi,
    I have a requirement to show the values of the legend ON the pie in a PIE chart view .
    Usually when I give show data labels "always" option , that displays the % on top of the pie or side to the pie but >Iam trying to get the % value ON the pie By dedault you don't have this, by changing the pie.pcxml we can achieve this.
    It is in the folder <OracleBI_home>\web\app\res\s_oracle10\popbin
    But the changes you do will affect all the pie charts as whole. Before do the changes take the backup of pie.pcxml.
    In the pie.pcxml, Goto -> DataLabels tag, by default the value would be Position='OutWithLeader'
    Change that attribute to, Position='Inside'
    After the changes save and restart javahost and presentation server.
    This will do.
    If you don't want the pcxml change, create your new pcxml file and point it.
    I am wondering to know is there >any way we can show the actual value instead of percentage in PIE view . Change the setting as bifacts said.
    Thanks,
    Vino
    Edited by: Vinodh NK on Oct 12, 2010 1:34 AM

  • Pie Chart with Legend

    Hey Experts,
    I have a small issue but cannot seem to find the solution. I have a pie chart with legends which I want to show side by side (horizontally). First pie chart and then legends. My requirement is that when the window is resized, the pie chart should also resize. I am able to show the chart and legends horizontally but when the legends list is long, the pie chart is always aligned in the center vertically. I tried setting all properties such as verticalAlign = "top", verticalCenter = "false", tried putting pie chart and legends in a separate VBox but nothing seems to work. Below is the code snippet.
    I believe others would have faced this problem. Can someone help?
    <mx:HBox width="100%" height="100%" verticalAlign="top" verticalCenter="false">
         <mx:VBox width="100%" verticalAlign="top" verticalCenter="false">
              <mx:PieChart id="pieChart" width="100%" height="100%" showDataTips="true" minWidth="200" minHeight="200" verticalCenter="false"/>
         </mx:VBox>
         <mx:VBox width="100%" verticalAlign="top" verticalCenter="false">
              <mx:Legend width="100%" height="100%" dataProvider="{pieChart}"/>
         </mx:VBox>
    </mx:HBox>

    Hi Dajji,
    Here is the code which resolves the problem...
    Note: In the code below I have removed the percentage width and height for PieChart.....that resolves the problem.....but the thing here is as you resize
    your browser window the piechart width and height will not change accordingly...? Do you need PieChart to change its dimensions as your browser window
    resizes...???
    However if you specify width="100%" and height="100%" for PieChart you never gonna acheive the PieChart to be vertically alined to top.....why because
    as you specified width="100%" and height="100%" for PieChart it occupies the total dimensions of the VBox but the actual visible portion dimensions are
    less... because within the VBox you also have the legends so Flex will assign the sizes proportionately....for PieChart and Legends..
    Hope you got my point...So you should remove the width="100%" and height="100%" for PieChart then you can acheive what you needed...
    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the PieChart control. -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" height="100%" width="100%">
        <mx:Script>
            <![CDATA[         
            import mx.collections.ArrayCollection;
            [Bindable]
            private var medalsAC:ArrayCollection = new ArrayCollection( [
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 },
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
            private function displayGold(data:Object, field:String, index:Number, percentValue:Number):String {
                var temp:String= (" " + percentValue).substr(0,6);
                return data.Country + ": " + '\n' + "Total Gold: " + data.Gold + '\n' + temp + "%";
            ]]>
        </mx:Script>
        <mx:Panel title="Olympics 2004 Medals Tally Panel" height="100%" width="100%" layout="horizontal" verticalAlign="top">
               <mx:VBox verticalAlign="top" height="100%" width="100%">
                 <mx:PieChart id="chart"
                     showDataTips="true"
                     dataProvider="{medalsAC}">         
                     <mx:series>
                         <mx:PieSeries
                             nameField="Country"
                             field="Gold"
                             labelFunction="displayGold">
                         </mx:PieSeries>
                     </mx:series>
                 </mx:PieChart> 
               </mx:VBox>                 
             <mx:Legend dataProvider="{chart}"/>
        </mx:Panel>
    </mx:Application>
    Thanks,
    Bhasker Chari

  • 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

  • Pie Chart displaying percentages

    Good Morning,
    I'm hoping someone has had experience creating a pie chart
    with percentage values and is wiling to offer some assistance
    because I've tried many ways and still came up short.
    The data table I'm using contains two columns: type (A, B, C,
    etc) and amount (100, 250, etc).
    In order to create a chart showing what percent of the whole
    each type is, I need to sum all the amounts for all types then
    divide each type by the sum of all amounts (to create each slice).
    Any suggestions on how to do this through CFquery and
    CFchart?
    Thanks in advance,
    Sue

    Add this line in the graph you are putting in RTF template.
    Right click the image, properties and the last tab web.
    add this under the graph node.
    To get the actual Value use this.
    <SliceLabel textType="LD_VALUE"/>
    Other vaules you can use are
    LD_TEXT_PERCENT, LD_VALUE , LD_TEXT , LD_PERCENT

  • Pie Chart in WEBI is Grey color

    Hi All,
    As part of my project requirement I need to develop a WebI report with Table and Pie chart.I selected the pie chart, intially it was in grey color and assigned the data to chart .When I tried to change the color of the chart it is not displaying colors.Please suggest me how to change the color of pie chart.
    As I gone through the posts in the SDN couldn't found much relevant information.
    Regards,
    Saroja

    Hi Saroja,
    I'm experiencing exactly the same problem. Did you by change find a solution in the meantime?
    P.S: I'm using Webi Rich Client version 14.0.9 build 1345
    Regards, Raimond

  • Can a Pie Chart have a variable number of slices?

    Is there a way to dynamically limit the NUMBER of slices that a pie chart shows?
    For instance, sometimes there might be 10 elements, sometimes 6 (last 4 are 'blank') or maybe 5 (last 5 are blank).
    Yes I know I can keep on reducing/increasing the Excel cells to include...but is there a way to include only certain ones as the data exists?

    My Behaviour tab for my pie chart does not HAVE the "ignore end blanks option"
    A Pie chart behaviour only includes "Display Status, Display Status Key, Entry Effect, Entry Duration and "Animation Enabled"
    I can't seem to find the "Ignore End Blanks" on any tab

Maybe you are looking for

  • Quality not the same after exporting movie made up of jpg images

    Basically I made an animation sequence on Autodesk Maya and rendered the sequence as 2000 jpeg images each representing 1 frame, put it in one folder and on Adobe Premiere imported and dragged the folder into the timeline to make a moving image so in

  • Issue running Load Test Scripts in an SSO environment

    Hello, I am performance testing some of our web applications that use SSO. Any script I record will play back fine but upon running them in the Navgation Editor I am getting HTTP/1.1 401 Unauthorized error messages. To combat this I configured Intern

  • Using an HDMI cable to connect to a monitor from Macbook Pro, but no sound

    I just purchased a HP2159 HD monitor, and hooked it up to my macbook pro via an HDMI cable, but there is no sound. Can anyone help me?

  • Wpg_docload from inside apex

    - I would like to use the below procedure to download an image in a new browser window. - I created a public dad - I created the following package/procedure: create or replace package body jmf as procedure download is v_bfile bfile; begin select bfil

  • How to keep earbuds from falling out?

    I got these earpuds with my iPhone 5s But I never really used them because they were a bit uncomfortable and kept falling out my ears. But I'm going on vacation soon and I don't want to lug around my headphones And i was thinking of using my earbuds