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.

Similar Messages

  • 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

  • Flex Chart -- Why is it so buggy and not getting fixed

    Hi
    We are trying to replace our realtime dashborad with flex
    3.x charts. We're getting hit with numereous memory issues such as
    http://bugs.adobe.com/jira/browse/FLEXDMV-1686
    http://bugs.adobe.com/jira/browse/SDK-15710
    Bugs have been filed since April and no updates from Adobe at
    all.
    At the current state Flex chart is only good for displaying
    static data that doesn't change.
    Why is this not in flex's high priority list given the fact
    that one of the major allure of flex (besides multi-media of
    course) right now is charting on the client to off load server
    load?
    Why is the flex charting group so unresponsive to bugs filed
    given the fact that people are shedding quite a bit of mulla to get
    this functionality??

    I'm attaching here the section from sdk-15710 (flex jira)
    where numerous people have been asking for the availability of this
    bug fix which have gone unanswered.
    Hoping someone from adobe will have some answers.
    eddie berman - [10/03/08 12:55 PM ]
    We're in need of this fix as well. Can you give some
    indication as to when it might be ready for consumption, or if it
    already is how we might be able to get it? (Also any comment on
    FLEXDMV-1882 would be appreciated as well). Thanks.
    [ Show » ]
    eddie berman - [10/03/08 12:55 PM ] We're in need of this fix
    as well. Can you give some indication as to when it might be ready
    for consumption, or if it already is how we might be able to get
    it? (Also any comment on FLEXDMV-1882 would be appreciated as
    well). Thanks.
    [ Permlink | « Hide ]
    kai mai - [10/22/08 06:11 PM ]
    any update on when this fix will go out and how we can help
    test this fix?
    [ Show » ]
    kai mai - [10/22/08 06:11 PM ] any update on when this fix
    will go out and how we can help test this fix?
    [ Permlink | « Hide ]
    Alan Carwile - [11/07/08 07:20 PM ]
    On the Adobe site, there are two bugs that seem to be the
    cause of the memory leak we are seeing when using the Flex Charting
    package with 3.0 Flex, running on Windows XP Pro SP2. Both are
    recorded as Fixed, and one is also noted as Closed. Still we are
    seeing what looks like one or both of these bugs.
    Adobe Flex community: How do we verify for certain that we
    are running versions of Flex containing these fixes? What version
    has fixes for both cases? How do we make sure?
    Please provide more information in the JIRA issues for both
    bugs. Obviously these are of interest to the developer community,
    given the follow-up posts and the number of Voters and Watchers.
    Thanks,
    Alan Carwile, Omneon, Inc. [email protected]
    http://bugs.adobe.com/jira/browse/SDK-15710
    Flex SDK
    Memory Leak in Charting
    Fixed, Closed
    Votes: 12
    Watchers: 19
    http://bugs.adobe.com/jira/browse/FLEXDMV-1772
    Flex Data Visualization Components
    ARLabelData class in AxisRenderer.as is causing memory leak
    with every new update of dataProvider in ColumnChart
    Fixed, Resolved
    Votes: 1
    Watchers: 1

  • Path does not exit - While trying to save file on SharPoint Server 2013 from client machine

    Hi,
    I have installed Microsoft SharePoint Server 2013 Enterprise Edition on my testing Lab environment (On VM Workstation 10) on Windows Server 2012 with SQL server 2012, I can access all files stored at SharePoint Server from any physical machine, I can share
    a single file among different people to work simultaneously, but here i stuck on saving any file from client machine to directly on SharePoint Server, Attached is the snap shot, whenever I try to save any file directly It says Path Does Not Exist, If I drag
    and drop any file directly to SharePoint I do not see any error message.
    I read from different posts that I need to Enable Desktop Experience Feature on Server 2012, which I installed but no positive result gained :(
    I will appreciate for any possible help?
    Ali

    Hi Ali,
    Please try disabling the protected view per the link below and test the issue again:
    http://social.technet.microsoft.com/Forums/en-US/b8381a19-3394-406f-8adb-1976f45460ef/path-does-not-exit-while-trying-to-save-file-on-sharpoint-server-2013-from-client-machine?forum=sharepointgeneral
    You could simply type the url as http://sp/sites/sitename in the Filename place.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Save excel chart as image (activeX)

    Hi community,
    I have to generate couple thousands xls files which have some data and a chart on the first sheet. Once the files are generated I'd like to sweep thru all of them and save the chart as an image (BMP, GIF, PNG, doesnt matter).
    I have no success though. I assume I am quite close, by using the Chart.export method, but actually nothing happens, the file is not created. (worksheet selection is good, and chart index must be one, as 0 or 2 gives me an error message while one is OK.
    Any ideas?
    thx.
    ps: i know how to export an image of a labview-chart, but I want the export to happen from excel..
    Solved!
    Go to Solution.

    Instead of getting a reference to the workbook worsheets collection you need to get a reference to the workbook charts collection (which is the collection of all the workbook chartsheets) . You select the chart sheet using its index and convert the resulting item to an Excel._Chart object (this is where you use this object). You can then export it.
    Ben64

  • How do I save a chart as a jpeg?

    How do I save a chart as a jpeg. In excel I right click, "save as picture." Not seeing anything like that in Numbers.

    Here is a script dedicated to Numbers.
    You will find explanations in French and English at the beginning.
    CAUTION :
    it requires the installation of a Unix command file which gives us the ability to check if a modifier key is depressed.
    During my tests, only shift or fn keys were correctly detected.
    Maybe it was because I did my tests in the AppleScript Editor.
    I choose the fn key which, as far as I know, is not used to define the area to save.
    --{code}
    --[SCRIPT subset_of_numbers_doc_to_jpeg]
    Télécharger getModKey.zip depuis
    http://allancraig.net/index.php?option=com_docman&Itemid=100
    Décompacter puis déplacer le fichier getModKey dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:UnixBins:
    Il vous faudra peut-être créer le dossier UnixBins.
    Détails complémentaires dans :
    http://macscripter.net/viewtopic.php?id=33652
    Enregistrer le script en tant que Script : subset_of_numbers_doc_to_jpeg.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Ouvrir un document Numbers et afficher la feuille dont une portion doit être enregistrée dans un fichier jpeg.
    Aller au menu Scripts , choisir Numbers puis choisir “subset_of_numbers_doc_to_jpeg”
    Le script affiche la feuille au format PDF dans Aperçu.
    Sélectionnez la zone à enregistrer puis pressez la touche fn.
    Le script copie la sélection dans le Presse-papiers, ferme le PDF complet,
    crée un nouveau PDF à partir du Presse-papiers
    puis ouvre le dialogue Enregistrer au format jpeg.
    Il restera à définir le nom et la destination du fichier.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Download getModKey.zip from
    http://allancraig.net/index.php?option=com_docman&Itemid=100
    Expand it then move the getModKey file into the folder
    <startupVolume>:Users:<yourAccount>:UnixBins:
    Maybe you would have to create the folder UnixBins.
    Details available in :
    http://macscripter.net/viewtopic.php?id=33652
    Save the script as a Script: subset_of_numbers_doc_to_jpeg.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Open a Numbers document and display the sheet whose a subset must be saved in a jpeg file.
    Go to the Scripts Menu, choose Numbers, then choose “subset_of_numbers_doc_to_jpeg”
    The script display the sheet in a Preview's PDF window.
    Select the area to save then press the fn key.
    The script copy the selected area in the clipboard, close the full PDF,
    create a new PDF from the clipboard's contents
    then open a dialog to Save as jpeg.
    Define the name and the storage location.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/11/15
    --=====
    on run
              local nomFenetre, nbw
    Check that the Unix command file getModKey is available in the folder <startupVolume>:Users:<yourAccount>:UnixBins: *)
              set flPth to ("" & (path to home folder) & "UnixBins:")
              tell application "System Events" to set maybe to exists disk item (flPth & "getModKey")
              if not maybe then
                        if not my parleAnglais() then
                                  error "Please, install “getModKey” in the folder" & return & "“" & flPth & "” !"
                        else
                                  error "Veuillez installer « getModKey » dans le dossier « " & flPth & " » !"
                        end if
              end if
              set flPth to quoted form of POSIX path of (flPth & "getModKey")
              tell application "Numbers" to activate
              tell application "System Events" to tell application process "Numbers"
    Get the name of the frontmost standard window
    so that we will not 'speak' to an inspector or to the Find dialog *)
                        set nomFenetre to name of first window whose subrole is "AXStandardWindow"
      keystroke "p" using {command down}
    Wait the availability of the Print sheet *)
                        tell window nomFenetre
                                  repeat until exists sheet 1
                                            delay 0.2
                                  end repeat
                                  tell sheet 1
      click first menu button
      click first menu item of menu 1 of first menu button
                                  end tell -- sheet
                        end tell -- window
              end tell -- System Events
              tell application "Preview" to activate
              tell application "System Events" to tell application process "Preview"
                        set nbw to count of every window
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
    Trigger the menu item Tools > Selection Tool *)
      keystroke "3" using {command down}
              end tell -- System Events
    Now, select the area which must be saved in a jpeg file *)
    Thanks to the command getModKey, loop until the fn key is depressed *)
              repeat
                        delay 0.2
                        if (do shell script flPth) = "131072" then exit repeat
              end repeat
    The fn key was depressed so we may copy the defined area to the clipboard *)
              tell application "Preview" to activate
              tell application "System Events" to tell application process "Preview"
    Empty the clipboard. So we will be able to check that the copy task is achieved *)
      set the clipboard to ""
    Copy to clipboard *)
      keystroke "c" using {command down}
    Loop waiting for the achievement of the Copy task *)
                        repeat
                                  delay 0.2
                                  try
      the clipboard as «class PDF »
                                            exit repeat (* Exit when the task is achieved *)
                                  end try
                        end repeat
                        set nbw to count windows
    Close the PDF window *)
      keystroke "w" using {command down}
    Wait the achievement of the Close task *)
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
                        set nbw to count windows
    Create New PDF from the clipboard *)
      keystroke "n" using {command down}
    Wait the availability of the new PDF window *)
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
    Get the name of the new window *)
                        set nomFenetre to name of window 1 --(first window whose subrole is "AXStandardWindow")
      keystroke "s" using {command down}
    Wait the availability of the Save sheet *)
                        repeat until exists sheet 1 of window nomFenetre
                                  delay 0.2
                        end repeat
                        tell sheet 1 of window nomFenetre
      -- properties of every UI elements
                                  tell group 1
      click first pop up button
                                            delay 0.2
      -- properties of every menu item of menu 1 of first pop up button
      click menu item "JPEG" of menu 1 of first pop up button
                                            delay 0.2
                                  end tell -- group
      -- click button 1  (* Click in the Save button *)
                        end tell -- sheet
              end tell -- System Events
    end run
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    --{code}
    Of course, thanks to FastScripts, we may link a shortcut to the script.
    Yvan KOENIG (VALLAURIS, France)  mardi 15 janvier 2011 19:04:38
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • 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

  • How to use cfdocument  create a PDF file and save the file in server?

    Hi,
    I want to use cfdocument to create a PDF file and save it in
    the server for other people to download,can you give me a idea how
    to do this.Thanks.
    <cfdocument format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Mark

    Hi
    <cfdocument filename="" format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Give the physical path to the filename. You have write
    permission for this folder to create a PDF file.

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

  • Acrobat XI standard (Windows) - can't save PDF Form in server

    We created a PDF Form (Acrobat 11 standard) and located in company server. After fill up, it will be close & saved by script. It is working for some persons, but few person face the problem when they save PDF form in server "The file may be read only or another user may have it open. Please save the document with a different name or in a different folder.". It is sure that others not opened PDF form parallely.
    Please guide how to solve this issues.

    The message is telling the user either another program has the file open or another user is using the form.
    Other programs that may trigger the file lock or form in use are Windows Explorer in the Preview mode, anti-virus software, or backup software. It is even possible that the server has lost track of the lock on the file.

  • How to save a chart after each iteration in a for loop?

    Hello,
    I have written code which initializes a spectrometer. Once initialized, if the "Capture" button is pushed, the spectrometer takes a new spectrum three times (see for loop) every second. This spectrum is displayed as a chart in my front panel. My code runs fine...it will update the spectrum every second.
    However, I want to be able to save each of these three iterations as separate graphs. Basically, I want to click "Capture" and have my code save three charts to a specified folder. How do I go about doing this?
    I've attached my VI.
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Spectrometer Iteration.vi ‏444 KB

    Use Build Array to make a 2D Array of your X and Y data and use Write To Spreadsheet File to save the data.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Save entire chart controle

    Hi,
    How to save full chart image after zooming chart areas in windows form application programmatically with C#.
    Thanks,
    Purna

    Hi Purna,
    In my opinion, this thread is related to chart forum. This forum is to discuss problems about C# programming. So please post thread that forum for more effective response. Thank you for understanding. Please refer to the following link.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=MSWinWebChart.
    To save your time, I know there is should be a “SaveImage” method in Chart class. Did you try it?
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Does any one tried anychart to save a chart as jpg in a blob for reports

    Hi does any body used anychart through plsql to save a chart as jpg in a blob in a table to display it in oracle reports, or for another use.
    Thank you :)

    Hi,
    Have you solved this?
    I have the same problem.

Maybe you are looking for

  • Everytime I shut down or close a Mozilla window I get a message asking to send an error report. why is it doing this?

    I have to send an error report every time I close a Mozilla window or shut down Mozilla. then I have to restart Mozilla to get back to the page I was on.

  • Images in Safari are not good quality

    I've recently switched over to a MacBook Pro from my iBook G4 and one thing that is really annoying me and that I can't find a solution to the quality of images whilst internet browsing with Safari. It basically gives information of Shift + R improve

  • CS3 Components panel problem

    Hi everyone, I'm developing a CF8 application in Dreamweaver CS3. If I go to the Components panel, I can see the application's components listed, but if I click the "+" next to any of them to see the methods, I get the error "There is a problem with

  • Emails not sent

    stmp cannot send emails from iphone 4s reset,deleted and re entered account details ....help i have no hair left and the phone is gonna be going out the window,thanks

  • Add new functions?

    Is it possible to write and add your own function (not formula) to Numbers? I have the impression that this might be done, but I have not been able to find how to do it in Numbers Help or elsewhere.