Graphics: problem to specify the property type in a set of columns in actionScript (urgent)

Hello

I'm trying to create a chart (Cartesian) with an areaset, a column set
and some lineseries.
Here is the relative piece of the mxml code (it works fine)

< mx:CartesianChart id = "c1" showDataTips = "true" width = "807" >
< mx:horizontalAxis >
< displayLocalTime = "true" = "true" autoAdjust mx:DateTimeAxis
alignLabelsToUnits = 'true' labelUnits = 'days '.
labelFunction = "Longdate" dataUnits = 'days '.
parseFunction = "myParseFunction" / >
< / mx:horizontalAxis >

< mx:series >
< mx:Array >
< mx:AreaSet type = '100 percent' >
< mx:series >
< mx:Array >
< mx:AreaSeries width = "50".
dataProvider = "{xxx}" displayName = "{yyy}" yField = "value".
xField = "date_application" / >
< / mx:Array >
< / mx:series >
< / mx:AreaSet >
< mx:ColumnSet type = "bunk" >
< mx:series >
< mx:Array >
< mx:ColumnSeries width = "50".
dataProvider = "{xxx}" displayName = "{yyyy}" yField = "value".
xField = "date_application" / >
< mx:ColumnSeries width = "50".
dataProvider = "{xxx}" displayName = "{yyy}" yField = "value".
xField = "date_application" / >

< / mx:Array >
< / mx:series >
< / mx:ColumnSet >
< mx:LineSeries width = "50" dataProvider = "{xxx}".
displayName = "{yyy}" yField = "value" xField = "date_application" / >
< / mx:Array >
< / mx:series >
< / mx:CartesianChart >


When I try to create the same graph in ActionScript, my table is the source of the problems.

the table should be rendered the columnseries as a group "stacked." but it makes "stacked" each columnserie.
It seems that two graphs on each other
(same thing with areaseries)

I didn't find the solution and I am stuck. Can someone help me?
It is very urgent and critical

piece of code (inside the Cartesian graph)

var areaSet:AreaSet = new AreaSet();
var columnSet:AreaSet = new ColumnSet();
[creation of the series in tables tmpArea and tmpColumn]
...

areaSet.series = tmpArea;
columnSet.series = tmpColumn;
tmpAll.push (areaSet);
tmpAll.push (columnSet);
for (i = 0; i < tmpLine.length; i ++) {}
tmpAll.push (tmpLine [i.toString ()]);
}
series = tmpAll;


Thank you

Oliver

Hi Siva,

In this post, you will find the source code I use to convert to e4x form objectProxy.

var tmpResults:XML = XML (_httpService.lastResult);
chart reading
this.chartTitle=tmpResults.@description;
This ._chartVBox .label = this .chartTitle;
reading the series
for each {var content: XML (in tmpResults.mce_set)}
tmpSerie = new Curve (content.@type_serie);

var ss:ArrayCollection = new ArrayCollection();

for each {(var tmpXml:XML in content.record)
var oto: ObjectProxy = new ObjectProxy;
Oto.Field1 = tmpXml.Field1.ToString ();
Oto.Field2 = tmpXml.Field2.ToString ();
OTO.field3 = tmpXml.field3.ToString ();
Oto.Field4 = tmpXml.Field4.ToString ();
Oto.Field5 = tmpXml.Field5.ToString ();
ss.addItem (oto);
}

tmpSerie.dataProvider = ss;

Tags: Flex

Similar Questions

  • How can I specify the file types to be included in a library in Windows 7?

    How can I specify the file types to be included in a library?  For some reason any overall my library it shows ALL files and not only the documents in the document library, the music in the music library and the pictures in the picture library.  In other words in my document library, it is also show all my music and my photos, in my music library, that is to show all my documents as well as all my photos etc.  I know I have to do something wrong but does not know what it is.  Can someone help me please?

    * original title - libraries and some type of file

    Hello

    Libraries should show only the files that are contained in the files that you add to this library.

    Example:

    In Windows Explorer, select the Document library.

    In the window display on the right, click the link x sites in the top/left of the window.

    This will open a dialog box displays all the folders that have been added to this library.

    By default, the Library of Documents should show the folders My Documents and public records .

    If there is other records showing that you don't want in this library, Select the folder and click on the Remove button.

    You can also right click the documentslibrary, in the Part of Navigation and select Properties. At the bottom of the Properties dialog box, click on the button by default is restore to remove all additional files have been added.

    Tell us what you find.

    Concerning

  • specify the cfinput type file folder start

    Anyone know if there is a way if you use < cfinput type = "file"... > to specify the folder of the file Explorer starts in?

    Even better (and I REALLY want to do), is there a way to simply specify the file used by CFFILE name by concatenating the path + filename + extension doc, IE:

    < cfset form.photo = "source_path" & form.file_name_entered_by_user & ".jpg" >

    and then:

    < cffile action = "upload".
    fileField = "form.photo"...

    It would be much easier things mke for users.

    I'm sure that no, on both accounts. Mainly for security reasons.

    FILE fields require the user to interact with their computer and a decision consious about their choice. The startup location depends on where their last record or files during load or download of operations through the BONE... the OS commands this feature, not your web page. If people could program pages well start somewhere they could try and entice users to provide files which hinder the security of their computer. In addition, how do you believe you know where they recorded the file they are downloading?

    DOWNLOAD CFFILE requires a user multi-part form to submit for download, and the field sent to the command must be a file field. It cannot be done with the right programming. Again, it is a question of security, otherwise anyone could program a web page to steal files on a computer without the knowledge of the user, and it would be a huge legal and security problem.

  • [nQSError: 43119]:-the data type: 25 is not supported columns error for data type "uniqueidentifier".

    Hi all


    I am facing a problem while creating a BI reports to the SQL Server 2008 Database.

    Access to columns of data type "uniqueidentifier" I get error [nQSError: 43119]:-the data type: 25 is not supported.

    • OBIEE 11.1.1.6.11 on Linux x86_64 servers is hosted by the Services of Oracle Cloud.
    • Using last "ODBC driver for SQL server 11" for connection (also tried driver "DataDirect SQL Server 6.0 native Wire Protocol").
    • No "Uniqueidentifier" data type columns display correctly in reports.
    • I tried to change the columns of data type "Uniqueidentifier" to char (36), VARCHAR (36), VARCHAR (40), types of binary data (16) in the physical layer on various suggestions but error still there.

    Same columns questioned the SQL Developer (using third-party jTDS JDBC driver "jtds - 1.2.7 - dist") I am able to see these "uniqueidentifier" data columns. record sample:-"CB350576-FCD8-DE11-B111-002219598619".


    Please advice if this is a bug or I'm missing some property of SQL server database settings.


    Thanks in advance.

    Yes Srini,

    This type of column becomes UNKNOWN when they are imported into SPR but its strange after changing to VARCHAR (36), we can use it for joining tables without any problem.

    Only issue I'm facing now is the limitation to use in queries like calculate the total number of incidents (in my case incidentid is the primary key).

    But I've found a workaround. I am formulating a measure in MDB layer to get the number of total incidents as {CASE WHEN is NULL then 0 otherwise 1 END}.  the aggregation is defined on the sum and I get incident count works correctly.

    Thanks for your help.

  • DV8T 1100 CTO graphic problems after replacing the motherboard

    Windows 7 Pro. Built 3 years ago this month. Motherboard is dead because of damage of water, but not before I could test the CPU and RAM, which has survived intact. Bought a NEW replacement MB of HP parts store. Put it in. It was obvious that the machine was to start the system, but no video. I put on an external monitor. Video about it. Looked at this forum and based on suggestions from the experts on what causes black LCD screens, has decided to buy a strainer as it could have been a cable on the whole of the sieve or video converter problem continuous alternative back light works fine, but I wanted the fixed machine and doing the problems of individual components on the screen. Assembly of the new screen does not work. Windows found the webcam and audio on the new screen (already present with the old screen), but all to change the resolution and rotation is grayed out with a screen.

    No light flashes at startup. The new motherboard BIOS is updated. I did not burn in tests.

    I do not have a second MB work through the ordeal, so I guess that's the new motherboard, as the cover of the keyboard does not work (not that it worked very well before - another thread). Can I have another motherboard spent the night, or return everything and just buy a new laptop, which would probably not be almost as beautiful as the one I have (230 GB SSD, second disk, screen 18.4 "HD) any thoughts? I had to walk away for a day because of the frustration. It is not like putting a motherboard in a desktop computer - even though I'm about half an hour to go back.

    I got a new MB by FedEx, installed today and fortunately use my laptop.

  • Specify the data type of scalar result in NamedNativeQuery

    I created a NamedNativeQuery to return scalar data data. One of the return value is defined as the NUMBER in the Oracle database. EclipseLink returned a BigDecimal for this scalar value. But I really want a long data type. Is there a way that I could say EclipseLink back long instead of BigDecimal?

    Thank you

    Native SQL queries return usually all that returns the database, you will probably have to convert the value of value in your application. Just cast to number and access the longValue().

    If you are using a JPQL or object level query return type is type declared object, so maybe it's a better option instead of using SQL native if possible.

    In the EclipseLink query API, there are DirectReadQuery and ValueReadQuery who take care of a converter, but these can be used when the query returns a single column or a value.

  • How to specify the font type and size (in points)

    I often cut and paste from Word, Excel, or web pages in e-mail messages in TB. TB often done strange things, which the text is copied in it, making the text bigger or smaller and I can't understand how to change it. While I understand how to change the font (through Format |) (Police), the resize options are limited to the x-small, small, medium, etc. (Screen attached). My goal is to have the text I copy matches the size and font that I use to compose the rest of the email, but I find it almost impossible to do when my only options for size are x-small, small, medium, etc. Any suggestions?

    I suggest you paste by using 'paste unformatted' (ctrl + shift + v, or in the edit, or on the context menu) to make any case adopts and adapts to the development shaped by default resident.

    Use of the stationery add-on would allow you to define your styles in points, but I think it's misplaced effort. You have no say in what your correspondents to view your messages, what personal preferences that they apply or what limits their devices assert. Try to fix it with explicit sizes is ultimately useless to your correspondents. 'Medium' means that they see the message to the size that they want, not what you inflict on them.

  • Qosmio X 870 - 13v - graphic problem steam L4D game - black shadow on the light

    Hello

    I play this game using 2 PC Toshiba laptop.

    A Satellite L670-1KZ: 2.67 Ghz - Radeon Mobility HD5650 - RAM 6 GB i5.
    A Qosmio X 870 - 13v: i7-3630QM 2.4 Ghz - GeForce GTX 670 M & Intel HD Graphics 4000 - 32 GB of RAM.

    On the 1st, I have no graphic problem.
    On the Qosmio, I have a BIG problem with little light that have large black stain on it.

    You can see the 'bug' on YT here below:

    https://www.YouTube.com/watch?v=c4E2DFScyfU&feature=youtu.be

    The configuration of the game is the same on both machines with the exception of the resolution.
    My drivers are up to date (GeForce & Intel).
    I uninstalled the game twice only = no results.
    Settings, to control panel Nvidia, I changed several times (Note option shadows cache) no = no results.
    I played with game config below only = no results.

    I posted on the forum of steam only = no response.
    I posted on the forum of Nvidia only = no response.

    So, can you help me solve this problem?

    With our thanks,
    Guillaume.

    You have any other graphic matter using this Qosmio X 870 - 13v?
    I mean other problems related to the image to appear in other games and other applications running?

    Otherwise I n t think that there is something wrong with the laptop.
    In this case, it looks like very specific issues between this game and probably the graphics driver.

    It turns out that you won't encounter problems under this game the Satellite L670 with ATI driver.
    The Qosmio is supported by the nVidia GPU

    I think there must be a link any between the nVidia GPU and this game.
    In my opinion you should look for the solution in the steam forums or nvidia even if you have not received answer yet.

  • graph of waveform of filling via the property node

    Hello

    I want to fill a graphic waveform spirit multiple waveforms by programming. This means, the graph is the main VI, and use it in an another vi reference chart. Firstly I have to solve the correct reference waveform curve, then I use the "Value" property node The value must be the value of type variant, should be no problem. But the property node works only with table 1 d and not 2D.

    How can I fill it with table 2D programmatically? I use LabView 8.6, see attached example.

    Mitulatbati

    Hi mitulabati,

    You must specify the data type that you will be feeding to your chart, the default type is an array of 1 D.

    To do this, connect an empty 2D array directly on the graph, it will change the input to your waveform parameters and now the property node will accept this new data type.

    Hope this helps

  • VISA driver on the connection type unknown

    I can't be the only person having this problem in LabVIEW and I have not worked on the solution.

    Let's say for example I write a driver for a power supply, this device is off the shelf, but the manufacturer provided driver is *!

    Instrument is connected through GPIB. in this case.

    3 months later, I would like to re - use the driver but due to the implcations cost I can not have the flavor of the instrument GPIB and need the RS232 version, so I re - write the pilot so that all the functions of R/W are shrouded by a VI using the right process for the reading of serial ports if a RS232 device and repeat the initialization of the process too.

    3 months later I get my hands on a USB version of the PSU - he uses the style GPIB code and does not take long to change.

    The question is this:

    Is it all as anyone knows (alias VISA ignoring) that will allow me to determine the physical to the PSU from the PC connection, if someone changes and therefore to use the correct part of the code driver to initialize and communicate with the power supply.

    Specifying the Intf Type is a fix SW for a HW problem that causes more problems if the connection is changed, how can I allow someone to use RS232/USB/GPIB and detect the connection type myslef in LabVIEW, before making a * IDN and the harbor onpen?

    Thanks in advance for any ideas

    James

    Have you looked at all the drivers NOR? The example of the expedition of the Agilent 34401 is sufficient. In the Initialize function, there is a test to see if the resource VISA is a serial port. The case statement for the true condition sets up the port. There is no other changes such as GPIB, USB connection or Ethernet works exactly the same way.

  • Get-VIEvent - how to export the event type?  error, warning, or info

    Hello

    I know that the Get-VIEvent command allows you to specify the type of events to get back... that is to say [-Types < EventCategory [>]

    but, I want to extract all the events and export them to a CSV file. I want one of the columns to be "EventCategory", which will be ERROR, WARNING, or INFO, but I can't seem to find it.  $_. GetType(). Name gets me the type of event, but not the category.  I know that I can have my script executed 3 times (each time specifying the - parameter Types) but I want to run only once.  Any ideas?

    Thank you!

    Jeff

    Hello, horningj-

    I worked on a few elements that should attract the event category.  The first selects a few properties, including a calculated property that gets the event category:

    ## works well if no events of type 'EventEx'## get the .Net View object of the EventManager (used for getting the event Category) $viewEventMgr = Get-View EventManager ## get some VIEvents, select a few properties, including a calculated property for EventCategory Get-VIEvent | Select FullFormattedMessage, CreatedTime, @{n="EventCategory"; e={$strThisEventType = $_.GetType().Name; ($viewEventMgr.Description.EventInfo | ?{$_.Key -eq $strThisEventType}).Category}}
    

    It becomes VIEvents (the last 100, because I did not specify the parameter - MaxSamples) and returns the properties of data.  The calculated "EventCategory" property uses the type of the VIEvent object to search for in the collection of items EventDescriptionEventDetail in ownership eventInfo found in .net object View for the EventManager.  He then grabs the 'Category' of the corresponding element of EventDescriptionEventDetail property.

    Works fine unless you have any VIEvents type "EventEx" - then, this 'research' in EventDescriptionEventDetail collection method fails, because there is more than one element of this type (there are 91 of them at the moment).

    This led me to the next bit.  It is similar to the previous method, but it handles EventEx events too:

    ## get the .Net View object of the EventManager (used for getting the event Category)$viewEventMgr = Get-View EventManager
    
    ## get some VIEvents (the last 100, as "-MaxSamples" is not specified) Get-VIEvent | %{    ## put the pipeline varible into another variable; get its type    $oThisEvent = $_; $strThisEventType = $_.GetType().Name    ## if this event is of type "EventEx"    if ($strThisEventType -eq "EventEx") {        $strEventTypeId = $oThisEvent.EventTypeId;        ## get the EventInfo item (of type EventDescriptionEventDetail) whose "FullFormat" property begins with the EventTypeId of the VIEvent at hand, and get its "Category" property        $strCategory = ($viewEventMgr.Description.EventInfo | ?{$strRegexPattern = "^$strEventTypeId\|.*"; $_.FullFormat -match $strRegexPattern}).Category    } ## end if     ## else, can just grab the EventInfo item whose "Key" is the same as this event's type    else {$strCategory = ($viewEventMgr.Description.EventInfo | ?{$_.Key -eq $strThisEventType}).Category}    ## add a NoteProperty "EventCategory" to this event    $oThisEvent | Add-Member -MemberType NoteProperty -Name EventCategory -Value $strCategory -PassThru} | Select FullFormattedMessage, CreatedTime, EventCategory
    

    It seems that the EventTypeId of the event returned by Get-VIEvent is included in the first part of the property FullFormat of elements EventDescriptionEventDetail with EventEx key, separate from the rest of the value by a vertical pipe.  Thus, the EventTypeId of the VIEvents can be used to make a match on EventEx of events .net EventManager View object types to get the event 'category' (info, warning, error, user).

    You can, of course, change the Select statements to choice/choose the pieces of information you want to export and then export to a file of data as you please.

    How does do for you?

    * The message has been edited by mattboren on April 5, 2011 - added line at the beginning of the second piece of code '$viewEventMgr = Get-view event Manager.  It was already in the first room and assumes that the user has run the two parts in the same session, but added for completeness.

  • Type of Dimension set using the Rules file

    Hello

    I tried to build a dimension (ASO) of accounts using the build parent-child and wanted to know if we can specify the dimension type "Account" to in the rules file?
    Also all the codes of the property can be given in a single column or placing them in separate columns a good practice? I need to make this hierarchy of dimension as 'dynamic '.

    I use the definition of dimension of the rules file option name.

    Thanks for your contributions!

    Yes you can do it in a rules file. In the setting dimension dialog box, go to the third tab. You can see the list of dimensions and the possibility of adding dimensions. Right-click on the desired size and then select Edit properties. Then, you can set the dimension type and dimension member properties.
    With regard to the properties. I always keep in separate columns of my source.

  • Update of the property once the program starts only...

    I have two classes (below, after the description of the problem).


    The first class, InteractiveStrategy, is the definition of the main class. I declare and instantiate a variable download of DataTxRx class. Once the download of data is COMPLETE, I trace the length of the property issue.

    The second class, DataTxRx has a DownloadData() method and a property of type table questions . In the constructor, call the DownloadData() method. Ownership issues (MUST be) is updated every time the DownloadData method is called.

    The problem is that the property is updated only once, started progran. The executions of the DownloadData() subsquent aren't up-to-date property. How can I work around this problem?

    strategy of package {}

    import flash.display.Sprite;
    import flash.events. *;

    Import strategy.*;

    SerializableAttribute public class InteractiveStrategy extends Sprite {}

    public void InteractiveStrategy() {}

    private var download: DataTxRx = new DataTxRx();

    private var upload: DataTxRx = new DataTxRx();

    public var questions: Array;

    dataTxRx.addEventListener (Event.COMPLETE, onDataDownload);

    }

    private void onDataDownload(event:Event):void {}
    trace (dataTxRx.questions.Length);

    }
    }

    strategy of package {}
    import flash.display.Sprite;
    import flash.events. *;
    flash.net import. *;

    SerializableAttribute public class DataTxRx extends Sprite {}

    public var questions: Array

    funtion public DataTxRx() {}

    DownloadData();
    }

    public void DownloadData() {}

    This procedure downloads the data of a MySQL database")

    dispatchEvent (evt);

    }

    }

    use something like:

    new URLReqeust ("yourphpfile.php? ranVar =" + Math.random ());

  • How to specify the dragdrop function for an added list of dynamically?

    I enclose you dynamically a list item to a component of the canvas and the list to be able to accept items from other lists as a droppable. Due to the nature of my application, I create list when running and it cannot be created in mxml (since there is an undetermined number of these lists, which is known only at run time). My problem is that I can't find a way to set a custom function dragDrop on such an added list of how dynamic (I need such a function of error checking). I enclose the code for a version of my problem here.

    In this example, in the list below, I can drag the items to the first canvas and have my custom function executed but how would do the same for the second canvas? Flex Builder doesn't let me specify the property "dragDrop" of the List object. (My guess is I could have her labeled as something else?) I'm not sure.)

    Thank you very much in advance!
    Vineet

    list.addEventListener (DragEvent.DRAG_DROP, dragDropHandler)

  • Halo 2 graphic problem

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: i just bought halo 2 and ran it on my computer laptop windows 7... It seems that the graphics are very bad... they are very basic... what should I do... n how can I improve the graphics of my game...

    P.S. I have hardly play online and play alone...

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi jayant1234,

    To improve the graphics in the game, try the following steps.
    Step 1: Download and install the Windows 7 compatible video card driver
    a. visit the graphics card or the system manufacturer's Web site to download the Windows 7 compatible driver.
    b. install the driver and restart the computer for the changes to take effect.
    c. check to see if the problem persists.

    Step 2: Adjust display settings
    a. see getting the best display on your monitor
    b. check if the problem persists.

    Step 3: If the problem persists, reduce the hardware acceleration
    a. see "Setting graphics hardware acceleration" section in this article

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • Layout of new anime if I try to scroll down

    I have flashing and sensory processing issues, animation, etc can hurt, can trigger my migraines, and flashing lights of security triggered my seizures. I do not understand why so many sites, including this site adopt the same as painful, where they

  • Upgrading processor... I know, please bear with me

    This is a redundant question, I know and I'm sorry, but I want to be absolutely certain before I give up my search for the upgrade. I have a HP Pavilion DV6-6c35dx with a processor AMD A8 - 3520M. I tried to do things that apparently require an Intel

  • Missing Nrvdsys32.dll

    While trying to install my Windows XP Service Pack 3, I get an error message that my nrvdsys32.dll is missing and has to be re installed. I know it's a link to the library, but I have no idea about where to look for this information, so I can try to

  • EA3500 and DDNS

    I'm trying to set up the DVR digital surveillance. By education I select dwddns.net, set port 8245 DDNS server and the name of the DVR. I click on check (which I guess see if the name is availble) then I'm supposed to enter dvrname.dwddns.netortnumbe

  • external monitor, keyboard and mouse with my Pavilion dv 6500

    I want to use an external monitor, mouse and keyboard with my pavilion dv 6500. I would like to close the lid on the dv6500 in order to save space, while using my external screen and keyboard mouse. Is this possible?