Adobe Flex Pie Chart

Hi,
    I want to populate data from a query template to a adobe flex pie chart. I am doing this because business user prefers beautiful objects ;).
Can anyone help me out in how to achieve this. I have some knowledge about flex.
Thanx in Advance

Hi,
   You can see a Video tutorial on xMII-Flex integration made by Abesh
at /people/abesh.bhattacharjee/blog/2007/08/27/use-xmii-services-in-adobe-flex-20-video
Coming to your question
you should declare the web service in your flex application as
<mx:HTTPService id="ServiceName"/>
then you can call it in a function let's say Hi()
private function Hi():void{
ServiceName.url=encodeURI("http://xMIIServerIP/Lighthammer/Illuminator?QueryTemplate="PathToQueryTemplate"&IllumLoginName="LoginName"&IllumLoginPassword="Password"&content-type=text/xml");
               ServiceName.send();
You can call this function in any event according to your requirements.
Note: The URL is specific to 11.5 version of xMII. You may need to change it accordingly for 12.0.
Regards,
Musarrat

Similar Messages

  • Using Flex 3D Charts in Flex Builder 3

    Hi all,
    has anyone successfully used the Flex 3D Charts library in FlexBuilder 3?
    The component is at
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1047 990
    and having trawled back there was some chatter about the library back in 2007, but few people seemed to have got it to work.
    I can draw a blank chart area (ie carefully not adding a data series to the chart) but as soon as a series is added I get an error starting
    Cannot access a property or method of a null object reference.
        at com.adobe.flex.extras.charts.series::Column3DSeries/describeData()[C:\perforce\depot\flex \components\FlexComponents\com\adobe\flex\extras\charts\series\Column3DSeries.as:870]
    with a whole load of stack trace following on. This happens whether I use MXML or create at runtime in an AS class.
    I notice that the library only claims compatribility with FB 2.0 but had hoped there would be backwards compatibility.
    Thanks,
    Richard

    We have added 3d versions of the charts to our Spark based Flex charting framework : http://blog.flexicious.com/post/Flexicious-30-Release-Flex-Spark-Charts-with-Skinning-Supp ort.aspx

  • Pie charts in adobe acrobat pro (10.1.13)

    I have made some fillable forms in Adobe Acrobat pro (10.1.13), and would like to make 3 pie charts of the inputs made in the form, is that possible, if so how?
    Thanks for all infos in advance.
    Peter

    There's no such built-in functionality in PDF forms. You can try to develop your own component (maybe in Flash), but it's going to be a very complex task.

  • How do you ungroup or expand a pie chart in Adobe Illustrator CS6?

    How do you ungroup or expand a pie chart in Adobe Illustrator CS6? This functionality seems to have been removed. Say I'd like to remove the legend: before, I could ungroup the chart, release its link to the data, and then delete the legend with my white mouse. Object > Expand no longer works either. This is supremely frustrating.

    In the end, I closed the dialogue box that shows the data, and was able to choose Object > Ungroup. Then it prompted me saying: "The selection contains a graph. After a graph is ungrouped you will no longer be able to access its graph style, its data or change its graph designs." - Which is what I was looking for. So in short, when the data is open, everything under Object will be greyed out. Additionally, Object > Expand no longer works in CS6.
    As a note, before I figured all this out, I resorted to a quick clipping mask to get rid of the legend, since selecting with the direct selection tool (A) and deleting was met with a 'you can't do that' prompt. That worked nicely, and kept the data.

  • Problem with Xcelsius 2008 sp3 service pack chart slider into adobe flex

    Hello All,
    I tried to use the Xcelsius 2008 SP3 and created a Chart with a slider the new UI element which is introduced in the Service pack versions ..  now i tried to implement the logic in Adobe flex builer 3 setting the compiler properties as hot fix 2.0 . Followed all the rules like creating an action script and creating MXML component.. Now when i try to embed the same swf whic is generated into webdynpro component it gives me error tht some classes or some events or some variables are missing..
    According to my assumption i doubt wether the xcelsius 2008 sp3 will support the adobe flex 3 with this hot fix which i was initialy using .. So can anybody suggest me what can be doen to overcome this issue and make my new chart with slider run in my webdynpro abap :(...
    Regards,
    Sana.

    Hi Sana,
    You might be using Flex 3 sdk library files.
    Just check in Properies of your Flex project -> Flex Build Path -> Library Path .
    You might get the library files as Flex 3.*
    If it is the case then change it to Flex 2.0.1 Hotfix 3.
    now create a new project and compile your application and use the same swf.
    Otherwise try to import any existing Flex 2 project folder with compiler flex 2 ver. then try the same swf in your xcelsius application.
    Regards,
    Vivek

  • 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

  • Dotted navigation using Adobe Flex 3 or 4

    Hi,
    I have a requirement of showing pie chart with different data using 'dotted navigation' Attached is the screenshot of which I need to implement similarly using Flex
    If use clicks left or right arrows, I need to show pie chart with different data accordingly.
    Do we have any component like this in Adobe Flex?
    Anyone has any suggestion how can we implement it using Adobe Flex 3 or 4?
    Many Thanks
    Pavan

    It figures, that as soon as i posed this i found the answer to my questions.
    FWIW, here is the answer.
    http://labs.adobe.com/technologies/flashbuilder4/?tabID=details#FAQ
    Please feel free to corect me if i am wrong, but the way i read it and interpret it is that Flash Builder 4 will replace Flex Builder.

  • How to retrieve pie chart wedge id

    Hi.
    I'm trying to figure out how to get an id or index of a specific wedge from a pie chart
    I think I'm close. I just need to find the right path to the wedge id.
    This is what I have so far.
    <fx:Script><![CDATA[
            import mx.charts.events.ChartItemEvent;
            private function itemClickHandler(e:ChartItemEvent):void {
                var selectedIndx:String= e.currentTarget.series.index; //<--returns null
        ]]></fx:Script>
    <s:VGroup>
            <mx:PieChart width="220" height="220" id="piechart1"
                         dataProvider="{srv.lastResult.AAFunds.fundName}"
                         itemClick="itemClickHandler(event)"
                         >
                <mx:series>
                    <mx:PieSeries  displayName="pie series 1" />
                </mx:series>
            </mx:PieChart>
        </s:VGroup>

    Figured it out.
    Here is a simple example;
    <?xml version="1.0" encoding="utf-8"?>
    <!-- http://blog.flexexamples.com/2007/11/15/displaying-a-pieseries-items-data-when-a-user-clic ks-an-item-in-a-flex-piechart-control/ -->
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:s="library://ns.adobe.com/flex/spark"
        >
        <fx:Declarations>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.charts.series.items.PieSeriesItem;
                import mx.charts.events.ChartItemEvent;
                [Bindable]
                public var chartDP:Array = [
                    {wedgeName:'Pie wedge 1', percent:45 },
                    {wedgeName:'Pie wedge 2', percent:25},
                    {wedgeName:'Pie wedge 5', percent:22},
                    {wedgeName:'Pie wedge 4', percent:8}
                private function pieChart_itemClick(evt:ChartItemEvent):void {
                    var psi:PieSeriesItem = evt.hitData.chartItem as PieSeriesItem;
                    myTextArea.text += "\rwedgeName: "+psi.item.wedgeName+" percent: "+ psi.item.percent;
            ]]>
        </fx:Script>
    <s:VGroup>
        <mx:PieChart id="pieChart"
                     dataProvider="{chartDP}"
                     itemClick="pieChart_itemClick(event);"
                     showDataTips="false"
                     height="300"
                     width="300">
            <mx:series>
                <mx:PieSeries id="pieSeries"
                              field="percent">
                </mx:PieSeries>
            </mx:series>
        </mx:PieChart>
        <s:TextArea id="myTextArea"  y="82" width="350" height="250" />
    </s:VGroup>
    </s:Application>

  • 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 Advance

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

  • Oracle APEX versus Adobe Flex on AIR

    Hi
    I need advantages and disadvantages Oracle APEX versus Adobe Flex on AIR. I don't know Adobe and need your help. (we fight about our potential customer).
    Project:
    40 users insert own actvities into database. Supervisor analyse this info (reports, charts). Users connect to app via mobile phone EDGE using laptop.
    Regards

    Hello again,
    From the end-user perspective, FLEX applicatoins are more graphic in nature, in that they are truly graphic. APEX (at least through 3.2) generates a standard HTML type of web page. You can do graphics type of code, but Flex creates applications that will only run with Adobe tools. Flex generates an HTML page, but it calls a .swf file and plays that.
    Unless it is critical that you have that fully graphic interface (a .swf file type of image that plays), standard HTML is much better. You can still generate graphs, charts and such; incorporate images in your page and all the things that standard web pages have.
    With APEX, your users will see a standard HTML web-page type of interface, which most users today know how to use and expect.
    Thanks,
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)

  • 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

  • Need Help In Flash/Flex Line Charts...Output should be like stock exchange chart

    Hello Friends,
    I need a small help from you guys.
    I want to do a line chart example in flash cs3 or in flex. Actually my requirement is getting the data from external file ie xml and with that i want to display a line chart with some time interval just like stock exchange charts for example.
    I have to do this either in flex or in flash cs3. i dont have any ideas how to proceed. can anyone help me out on this. i need it asap.
    Thanks
    Rajesh

    hi
    flex has charting components you can use. see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/charts/LineChart.htm l (example at the bottom of page)

  • Flex 2 charting trial watermark appears when building via Ant

    The trial watermark appears when building with the flex Ant
    tasks, but not via Flex Builder 2. I believe the Ant tasks set up
    the compiler options with the same arguments in FB, and the build
    library path is also the same, but the trial watermark still
    appears.
    The charting source has been extracted into the Flex SDK 2
    directory, and the license key appears in the
    frameworks/license.properties file. As far as I know, these are the
    only steps needed to install the paid version of the charting
    tools. If I missed something, please let me know.
    Thanks in advance,
    KaJun

    Just an update on this issue:
    If I run the mxmlc compiler from the command line, I found
    that the output .swf does not have the watermark. It seems to be a
    bug in the Adobe Flex Ant tasks. I've changed the build script to
    use an exec call to the compiler instead.
    Thanks,
    KaJun

  • 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

  • Pie Chart summarizing grid data

    New to Flex.  Searched for a method to build a pie chart based on a column in the grid we've created.
    So Far:
    The grid gets created based on info passed in a form.
    I can get two pie charts to be created based on specific columns in the data.
    The pie charts currently have 1 slice per row of data.
    Am I missing an easy way to build a Pie Chart that summarizes this?
    Instead of One Pie Slice per record, how do we get one pie slice per unique value in the data column?
    For instance:
    a datagrid of   source IP | Dest IP | Dest Port | Action
    I'd like a pie chart showing the percent of data per source IP.
    Is there something built in to Flex to handle this?

    Cool...  So if my XML looks like this:
    <options>
    <option>
      <datetime>2008-04-21 14:15:49</datetime>
      <origin>stone</origin>
      <action>reject</action>
      <rule>default</rule>
      <srcip>192.168.93.64</srcip>
      <dstip>192.168.201.10</dstip>
      <dport>988/tcp</dport>
    </option>
    </options
    And datagrid dataprovider is {eventData},
    eventData = event.result.option as XMLList;
    would it be:
    var ipSummary:Object = {};
    for each (var record:Object in eventData) {
      ipSummary[record.srcip] = (ipSummary[record.srcip] || 0) + 1;
    var pieData:Array = [];
    for (var key:String in ipSummary) {
      pieData.push({ srcip: key, activityCount: ipSummary[key] });
    The PieChart would look like:
    <mx:PieChart id="piechart2" dataProvider="{pieData}" showDataTips="true">
    <mx:series>
      <mx:PieSeries id="pieact" displayName="Source IP" field="activityCount"/>
    </mx:series>
    </mx:PieChart>
    Obviously I'm New at Flex...  

Maybe you are looking for

  • Can't see external firewire drive (DOS Fat 32) over network

    When I connect to another computer via airport (old/slow airport) I can't see a firewire 400 drive that is connect to the computer. The drive is mounted and working properly on the networked computer. The only caveat I can think of is that it has bee

  • Computers not showing up in Finder Network pane

    Hi; Prior to, and immediately after, installing a new external HD, the other computers on my network appeared on the Network pane in the Finder as expected. I was able to drag/copy files back and forth. I then updated the firmware for the external HD

  • Skype video not working on Samsung TV

    I purchased the VG-STC2000 camera from the Skyp store for my Samsung series 6 smart tv. Video works on the tv screen and we can video chat between my laptop and the tv using our two different skype accounts. The issue is when we call, or receive a ca

  • Single artist is appearing twice in My Music

    One artist, one album, saved in one folder on my PC. Yet she appears twice in My Music. In one of the appearances there is one track, in the other are the rest. They both appear in My Music with the same artist name and same album name. How do I merg

  • Server 2012R2- RDS Farm Certificate Miss-Match on Session Hosts

    Hi Guys, I've another RDS2012R2 issue. Internal and external domains do not match. External: domain.com.au; Internal: domain.com.net. I'm getting certificate miss-match errors when connecting to the Farm/RemoteApps. I have performed the follow fixes: