With the help of NumberFormatter with graphics

I try to use the NumberFormatter with graphics (with the HTTPService data source)

The numbers are used for the x-axis or the linear axis, coming from an XMLList, i.e.

"< displayName ="Project"xField="@hours mx:BarSeries ".

How can I put a version formatted for @hours instead of just raw unformatted numbers? For example I want to insert a comma to show '12 000' instead of '12000 '.

I have figured out how to make a function to format / change string variables, for example names etc., in a certain measure, but cannot get the numberFormatter to work.

I created this function:

< mx:NumberFormatter id = "numForm" useThousandsSeparator = "true" / >

But I can't understand how to integrate it into the numbers in my DataGrid or on my paintings.

I found a few web examples covering NumberFormatter...

http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=charts_formatting_13.html
http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=formatters_4.html
http://blog.flexexamples.com/2007/12/13/rounding-numbers-in-Flex-using-the-NumberFormatter - class.

.. but they are not access data from external sources, and I can't adapt the code for working with graphics.

Any help would be much appreciated.

M.

This site is a good example to do it in a datagrid

http://blog.flexexamples.com/2007/08/20/formatting-a-Flex-DataGrid-control-using-a-custom--Convertisseur element.

Tags: Flex

Similar Questions

  • With the help of creation without graphics (problems)

    I recently installed first but as soon as I try to import a video of windows crashes. My computer is running Windows 10 and I don't have a graphics (guess that's the question). Is it possible to change some settings or another fix to run first? Thanks in advance for the help (I'm running a gigabyte 6500, Intel core i5 GA-H110M-A mobo, 8 GB Kingston ram, evga 500-watt power supply and a sandisk SSD)

    You have a laptop or a desktop computer?

    Do not have a video card NORMALLY means that your computer will run slowly for some things, but do not plant immediately

    BSOD stops http://forums.adobe.com/thread/1427408?tstart=0 (may be due to hardware issues)?

    http://blogs.Adobe.com/kevinmonahan/2014/01/13/computer-shuts-down-with-Premiere-Pro-or-af ter-effects.

  • HP Pavilion p6130y: does the work of ASUS NVIDIA GeForce 210 with the HP Pavilion p6130y pc graphics card

    Could what possible graphics cards you use with this pc? because I am looking for an upgrade that willl work with the 300 watt power supply

    Hello @DeAdEnDsHaDoW,

    Welcome to the Forums of HP Support! It's a good place to find the help you need, so many other users, the HP experts and other members of the support staff.

    I read your post on the issue of the graphics card and wanted to help you!  I understand that you are looking to upgrade the desktop computer and wanted to know what might work.

    Here are the specifications of the product of the GeForce 210:

    Bus support: PCI Express 2.0

    Minimum system requirements power: 300 W

    Here are the specifications of the HP Pavilion p6130yproduct:

    Expansion slots: 1 PCI Express x 16

    Power: 300 W

    Based on the above information, the Bureau should have sufficient power to use the card.  However, you may experience a lack of performance, because of the PCI ports.

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution', this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Have a great day!

  • With the help of DirectX 11 with older hardware

    Hello, I have a question about DirectX 11. I have a graphics card that is designed for DirectX 9, I was wondering if DirectX 11 will work at all with my card. From my understanding, fine, but not with the new advanced features that would have a DirectX 11 compatible card. Is this correct? Would be using DirectX 11 with a so-called "not compatible" graphics card slow down performance? Thanks for the info, XPAero

    Features of DirectX 11 works on a DirectX 11 compatible card. But you can use your DirectX 9 card anyway. DX11 is hardware compatible DX9. Although you may miss DX11 performance improvements is to wait. a downturn with the help of an old card, however, would be surprising (not to get improvements is not the same as obtaining a downturn). "192GO should be enough for everyone." (of the miniseries "Next generation jokes")

  • Need help with graphics

    Hi all

    I'm experimenting with graphics api.

    Although I used it until I'm still not very confident on this subject. So, I want to build a strong foundation in this area. I looked online but couldn't find something really useful and what explains the basics.

    For my first mission I want to draw a rectangle in the middle of the screen. Now, for this I used a verticalfieldmanager and I replaced its sublayout method.

    In the sublayout method, I use the getgraphics() method to create the instance of the graphics class. Now, type the following lines:

    g.drawRect (width/2, height/2, 70, 30);

    g.fillRect (width/2, height/2, 70, 30);

    Super.paint (g);

    setExtent (width, height);

    but all I get is a white screen... can't use a graphical object directly in a fieldmanager? do I have to draw the rectangle in a separate field (perhaps a labelfield), then add it to the fieldmanager?

    as you can see my bases regarding the user interface graphics and custom api are not very good and that's why I need all the help I can get here.

    Thank you!!

    For one you super.paint () to call after you did you paint that will erase everything you have done. There is no need to call super.paint () If you make your own custom paint job.

  • How to play play station games with graphics processors and bass as corei3 smothly without killing the game and without affecting its real graphics?

    Please help me because I'm keen tp play Playstation and Hd Pc Games on my laptop LeNOVO!

    Hello

    To play high-end graphic games, it is suggested to have a graphics card that is capable of playing the games.

    A graphics card that meets the minimum requirements to play the games.

    However, you can try the following and see if you can play the high-end with the weak graphics card graphics.

    Method 1: Install the latest video driver for your video card:

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2: Install the latest version of DirectX.

    To download and install the latest version of DirectX, visit the following Microsoft Web site:

    http://www.Microsoft.com/Windows/DirectX/default.mspx

    Method 3: See the following steps to adjust the display settings:

    a. click on the star, type personalization in the search box and then click on personalization in the list programs.

    b. click on display settings.

    c. click on the settings tab.

    d. move the desktop area slider or the slider area screen at 800 x 600 pixel definition.

    e. in the Color Palette box or in the color box, click colors (16 bit).

    f. click OK and then click OK again.

    g. click Yes to accept the changes of parameters.

    Note: After you change your video resolution, you may have to adjust the monitor settings so that the screen correctly. See the documentation for the monitor for more information.

    Method 4:  If you know what your game is set to run at the resolution, set the display settings of Windows at the same resolution as the game. You can also try setting your display resolution 640 x 480 high color (16 bit).

    Method 5: To adjust graphics hardware acceleration, follow these steps:

    a. Click Start, type personalization in the search box and then click on personalization in the list programs.

    b. click on display settings.

    c. click on advanced settings.

    d. click the Troubleshooting tab, and then click on change settings.

    If you are prompted for an administrator password or a confirmation, type the password, or click on allow.

    e. move the hardware acceleration slider two notches to the left of Full (the Disable cursor and bitmap accelerations setting).

    f. click OK and then click Restart now.

    g. once the computer has restarted, test the game.

    Note: If your game runs with video acceleration turned down, it may indicate that you need to update your video driver or it may mean that your video adapter cannot run your game at full speed.

    Method 6: Switch from full screen to windowed mode:

    You can pass the game in windowed mode. To switch to windowed mode, start the game, then press ALT + ENTER.

    If the methods above do not help, or if you have other questions please answer to help you further.

  • Failed to create a 3D text (or 3D nothing else) all options in the 3D Panel are grayed out. With the help of CC 2015.1.2 on Mac Pro

    Failed to create a 3D text (or 3D nothing else) all options in the 3D Panel are grayed out. With the help of CC 2015.1.2 on Mac Pro (end 2013)

    Thanks for the update.

    Go to the Photoshop preferences > 3D > check whether it shows VRAM than 3072 MB

    Look for the system updates and see if there are updates waiting for your graphics card drivers.

    And make sure that the document you are opening is in RGB and CMYK mode not.

  • With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions

    With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions?

    Hello

    Please make sure that you work in 8 bits/channel and RGB mode. (Under Image > Mode > Select RGB and 8-bit per channel) lightning effects only works in this mode.

    Also in preferences > Performance > "Use Graphics Processor" must be checked.

    ~ Assani

  • My AirPort Extreme end not implemented with the help of AirPort Utility

    Bought a used AirPort Extreme (Genesis 4) of a person who showed me that he worked at home. When I try to set up as a Wireless extender to my last existing AirPort Extreme, he will not carry out synchronization upward with AirPort Utility. It appears as a new extreme, but get a message 'unexpected error' before or after the name. Have you tried to reset the two while it is powered and turning the as explained in the help.

    When I try to set up as a Wireless extender...

    Gen 4 airport will connect to your existing AirPort Extreme wireless... or... it will connect using wired Ethernet wired, Permanent?

    .. .it will not accomplish the synchronization upward with AirPort Utility.

    Which version of AirPort Utility?  If it's on your Mac... and you don't know what version you have...

    Open AirPort Utility

    Click the AirPort Utility menu in the upper left corner of the screen

    Click on about AirPort Utility

    Report on the version number you see here

    You have an iPhone or a handy iPad that could be used to implement the 4th Gen airport if the problems continue with the help of your Mac?

  • With the help of iPhone 6 s. try to copy the text message with a tap double and get a bubble with icons. How can I copy the message to paste in another?

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    maryml wrote:

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    Press and hold on the text and wait for the copy/more pop up.

  • With the help of Club running on the Nike watch +.

    Hello

    This is something I have tried to work for a while and have not yet been able to find an answer. At the moment I use Nike + management club on my iPhone to follow the tracks that I find that gps is better than just using the application of the workout on my watch. However, something that really bothers me is that I start the race on my phone, but I can't then view my stats while running without having to press on and tap the watch and wait for the application to load, very irritating to race. I want to be able to lift my wrist and live stats are there to watch me, not listening and not get my phone out of my pocket. Surely this is something that can make the original watch?

    As a separate issue with the new app, Nike +, it does not recognize the songs I downloaded on my phone of Apple music in my playlists, then I have to play the separatelay of music through the application of music as opposed to go with Nike +? The ides on how to fix or is this a known problem with the latest Nike + app?

    Hello

    You may find it useful to consult the support resources of Nike and/or contact Nike for assistance with the help of their application:

    More information:

    https://iTunes.Apple.com/us/app/Nike+-run-Club/id387771637?Mt=8

  • With the help of old gear series noon on El Capitan

    I have a Vox Tonelab SE effects audio Board (around 2004), there the old serial midi on the back ports. I hung with the help of a USB MIDI interface cable. While the USB Midi interface to the show in Audio / Midi set upward and also in the profile system for USB port it does not detect the Vox Tonelab so no communication lunch.

    There is a POWERPC application called ToneLabSE SoundEditor which I downloaded and installed in the hope he would install a driver but I guess that this obviously doesn't work on INTEL in any case. Using Wine I can run the PC version, but still no communication via midi.

    Someone at - it ideas, would like to get this Panel communicating effects via MIDI.

    Thank you

    Solved! Using the WINE app I've run the version of the PC of ToneLab SE editor application. So pretty unintuitively by changing the serial midi to USB, SERIAL interface cables that went to the and out on the Tonelab SE. Now of the Se ToneLab editor I can write banks of programs to hardware Tonelab, but unable to empty the banks since the material Tonelab to software. My main desire was to use Expression pedals on the Tonelab as Midi Ableton controllers and some of the switches to the control of the Looper stomp. Now I can do it all. Hooray!

  • With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    Opening was a pro the Pro amateur-oriented or serious app, usually shooting Raw, probably on a digital SLR.

    If that's you then pictures will miss a lot for you.

    If this isn't the case, then opening was probably overkill for your needs.

    If you like the pictures then this is the way to go.

  • Thunderbird will only connect if stop then reopened. (With the help of Mac 10.9.4)

    With the help of Mac 10.9.4
    If I open Thunderbird, I can connect to my e-mail address and download the messages. If I select "Get Mail" once again, Thunderbird crashes and fails to connect to my emails. If I then close Thunderbird and re-open it, I'm able to immediately connect to my mail.

    It seems to have sorted itself after a few days. (Fingers crossed). Until today it worked properly. Will keep an eye on things for the next week and the report does so again.

  • Anyone having problems with messages of script with the new version of GMail and Yahoo Mail? All the others seem fine and no problems with other browsers. With the help of FF25

    Gmail and Yahoo mail are very slow to load. I get a message from the script almost whenever instruct me to continue or to stop the script. Everything I have shut down or restart the browser goes blank and hangs. So, I have to restart Firefox. I followed suggestions on the help pages for the slow e-mail accounts or issues. (cleared cache etc, reset etc.) nothing solves the problem. I only noticed the problem since the first update of FF25. Scripts to stop even on these pages is not acceptable, because you are directed to the pages who insist you must restart scripts. It's a nightmare! Gmail both Yahoomail are very slow to respond to clicks more.

    Your list of details of the system shows that you have a user.js file in the profile folder to initialize some preferences at each start of Firefox.

    The user.js file appears only if you or another software created, therefore, normally, he wouldn't be here.
    You can check its contents with a text editor if you do not create this file yourself.

    The user.js file is read whenever you launch Firefox and initializes the preferences to the value specified in this file, so set of preferences via user.js can be changed temporarily for the current session.

    You can rename or delete the prefs.js file and numbered possible prefs-# .js and the file user.js to reset all default prefs.

    You can use this button to go to the Firefox profile folder:

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)

    Note that the folder "Application Data" in XP/Win2K and the "AppData" folder in Windows Vista and Windows 7 and later versions are hidden folders.

Maybe you are looking for