Flex Charting expert?

I am displaying multiple lines vertically in a linechart. User can make a rectangular selection on chartitems. I want to change the linechart background color of the selected region only.
So if user selects multiple region then I will be setting specific color based on the region user has selected.
Looking forward to your help!
--Imran

If this is what you are looking for, then you should add a mousekey down and up handler to your linechart. Draw a rectangle from event.stageX, event.stageY from downclick to upclick.
Hope this helps,
Balakrishnan V

Similar Messages

  • Summary fields on chart expert

    Post Author: training2go
    CA Forum: Charts and Graphs
    Hello,
    I noticed that summary fields that are used on the report do not appear on the chart expert as a field that you can select. Did I do something wrong or is this the way the chart expert works in Crystal Reports 2008? Thank you.

    Hi, Anne-Marie;
    You may be running into a common issue that is docuemented here:
    [SelectionFormula|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303334333833393335%7D.do]
    Regards,
    Jonathan
    Edited by: Jonathan Parminter on Mar 16, 2009 8:03 AM

  • Chart Expert - Why are some formula fields not available?

    I have a report where I had to do Running Totals with formulas.  Following what I learned long ago from the documentation, I laid in my formulas, and then setup some "Display" formulas to print out the results at the end of my report.
    Now I am adding a chart to show a sort of 'summarized' version of the report - its a simple Pie chart...
    But when I go into the Chart Expert and want to select those Display formula fields (there are 4 of them) - they do not appear in the list?
    FYI - These four Display formulas are in the Report Footer of the report, and my chart is in the Report Header. 
    Why do some of my formula fields appear in the Chart Expert "select field" list - while others do not?
    I checked the documentation on this, but it is very "lite" and does not indicate why this might be...
    Any help is most appreciated!

    Read again -  "Problem has been circumvented" NOT "worked around".  In other words, when you pay a fortune for a poorly documented piece of software and you are dependent on answers from a Forum, where at times no one answers your question(s) and your boss is shouting at you as to how you selected such a lousy piece of software with such "lite" documentation and is hardly going to pay any more money for a support call to answer a simple question that should have been covered (and then some) in the documentation, (let alone support of the problem) - you CIRCUMVENT, i.e. give up and find some other way to do what you were trying to do.
    Hence, problem circumvented, NOT worked around.
    Thanks for asking - here's 10 points for your efforts.

  • Save flex chart to server

    Hello All
    I am in need of your help in saving a flex chart on to the server. Basically I want to export the chart to excel, as I dont find any resource for Flash builder 4, SDK 3.5, I opted the option of 1. saving chart as image to server and 2. accessing that image file in my excel
    Any sample codes should be very helpful, as this is quite urgent. Thanks!

    The problem was, that it is not possible to see the pdf directly from transaction AL11.
    I used the transaction CG3Y to move the file from the server to my desktop, and there I can see the pdf file.
    Solved
    Thanks for the input.

  • Chart Expert option not working in CR 2011

    Hello,
    The Marker Shape option on the options tab on the Chart Expert, does not save the option that you select. For example, if you select the diamond option from the drop-down list, diamond do not appear on the report. This didn't work in CRXI or CR2008 either. Is this on a list of things to fix? There is an option for this on the Chart Options dialog box that works, but it isn't as convenient because I often forget that the dialog box exists.
    Thank you
    Tracy
    Q7

    Hi Tracy,
    Looking through Adapt I see this has been tracked multiple times and for multiple types of Charts, sometimes they are fixed, sometimes they are Postponed and some times they are simply marked as will not be fixed.... meaning we don't have control over the bug.
    The problem is the Charting Function is a third party dll and they can't fix the issue, so we can't either obviously. There are also two parts to the Charting function, Some part, the general Option is something we can get to but the extended features is something we can't get to through our SDK's.
    There have actually begin dropping the Third party dll and we've begun creating our our Java Charting resource. I don't know if there are any plans to port it over to CR 2011 for Windows, it is for the new CR for Enterprise Java Designer.
    So unfortunately your only option is to find the work around you did use and make a note somewhere what you did last time....
    Thanks again
    Don

  • Flex chart x-axis data spacing

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    also how i do put more data information, with each data point
    if a mouse if placed over it, not just the X & Y data points.
    thank you for any assistance.
    Tony

    thanks so much,
    The tip data solved my 2nd problem.
    Thanks for your suggestions to"
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    you mentioned about using min/max values on the x-axis. That
    is a good solution except i would then need to add buttons to say
    ,show the next 30 days.
    I really want to to show 90days of data data, with say 30
    days appearing at once, and the user just scrolls to see the rest
    of the days data without having to press buttons for more data. Any
    idea how i can do this?
    thanks
    Anthony

  • Flex chart how to put distance between x-axis data

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    thank you for any assistance.
    Tony

    I don't know what you mean then.
    If you set the min and max to be a certain number of days
    apart then you know the dates within those days will be displayed.
    That combined with the width of the chart will define how much
    space there is between x-axis points.

  • Flex chart x-axis spacing between data

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    also how i do put more data information, with each data point
    if a mouse if placed over it, not just the X & Y data points.
    thank you for any assistance.
    Tony

    thanks so much,
    The tip data solved my 2nd problem.
    Thanks for your suggestions to"
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    you mentioned about using min/max values on the x-axis. That
    is a good solution except i would then need to add buttons to say
    ,show the next 30 days.
    I really want to to show 90days of data data, with say 30
    days appearing at once, and the user just scrolls to see the rest
    of the days data without having to press buttons for more data. Any
    idea how i can do this?
    thanks
    Anthony

  • CR 9 - Need HELP Setting Line Graph colors in the Chart Expert

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I created a Crystal Report (CR) based off an existing Trend Analysis report. I have created a VB6 application that calls the .RPT file I created for the report in CR.  The VB6 app sets the report recordset via code that corresponds to the .TTX file, and the parameters .  The report contains a Line graph that plots five pieces of data.  The report & graph work good.  The Problem: CR determines the color of each line on the graph.  However, I need to set the color for each line to correspond to the colors used on our existing reports.  The users are accustom to a certain color representing a certain set of data on the existing reports.   I have tried everything I can think of and from all documentation I can find, and nothing changes the line colors.   I have tried all of the following:
    1.) From the Chart Expert, Option tab, I click the Format button next to Color and setup conditional color settings per each piece of data.   However, when I run the report these conditional color settings are not reflected on the CR graph.     I am using formula fields (based off database fields in the recordset) to produce the report.  However, I only see the database fields to use in the conditional color formatting screen and not the formula fields.    I thought this would possibly be the cause why the colors wonu2019t change on the CR, but I canu2019t find a way to make the formula fields show up in the list.
    2.)Also, I tried right clicking the individual lines of the graph and change the selected item color, but this didnu2019t change the color either.  I do this in Design mode and Preview mode and neither one changes the color of the lines on the graph.
    3.)I have also looked into the CR object model to see if I can change the line colors of the graph via code and it doesn't look like I am given this flexibility.
    Do you know what I am doing wrong here?   I just want to be able to set the color of each line on the CR graph to the color I want instead of using the default colors.  Are there some Hot Fixes that I need to apply to my copy of CR?
    Thanks

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I got the problem fixed w/ the line graph not making the data lines the same color on the report as on the frmPlot graph.   Compare the two screen shots below.   The problem was as follows:  When I created the graph (in the Chart Expert) the field u201CReadingDateu201D was not one of the Report Fields, and all the other fields were Report Fields (Reading, LowAlarm, UpperAlarm, LowerLimit, & UpperLimit). See the 3rd screen shot below.  ReadingDate does show up as a Report Field now but it wasnu2019t at first.   Originally, this field was only available in the Chart Expert as a recordset field.  When I changed this field to be a Report Field, the graph then allowed me to change the data series line colors.   This was not obvious at all.   From the beginning when I setup the graph and passed in the recordset from VB it graphed all of the data series fine.   The colors that the Chart Expert chose for each line just didnu2019t match what was on the frmPlot graph.   Anyway, it is working now.     I can at least say I learned (somethingu2019s to-do and somethingu2019s not to-do) a good bit about Crystal Reports in the process.
    Thanks

  • CR XI - Problem Setting Line Graph colors in the Chart Expert

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I created a Crystal Report (CR) of an existing Trend Analysis report. I have created a VB6 application that calls the .RPT file I created for the report in CR.  The VB6 app sets the report recordset via code that corrsponds to the .TTX file, and the parameters .  The report contains a Line graph that plots five pieces of data.  The report & graph work good.  CR determines the color of each line on the graph.  However, I need to set the color for each line to correspond to the colors used on our existing reports.  The users are accustom to a certain color representing a certain set of data on the existing reports.   I have tried everything I can think of and from all documentation I can find, and nothing changes the line colors.   I have tried all of the following:
    1.) From the Chart Expert, Option tab, I click the Format button next to Color and setup conditional color settings per each piece of data.   However, when I run the report these conditional color settings are not reflected on the CR graph.     I am using formula fields (based off database fields in the recordset) to produce the report.  However, I only see the database fields to use in the conditional color formatting screen and not the formula fields.    I thought this would possibly be the cause why the colors wonu2019t change on the CR, but I canu2019t find a way to make the formula fields show up in the list.
    2.)Also, I tried right clicking the individual lines of the graph and change the selected item color, but this didnu2019t change the color either.  I do this in Design mode and Preview mode and neither one changes the color of the lines on the graph.
    3.)I have also looked into the CR object model to see if I can change the line colors of the graph via code and it doesn't look like I am given this flexibility.
    Do you know what I am doing wrong here?   I just want to be able to set the color of each line on the CR graph to the color I want instead of using the default colors.
    Thanks,Steve

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I got the problem fixed w/ the line graph not making the data lines the same color on the report as on the frmPlot graph.   Compare the two screen shots below.   The problem was as follows:  When I created the graph (in the Chart Expert) the field u201CReadingDateu201D was not one of the Report Fields, and all the other fields were Report Fields (Reading, LowAlarm, UpperAlarm, LowerLimit, & UpperLimit). See the 3rd screen shot below.  ReadingDate does show up as a Report Field now but it wasnu2019t at first.   Originally, this field was only available in the Chart Expert as a recordset field.  When I changed this field to be a Report Field, the graph then allowed me to change the data series line colors.   This was not obvious at all.   From the beginning when I setup the graph and passed in the recordset from VB it graphed all of the data series fine.   The colors that the Chart Expert chose for each line just didnu2019t match what was on the frmPlot graph.   Anyway, it is working now.     I can at least say I learned (somethingu2019s to-do and somethingu2019s not to-do) a good bit about Crystal Reports in the process.
    Thanks

  • Flex 3 to Flex 4 migration issue (Flex charting and Special char)

    Hi All,
    I have migrated Flex 3 to Flex 4 and in Flex charting axis label, I am not able to see less then sign ( < ). I tried to use &lt;  but it's not working, I have attached sample code.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    minWidth="955" minHeight="600" initialize="init()">
         <fx:Declarations>
             <s:SolidColor id="s1" color="#738994"/>
             <mx:SeriesInterpolate id="seriesInterpolate" duration="800"/>
             <mx:SeriesSlide id="seriesSlide" duration="800" direction="up"/>
             <mx:SeriesZoom id="seriesZoom"
                            duration="1000"
                            minimumElementDuration="50"
                            elementOffset="50"
                            verticalFocus="top"
                            horizontalFocus="left"
                            relativeTo="chart"/>
         </fx:Declarations>
         <fx:Script>
            <![CDATA[
                 import mx.collections.ArrayCollection;
                 [Bindable]
                 public var student:ArrayCollection = new ArrayCollection([
                     {Stream: "Management", Girls:1000, Boys:1400, TotalStudent:2400},
                     {Stream: "&lt;Computer Science", Girls:800, Boys:1200, TotalStudent:2000},
                     {Stream: "< Mechanical", Girls:200, Boys:1500, TotalStudent:1700},
                     {Stream: "> Electical", Girls:800, Boys:850, TotalStudent:1650},
                     {Stream: "Electronics", Girls:500, Boys:1000, TotalStudent:1500},
                     {Stream: "Civil", Girls:300, Boys:900, TotalStudent:1200}
                 private function update():void {
                     var str:String = catfDP.selectedItem.data;
                     if(str == "Girls"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "738994");
                     }else if(str == "Boys"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "999990");
                     }else{
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "406374");
                 private function init():void{
                     catfDP.selectedIndex= 0;
                     effectDP.selectedIndex= 0;
             ]]>
         </fx:Script>
         <s:Panel title="Chart Effect Example" width="627" height="565">
             <s:layout>
                 <s:VerticalLayout/>
             </s:layout>
             <mx:ApplicationControlBar dock="true" width="625" height="82">
                 <mx:Form>
                     <mx:FormItem label="Category Field:">
                         <s:DropDownList id="catfDP" change="update();" prompt="--Select--" width="136"
                                         height="19">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object data="Girls" label="Girls" />
                                     <fx:Object data="Boys" label="Boys" />
                                     <fx:Object data="TotalStudent" label="TotalStudent" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                     <mx:FormItem label="Choose Chart Effect:">
                         <s:DropDownList id="effectDP" change="update();" width="136" prompt="--Select--">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object label="seriesInterpolate" data="{seriesInterpolate}" />
                                     <fx:Object label="seriesSlide" data="{seriesSlide}" />
                                     <fx:Object label="seriesZoom" data="{seriesZoom}" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                 </mx:Form>
             </mx:ApplicationControlBar>
             <mx:ColumnChart id="cchart"
                             dataProvider="{student}"
                             showDataTips="true"
                             width="621"
                             fontFamily="verdana" height="402">
                 <mx:verticalAxis>
                     <mx:LinearAxis title="Number of Students" />
                 </mx:verticalAxis>
                 <mx:horizontalAxis>
                     <mx:CategoryAxis dataProvider="{student}"
                                      categoryField="Stream"
                                      title="Stream"/>
                 </mx:horizontalAxis>
                 <mx:series>
                     <mx:ColumnSeries id="cs1"
                                      xField="Stream"
                                      yField="Girls"
                                      displayName="Girls"
                                      fill="{s1}"
                                      showDataEffect="{effectDP.selectedItem.data}"/>
                 </mx:series>
             </mx:ColumnChart>
             <s:HGroup>
                 <mx:Legend dataProvider="{cchart}"
                            direction="horizontal"/>
                 <s:VGroup>
                 </s:VGroup>
             </s:HGroup>
         </s:Panel>
    </s:Application>

    Thank you very much for you answer.
    I have solved this problem using Itemrenderer.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    autoDrawBackground="true">
        <mx:Label htmlText="{data.text}"/>
    </s:ItemRenderer>
    and in chart I have used labelRenderer. in label I have used  &lt; for ( < ) sign.
    <mx:horizontalAxis>
                    <mx:CategoryAxis
                        dataProvider="{expenses}"
                        categoryField="Month"
                        title="FY 2006"
                        id="a1"
                        />
                </mx:horizontalAxis>
                <mx:horizontalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:horizontalAxisRenderers>
                <mx:verticalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:verticalAxisRenderers>

  • Flex chart restarts on tab focus in firefox

    I have plotted flex chart inside div element. It shows up correctly but when i go to another tab in firefox and comes back then flex chart restarts. Also i have seen it happens inside dojo tabs also.
    Anyone has any idea why chart restarts ? How can this be avoided.
    Thanks,
    Zooz

    The author of Custom New Tab says this will be in the next update of the extension.
    If you don't want to wait for the approval cycle on the Add-ons site, you can grab it from the Versions page:
    https://addons.mozilla.org/firefox/addon/custom-new-tab/versions/
    <s>Note: I have not tested it myself.</s>
    <u>Version 1.9 worked for me. See screenshot regarding how the Options dialog works for the updated extension.</u>

  • Copy and Paste Flex chart to Word Document

    Hi , I'm a newbie to Flex and was wondering if anyone knows
    if it possible to use the right click button on the mouse to copy
    and paste a Flex chart to a Word Document? Any help would be
    greatly appreciated.
    thanks

    Hi,
    Simply let a IE or FireFox window display your Flex chart,
    and hold [Alt] and press [PrtSc] in your keyboard, Then, paste it
    into Word or Paint to be edited.
    Have fun!
    Jeffrey

  • Convert/Export Flex chart to MS Word

    Hi All,
    Please let me know how to Convert/Export the Flex Chart to MS Word...
    Please send the related links or samples if  you have.
    Thanks in advance.
    Regards,
    Seshadri Babu.G

    Well, "used to..." is not a good business case.
    They don't need to receive reports anymore, they can view them in the portal as needed. Viewing in Word is functionaly about the same as viewing in Excel if "receiving" is the preferred method for them.
    Having reports in PDF is better if they want to print.
    Or they can use Crystal reports as a last resort....  I think those might export to word.
    Webi is on-demand, ad-hock reporting, that's what's it for. Export to other formats is a secondary function.

  • Migrate Flex Chart to AS

    Hi,
    I've put together a simple test app that pulls data from blazeds and inserts the results in a PieChart defined in mxml. However when I try to create the same chart in AS the chart doesn't show up. I suspect that it is perhaps related to the sequence of how things are initialized? but I'm not sure
    Here is my code. I've created 3 charts. The first (mxml) chart is the one that works fine. The second (AS) is my attempt to recreate the mxml chart in AS and it does not work. The third is a sanity check of another test AS chart just to see if I can actually make an AS PieChart and it also works fine.
    If anyone has any insight it would be much appreciated.
    Thank you,
    Kaveh
    <?xml version="1.0" encoding="utf-8"?>
    <!-- intro\intro_remoting.mxml -->
    <mx:Application     xmlns:mx="http://www.adobe.com/2006/mxml"
                        xmlns:data="com.kg.data.*"
                        width="100%"
                        height="100%"
                        initialize="getPokerParameterNumbers()"
                        backgroundColor="#FFFFFF">
        <mx:Script>
            <![CDATA[          
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.collections.ArrayCollection;
                import mx.charts.PieChart;
                import mx.charts.series.PieSeries;
                import mx.charts.Legend;           
                [Bindable]
                public var paramCount:ArrayCollection;
                [Bindable]
                 public var expenses:ArrayCollection = new ArrayCollection([
                    {Expense:"Taxes", Amount:2000},
                    {Expense:"Rent", Amount:1000},
                    {Expense:"Bills", Amount:100},
                    {Expense:"Car", Amount:450},
                    {Expense:"Gas", Amount:100},
                    {Expense:"Food", Amount:200}
                // Get the initial data set from the poker db
                private function getPokerParameterNumbers():void {
                    //remoteObject.getParameterTypesAndCount();
                    remoteObject.getParameterCount();
                    addSecondChart();
                    add3rdChart();
                // Handle the recevied message.
                private function resultHandler(event:ResultEvent):void {
                    statusTextArea.text += "Server responded [] : \n";
                    var myObject:Object = event.result;
                    paramCount.removeAll();
                    for (var key:* in myObject)
                      var value:* = myObject[key];
                      statusTextArea.text += "Parameter: " + key + " Count: " + value + "\n";
                      var paramItem:Object = new Object();
                      paramItem.parameterization = key;
                      paramItem.count = value;
                      paramCount.addItem(paramItem);
                    paramCount.refresh();
                private function newResultHandler(event:ResultEvent):void {
                    var collectionResult:ArrayCollection = ArrayCollection(event.result);
                    statusTextArea.text += "-" + collectionResult.length + "-";
                    paramCount = ArrayCollection(event.result);
                // Handle a message fault.
                private function faultHandler(event:FaultEvent):void {
                    statusTextArea.text += "Received fault: " + event.fault + "\n";
                public function addSecondChart():void {
                    //var medalsAC:ArrayCollection;
                    var chart:PieChart;
                    var series:PieSeries;
                    //medalsAC = getDataProvider();
                    /* Define pie series. */
                    series = new PieSeries();
                    //series.nameField = "label";
                    //series.field = "data";
                    series.nameField = "name";
                    series.field = "count";
                    /* Remove default dropshadow filter. */
                    series.filters = [];
                    /* Define pie chart. */
                    chart = new PieChart();
                    chart.percentWidth = 100;
                    chart.percentHeight = 100;
                    chart.showDataTips = true;
                    //chart.dataProvider = medalsAC;
                    chart.dataProvider = paramCount;
                    chart.series = [series];
                    /* Add chart to the display list. */
                    topHBox.addChild(chart);
                private function add3rdChart():void {
                    var medalsAC:ArrayCollection;
                    var chart:PieChart;
                    var series:PieSeries;
                    medalsAC = getDataProvider();
                    /* Define pie series. */
                    series = new PieSeries();
                    series.nameField = "label";
                    series.field = "data";
                    /* Remove default dropshadow filter. */
                    series.filters = [];
                    /* Define pie chart. */
                    chart = new PieChart();
                    chart.percentWidth = 100;
                    chart.percentHeight = 100;
                    chart.showDataTips = true;
                    chart.dataProvider = medalsAC;
                    chart.series = [series];
                    /* Add chart to the display list. */
                    p1.addChild(chart);
                 * Create and return a simple ArrayCollection to
                 * use as a data provider.
                private function getDataProvider():ArrayCollection {
                    var arr:Array = [];
                    arr.push({label:"Product 1", data:3});
                    arr.push({label:"Product 2", data:1});
                    arr.push({label:"Product 3", data:4});
                    arr.push({label:"Product 4", data:1});
                    arr.push({label:"Product 5", data:5});
                    arr.push({label:"Product 6", data:9});
                    return new ArrayCollection(arr);
            ]]>
        </mx:Script>
        <mx:RemoteObject id="remoteObject"
            destination="pokerDataSource"
            result="newResultHandler(event);"
            fault="faultHandler(event);"/>
        <mx:HBox width="100%" id="topHBox">
            <mx:VBox>
                <mx:PieChart id="myChart"
                    dataProvider="{paramCount}"
                    showDataTips="true"
                    selectionMode="single"
                    itemRollOverColor="#FF0066">
                    <mx:series>
                        <mx:PieSeries
                            field="count"
                            nameField="name"
                            labelPosition="callout"
                        />
                    </mx:series>
                </mx:PieChart>
                <mx:Legend dataProvider="{myChart}"/>
            </mx:VBox>
            <mx:TextArea     id="statusTextArea"
                            width="100%"        
                            height="100%"               
                            backgroundAlpha="0"
                            focusAlpha="0"
                            selectable="false"/>       
        </mx:HBox>
        <mx:Panel id="p1"/>
    </mx:Application>

    Hi,
    Simply let a IE or FireFox window display your Flex chart,
    and hold [Alt] and press [PrtSc] in your keyboard, Then, paste it
    into Word or Paint to be edited.
    Have fun!
    Jeffrey

Maybe you are looking for

  • As a web designer I am interested in how many ipads have been sold in Australia? Whay percentage of the population now have and use?

    As a web designer I am interested in how many ipads have been sold in Australia? And what percentage of the population now have and use them? Also same for the iphone - how many units sold and being used?

  • Preview:  how to find export file size?

    Odd that I didn't find a thread on "save-as".  Are they squashed?  I lament the loss of "Save as-", but I would be willing to accept the use of "Export-" wholeheartedly if I could predict the file size.  One of the main ways I use Preview is to norma

  • Adding monitor to iMac

    I have an iMac that I want to connect to a flat screen tv. I have used a VGA cable with an adaptor for the Mac. Doesn't work. Should I be using a DVI??

  • Iphoto 6 is crashing my internet access

    Lately, everytime I try to send a photo book for purchase, the upload crashes and my internet service goes down. This is a recent problem, in that I didn't have any issues doing the book purchase in the past. I don't seem to have a crash problem othe

  • Error in uploading from DSO to Datatarget

    Hi We are on BI 7.0 and support pack is SAPKW70011. When i extract the data from 0FIAR_O03  to 0FIAR_C03, following error is being generated: Unexpected error: RSDRC_CONVERT_RANGES_TO_SELDR and error occured in the source system. Can anyone plz provi