How to create the existing XML file bar chart

Hi all

I'm new to flex, I need your help to develop a flex during approx. dashboard we file sample.xml. using what I have to create a bar chart or a pie chart.

Please help me

The XML looks like this...

<? XML version = "1.0" encoding = "utf-8"? >
< user name = "123412343" >
< name >
< name > these < / lastName >
Vijay < firstName > < / name >
< / fullName >
< Preferences >
< modWidth > 235 < / modWidth >
< modHeight > 250 < / modHeight >
< > 1650 totalWidth < / totalWidth >
< > 1650 totalHeight < / totalHeight >
< modsX > 4 < / modsX >
< modsY > 2 < / modsY >
< / Preferences >
< id module = "Status2" >
< fenetreouvrir > true < / fenetreouvrir >
< pointsToShow >
< label p = 'Proposals' / >
< label p = "Project" / >
< label p = "DEP Ptba" / >
< label p = "EPA Ptba" / >
< / pointsToShow >
< dataSetsToShow >
< label > 2006 < / label >
< label > 2007 < / label >
< / dataSetsToShow >
< / module >
< / user >

convert this ArrayCollection collection called chartData xml file

var charOption:String = 'totalHeight '; / Use this to set the yField property...



<>
dataProvider = "{chartData}.
categoryField = "time" / >






Tags: Flex

Similar Questions

  • How to add tags in the existing XML file?

    Hello
    I have a requirement in which I need to add a tag to the existing xml data.

    For example:
    < ROW >
    < EVNT_ID > 7333976 < / EVNT_ID >
    < DISTRCT_CD > 67 < / DISTRCT_CD >
    < TIME_OFF > 6 May 2008 10:50:04 < / TIME_OFF >
    < / ROW >

    The desired output is,

    < DI_DATA >
    < ROW >
    < EVNT_ID > 7333976 < / EVNT_ID >
    < DISTRCT_CD > 67 < / DISTRCT_CD >
    < TIME_OFF > 6 May 2008 10:50:04 < / TIME_OFF >
    < / ROW >
    < / DI_DATA >

    I must add < DI_DATA > < / DI_DATA > at the beginning and end of the entry.

    Anyone of you could help me with that?

    Thank you
    GV

    If your XML is just in a CLOB, you can just use manipulation of strings to add/add nodes on. If you have it in an XMLType you could just do the following

    select appendchildxml(XMLTYPE(''),
                                  'DI_DATA',
                                  XMLTYPE('
    7333976
    67
    06-May-2008 10:50:04 AM
    '))  -- this would be your variable
      from dual;
    

    which will put your data in the DI_DATA node.

  • How to create a sidecar.xml file?

    Hello - I used generator sidecar very rad Johannes and instructions from adobe on how to download the file, but can't seem to make it work. I have a feeling that it's because they both start with a hypothesis:

    "Use a text editor or an XML Editor to create a file sidecar.xml..." »

    "Writing in a sidecar.xml file.

    How to create the file sidecar.xml of origin, in which paste the metadata generated by Johannes tool?

    http://projects.nordsueddesign.de/sidecarxml/#

    http://help.Adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60606c7754128c7a9c00e-7F ff.html

    You use the web interface of the xmlsidecar generator made by Johannes Henseler and push the button it "generate". Copy paste in a plain text file and then replace tex extension txt to xml format. This is how you do a sidecar.xml the easy way.

    Subsequently, yo have to import "multiple files" (or "multiple files"... my DPS is a Spanish) Folio Builder.

    If the folder revolve correctly, folio Builder will start to swallow the sidecar data and download articles.

    This time, while posting, my pc did this with a hundred articles. As happy and busy as a Beaver in heat

    Gustavo (detachment of Madrid)

  • How to create the listener.ora file

    Hi all

    My emca start dbconsole... successful because I do not have in network/admin listener.ora. My interlocutor only runs on the default config

    I can't run gui netca bacause I connect only remotely using PuTTY.

    I want to run in silent mode netca to create the listener.ora file... can you give me response.file of the sample for netca?


    Thank you

    Published by: yxes2013 on 3.5.2013 04:14

    I meet emca error before and it is just resolved when I created lisnter.ora, so I want to try it.

    I doubt that listener.ora was the cause.

    Although experience is a better teacher.

    No, trying to find the cause of a problem is a better teacher, just try things at random - it's a good way to teach you things like "emctl start dbconsole does not work without a listener.ora", which is clearly false.

    Once start emca

    The command is not 'emca,' maybe that's your problem.

    We don't know, because you have not copied/pasted something here, including the error message

  • How to remove the existing PDF file password?

    I use Acrobat 6.0 and would like to know how to remove the password for existing PDF file.

    When I try to open the PDF file and save under a different name, it wouldn't work.

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    File > properties. Then under security change security None method; Enter the password when you are prompted. Then save under.

  • How to read the printers.xml file snapshot printer?

    Hi I have a printers.xml file but I can't find the number of printed pages

    Hello

    What is your printer? Normally you can print a printer status report and it should show the number of printed pages.

    Kind regards.

  • How to create the flex application progress bar?

    Hi guys

    I'm doing a progress bar to show the my application status of loading. I googled a lot, but it shows how to use the progress bar for the elements (ex: images, datagrid). I need to know the configuration of progress for the whole of the application bar. I'm sorry if this is a noob question. My brain does not work now. Thanks for any help.

    You can see this link which gave the complete code to do...

    http://blog.preinvent.com/node/6

    If this post answers your question or assistance, please mark it as such.

  • How to create the ejb - jar file. XML

    I would like to generate ejb - jar EJB 3 with Jdeveloper. I used to enter environment entries using EJB 2.0 properties. Please let me know how to do this with EJB 3 session EJB. Right click on the EJB, I cannot see the option properties.

    Thank you

    Kenny

    Hello

    Right click on your model project-> New-> General-> deployment descriptors->-> ejb Java EE deployment descriptor - jar.Xml.

    Pedja

  • How to create the associated program file?

    while I want to play the game on my computer, I got a notice, "" this file does not have a program associated with it for the execution of this action.create an association in the set associations control panel please how do? "

    or what program I have to choice to run this game

    Hey abetampumargana,

    Reading your question, I have found a thread which I think will be very useful for you.
    In this thread, the original poster has a similar problem and it is fixed with the steps provided. Look at this thread and try some of these steps. If you have any questions, return to this topic and explain what were your results. Be sure to include all the details that you can when you describe your results.
    Thanks for posting of Microsoft Answers! Good luck with the troubleshooting.
  • Unable to create the new domain file

    Hi experts

    I am trying to create the new domain file, but there is no success.

    Tools-> domain Administration > file-> Select

    When I choose, the dialog box open typed the new name for file field, you click Open.

    the error message is "mydomains.xml is not a domain file.

    Please tell me how to create the new domain file where you will store the areas associated with my project.

    Thank you

    Hello

    With the dialogue of the Administration of the areas, you modify xml with the areas. You cannot create a file or assign the file with the fields in given the design from there.

    Documentation:

    SQL Developer Data Modeler does not include the default domains file.

    To create new field definitions, select Tools > areas of Administration and click Add to create and add your own domains. These areas are added to the default value of the file, defaultdomains.xml, and can be used for all your projects.

    The file is located in /datamodeler/types/defaultdomains.xml

    Basically, you should

    1. create /datamodeler/types/defaultdomains.xml if it does not already exist

    See Tutorial: modeling of data for a small database

    2. create some (open) design and import file fields to file-> import-> areas

    3. after that study is registered again Directory /domains with design level domains file inside the tree of creation will be created.

  • How to create the MUCOW file in xml using Adobe Muse

    How to create the file MUCOW as xml using Adobe Muse .kindly give step tutorial or PDF... WHERE DO I CREATE MUCOW? No idea for me

    Just lucky to have this info to my favorites

    MuCow Documentation

    Muse Jam Sessions_105_ConfiguringMucows

  • How to create the .cod file to run on the Simulator BB9900

    Hi, I already from the zip package in order to use the bbwp command to create the .cod file and be able to run on the simulator of BB9900, but when I run this command as described in: https://developer.blackberry.com/html5/documentation/compile_ww_app_for_smartphones_1873321_11.html

    It creates two files, each with a .bar file, this type of file, I can't run it on the 9900 Simulator but a .cod file is required to run applications on the sim card.

    I don't know how to create the .cod file.

    Thank you

    Have you used Blackberry Webworks SDK for smartphone or Tablet SDK? The .cod files should be located in the subfolder OTAInstall of your output folder if you are using the Webworks SDK for Smartphone

  • I created a new library of more new playlists but cannot find the Library.xml file

    Hello

    I'm going to re - build my iTunes files from scratch, a kind of decennial event 'spring clean '. I have created a new library by using the command, click on application startup, and then began to rebuild new reading lists in the application. I can see the folder newly created the library that contains the new "iTunes Library.itl" file BUT I don't see that the iTunes Music Library.xml file. " There certainly must be one to save the data of the playlist, and probably "Get Info" should reflect today date' today... I don't see older versions.

    Although everything seems to work perfectly I don't want to have to re - visit the construction of Playlists from scratch for the next ten years! Can anyone suggest what happened to the .xml file?

    Thanks and greetings

    You can create an .xml on iTunes/file/library/Export library file and gives you the opportunity to put the Library.xml file in your iTunes Media folder - or anywhere you like.

    If you need to rebuild your playlists, you can go to iTunes, file, library, import playlist and select the .xml file.

    Normally, you do not see the .xml file in your iTunes folder.

  • How to create the scroll to the menu icon click event bar

    How to create the scroll to the menu icon click event bar

    (as the "field of scrolling image")

    In my opinion, it is better for you to try something to help implementation of your solution to ask for the code.

    For example, create a few BitmapFields with icons that act as buttons.  There is source for this sort of thing on the forum if you look at, I think, looking FRO Image button, icon or Bitmap button.

    Once you have these buttons work, add these in a HorizontalFieldManager.

    Good luck.

  • How cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    How cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    My Council of Europe in the .js file is

    function generateHTMLMarkup (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    "Str += '.
    "+ ""+""+"
    ";
    Alert ("this is lang" + str);
    return str;

    }

    nerateHTMLMarkup: function (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    str += "" +
    "" +
    "" + channel ['name'] + "" +.
    "" + "
    ";
    "Str += '.
    "+ "" + "
    ";
    Alert ("this is lang" + str);
    return str;

    etc.

    Give mthe rhythm and the exact code where Ihave tio get implemented.

    in the code, replace change

    channelName var = channel ['name'];

    TO

    channelName var = channel ['name'];

Maybe you are looking for