Flex Date time axis not showing the correct values

<? XML version = "1.0" encoding = "utf-8"? >

" < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "

xmlns:s = "library://ns.adobe.com/flex/spark".

xmlns:MX = "library://ns.adobe.com/flex/halo" width = "700" height = "500" >

< fx:Declarations >

<! - Place non-visual elements (e.g., services, items of value) here - >

< / fx:Declarations >

< fx:Script >

<! [CDATA]

import mx.collections.ArrayCollection;

[Bindable]

public var stockDataAC:ArrayCollection = new ArrayCollection ([] collection

{date: "2005, 7, 27 ', nearby: 41,71},.

{date: "2005, 7: 28", narrow: 42.21},.

{date: "2005, 3: 29", narrow: 42.11},.

{date: "2005, 1, 1 ', nearby: 42.71},.

{date: "2005, 10, 2", nearby: 42.99},.

([ {date: "2005, 9, 3 ', nearby: 44}]);

public void myParseFunction(s:String):Date {}

/ / Get an array of strings to the last comma-separated string.

var a: Array = s.split(",");

/ / Create the new Date object. Subtract one from the month property.

/ / The month property is zero-based in Date constructor.

var newDate:Date = new Date(a[0],a[1]-1,a[2]);

return Nouvelle_date;

}

]]>

< / fx:Script >

< mx:Panel title = "Example DateTimeAxis" height = "100%" width = "100%" >

< mx:LineChart id = "mychart" height = "100%" width = "100%".

paddingRight = paddingLeft = "5" '5 '.

showDataTips = "true" dataProvider = "{stockDataAC}" >

< mx:horizontalAxis >

< mx:DateTimeAxis dataUnits = 'days' parseFunction = "myParseFunction" / >

< / mx:horizontalAxis >

< mx:verticalAxis >

< mx:LinearAxis baseAtZero = "false" / >

< / mx:verticalAxis >

< mx:series >

< yField = mx:LineSeries 'close' xField = "date" displayName = "AAPL" / >

< / mx:series >

< / mx:LineChart >

< / mx:Panel >

< / s:Application >

the code above shows opposite values from date to date axis it is to say it should show 01/05 2 / 05 / 3 / 05 4/05 but its display 10/05 09/05 08/05 07/05 on the date axis.

Help, please.

I saw this bug on Adobe's JIRA so nothing much you can do for now DateTimeAxis is quite bugged.

In passing, is it me or mx:datavisu is on the low priority these days? Maybe the team working on a version of spark?

https://bugs.Adobe.com/jira/browse/FLEXDMV-2231

Tags: Flex

Similar Questions

  • Availability of platforms on HQ Dashboard does not show the correct values

    Hello

    on my dashboard HQ, I have summarized the availability of all platforms, and in some moments, when the report is refreshing, he said that some platforms are not available (I got a red image). But a few minutes latter all platforms are still green, and in the platforms report that says that they are not available, there no red dot in the last 8 hours, which means that it is available all the time. Why this is happening and is there a solution for this problem? Hyperic version is 4.1.2. Sorry because of my English.

    Thank you.

    Hello

    Although I can't be sure without more information, it seems if you have a time issue between the agents and the server, the agent is overloaded or the server is overloaded and not metric treatment fast enough.

    Would you be able to share a copy of your report on the health of HQ? You can get it by going to Administration-> HQ health and then clicking on the "print" button in the center of a screen. To generate a report which will contain diagnostic information.

  • Animate FancyBox iframe in Edge - do not show the correct height and width

    Hi all

    Can someone please provide advice or a solution to this problem.

    I tried to use the edge Fancybox.js animate to call an iframe (as a pop up album).

    However when I try this it does not show the correct height and width properties - even though I am their definition.

    When I test this on my hard drive it works fine in Chrome and Firefox. But when tried on line on a test server I get a slim pop up that has not properly set the height.

    Would be - because the iframe is pre-configured before composition/html page first affecting the size?

    Help, please

    CODE USED:

    $. fancybox.open)

    {

    type: "iframe"

    autoScale: 'false. '

    height: '600'.

    Width: '600',

    HREF: 'llink.htm site publication. "

    }, {

    padding: 0

    });

    Other references: http://businessanywhere.biz/blog/2013/03/adding-a-lightbox-to-edge-animate/

    See you soon,.

    Jason

    HI koyissa,

    Thank you for your response to this.

    I worked on what was the problem - my external publication that was created to animate dashboard was centered horizontally and vertically.

    He created the problem. When I took this out of the box of fancy worked well.

    See you soon,.

    Jason

  • Present do not get the correct values

    Apex 4.2

    THAT IS TO SAY 8

    Theme 21

    I just upgraded a request from 3.2 to 4.2

    A page has had a lot of text to read only the value always.

    A running a process I got this error

    So I put my items to display only and read to null

    When the page opens all values are set correctly in session state

    My process works well, but when the process terminates and then check out the session state, my articles do not receive the correct values

    I looked into debugging accept

    All ideas

    Gus

    I changed all my articles to text, but after sending, they continue to receive the false values

    Gus

  • Created date field does not accept the correct date?

    Date Created in IPTC field... I enter 1906-01-01 and kick back... the field is now filled w / 2042-02-6.  Lightroom has said that the metadata has been recorded with the original file, but when I look at the image in Bridge (or one that is exported to LR...) I get the correct date that I entered (1906-01-01).

    How can I get Lightroom to display the Date of creation that is anchored w / in the file?

    Thank you!

    This programming bug is most likely due to the use of a 32-bit variable at a certain time, rather than a 64-bit variable.   It would be good that you posted a bug report on the new official website of feedback:

    http://feedback.Photoshop.com/photoshop_family/products/photoshop_family_photoshop_lightro om

    Details of geeks: Date / time on Windows and Mac are often represented as number of seconds more or less from a specific reference date (e.g. 2001-01-01 00:00:00 UTC).   A signed 32-bit integer can represent a total margin of 2 ^ 32 seconds, or about 136 years.   Note that the difference between the entry date (1906) and the displayed date (2042) is 136 years.   So be a date outside the range of 32-bit (1906), caused the time to boil over and wrap around 136 years (until 2042).

  • SelectOneChoice show the correct value with switching problem

    Hello

    I use JDeveloper 11.1.1.5.0 and I have a non-trivial application of SelectOneChoice.

    Here's my usecase:

    I have to show LOV to set the State according to the connected person.

    So, I implemented attribute LOVs view that each filtered for in the light of the type of person (owner or non-owner).

    I created switcher LOV for attribute as java method in module impl invoked by EL expression adf.source.getApplicationModule () .getTaskStateLOVSwitcher (adf.object, CreatedByIdFk);

    to get connected user binded query parameter id.

    public static String getTaskStateLOVSwitcher (ViewRowImpl, String createdById, time stamp dateInsert vri) {}
    ViewObject vo = vri.getApplicationModule () .findViewObject ("TaskViewParTaskTypeIdEx1");
    String userId = getBindValue (vo, "BindProcessedByUserId") m:System.NET.SocketAddress.ToString ();
    Output string;
    If (createdById.trim () .equals (userId)) {}
    output = "LOV_TaskStateIdFkOwner";
    } else
    output = "LOV_TaskStateIdFkNotOwner";
    return output;
    }

    I've used this many fragments of jsff perspective.

    There are fragments where it works fine (but I still don't understand why the switch method is called 3 times)

    And there are fragments where it fails. When there are two lines with different LOV to show SelectOneChoice shows an incorrect value.

    I can see the newspaper that LOV switcher method is called 6 or more times and first 3 times it works with values previously selected line and next time, it runs with the current line.

    He result is SelectOneChoice sets the value of the line previously selected in the first round and goes the LOV index.

    I found in the < getViewPort > ADFc log < ControllerState > message: no port view found ID...

    Is the source of the problem and what is the solution?

    Thank you.

    After eliminating all the differences between 'good' and 'bad' fragments I found a problem in the fragments of masters who defined a real line of iterator.

    Define RangeSize = 10 (not 25) table completely setting to change this behavior in common sense.

  • Text properties in the pages of title - not showing the real values

    Hello world

    When I opened a title page in first Pro CS5 and then select the text, the following properties of the text in question are the following:

    Position x = 100

    Position Y = 100

    Width = 100

    Height = 100

    When I use the selection tool to select an area outside the area of text and then select the text box once again, the properties of the text above show their "real value".  For example, the above text for a specific text box properties will change to:

    Position x = 437

    Position Y = 134,6

    Width = 401

    Height = 170

    Please can someone explain why this happens?  In first Pro CS2, when I selected a text box in a page title, true values were displayed immediately.

    Thank you very much

    Angela

    It's not not clear to me what would be the purpose of design for the properties of an element title does not display the actual properties, so I let go my curiosity and played around a bit.

    I tested in CS4 (then to CS3), and observed what I think are the same questions.  I think I would call it a "bug", although one whose effects are easily circumvented.

    Create a title.  Type a text box (or any other object, such as a form).  The x pos, pos, width and height are all 'accurate '.  Close and reopen (you don't have to put the title in a sequence).

    I think the text box (and the first text box if more than one parameter is created) are selected by default, but the properties are those of 'bad' Angela: 100, 100, 100, 100.  Click in another area of text or shape etc (and no matter with what tool), the properties are then "correct".

    Is the 100 x 4 a default value for something?  (I don't see any of these default values).  The titration module, select a design object (I don't think I like that, but I see as a design choice), but not bad set the properties of the selected object?  But then why put the 100 x 4?

    I also ran the test in CS3; same thing.

    I'm not bothered by it, but I think it's a bug, so I filed a bug report.  You can choose a previous version to the report, and since I have not yet installed cs5, I reported for CS4 (and said I have demonstrated for CS3 and CS4 and that a forum user has reported for CS5).  Angela, you can also report so there is at least one report for CS5.

  • Outer join is not retrieve the correct values

    Hi, I have a problem to recover some data from this query with outer join:

    SELECT count (incident_id), range_2 of
    (by selecting range_2 in apps.aaa_table),
    (Select inc.incident_id,
    XXN2B_RESOLUTION_RANGE (2, ROUND (((TO_DATE (inc. INCIDENT_ATTRIBUTE_7, «hh24:mi:ss jj/mm/yyyy»)-inc. INC_RESPONDED_BY_DATE) * 24), 2)) VARIES
    Inc. stuff
    Inc. INVENTORY_ITEM_ID,
    prom_dt. Iptv_Sumptom - S? µpt? µA
    OF cs_incidents_all_b inc.,.
    cs_incidents_all_tl tl,
    cs_sr_type_mapping m,
    fnd_responsibility RESP,
    ntt xxntt.xxntt_incidents_support,
    xxntt.xxntt_incidents ntt_inc,
    XXe.xxe_tt_promitheas_dt prom_dt,
    20th. Xxe_Cs_Int_Sla als
    WHERE inc.incident_id = tl.incident_id
    AND tl. LANGUAGE = 'EL '.
    AND inc.incident_type_id = m.incident_type_id
    AND resp.responsibility_key IN (select SV. S fnd_flex_value_sets FLEX_VALUE, FND_FLEX_VALUES SV
    where s.FLEX_VALUE_SET_NAME = 'XXNTT_RESPONSIBILITIES. '
    AND S.FLEX_VALUE_SET_ID = SV. FLEX_VALUE_SET_ID)
    AND m.responsibility_id = resp.responsibility_id
    AND resp.end_date is null
    AND inc.incident_number = ntt.incident_number (+)
    AND inc.incident_number = ntt_inc.incident_number (+)
    AND inc.incident_id = prom_dt.incident_id (+)
    AND inc.incident_number = sla. Incident_Number (+)
    - and don't like '%0:00% ' TOTAL_INACT_SLA_DURATION
    (Inc. INC_RESPONDED_BY_DATE is not null AND INCIDENT_ATTRIBUTE_7 is not null)
    ) b.
    (select * from xxntt_custom_hierarchy)
    Union
    Select eidos null null omada, null product_categiory, stuff, null, null, inv_item_descripiption, null, tautopoihsh, inv_item_id double null null symptom
    ) c
    where a.range_2 = b.ranges (+)
    and c.INV_ITEM_ID (+) = b.INVENTORY_ITEM_ID
    and c.CATEGORY_ID (+) = b.CATEGORY_ID
    and c.SYMPTOM (+) = b.IPTV_SUMPTOM
    and c.OMADA = 'A '.
    Range_2 group

    This request is composed by 3 dataset: a, b and c

    the data group is a fixed list of values (LOV): range_2 = "0-2h','2-4h','4-6h','6-8h','8-10h','10-12h','12-14h','14-16h','16-18h','18-20h".

    the dataset b retrieve a list of the incident_id and their related ranges (calculated with the XXN2B_RESOLUTION_RANGE function)

    the c dataset is just a filter on the b of dataset to retrieve only the incident_id who belong to the group "A".

    I want to reach is this: always see the full list of values 'range_2', even if I do not have incident_id with a particular range.
    That's why I put the condition: a.range_2 = b.ranges (+)

    .. .but it does not work... I don't see the incident_id which have the scope inside the LOV... instead I want to see also if there is incident_id without a range to the LOV.

    Range_2 grouping, I see:

    ! http://www.freeimagehosting.NET/uploads/d900035c11.jpg!


    Instead of

    ! http://www.freeimagehosting.NET/uploads/99a75dfca4.jpg!

    Can someone help me understand where is the error?

    Thanks in advance

    Alex

    Hi Alex,

    I think you need to externally join the final predicate, thus:

    ..
    and c.OMADA(+) = 'A'
    ..
    

    Concerning
    Peter

  • Function does not return the correct value

    Hi, I'm having a strange problem and hope someone knows how to solve this problem...

    I try to send a string to a function in another class and do return to a textfield, so I can add it to a movieclip and on the stage. I use it for several buttons. The problem is when I put that a string in it value returns a string for the previous call to the function that is not the string value that I want to use. Here's the function:

    public void replaceMCTxt (mcString:String, xPos:Number,

    yPos:Number, rolloverText:Boolean, newFontSize:uint, height: uint, width: uint = false): {TextField

    var newMCTxt:TextField = new TextField();

    newMCTxt.x = xPos;

    newMCTxt.y = yPos;

    newMCTxt.width = width;

    newMCTxt.height = Height;

    var textFormat:TextFormat = new TextFormat();

    textFormat.align = _gameModel.screenFontAlign;

    textFormat.size = newFontSize;

    textFormat.font = _gameModel.screenFont;

    textFormat.color = _gameModel.screenFontColor;

    newMCTxt.defaultTextFormat = textFormat;

    newMCTxt.text = _languageClass.getTranslation (mcString);

    newMCTxt.selectable = false;

    Return newMCTxt;

    }

    I try to call with this statement in another class:

    _moreGamesTxtField = _updateLanguageClass.

    ("MORE GAMES", _gameModel.moreGamesTxtXPos, replaceMCTxt

    _gameModel.moreGamesTxtYPos, _gameModel.moreGamesTxtWidth,

    (_gameModel.moreGamesTxtHeight, _gameModel.moreGamesTxtFontSize);

    Instead of giving me a movieclip "MORE GAMES", it gives me a 'PLAY' movieclip, which is what the previous call to the function used. I also had a similar problem in another function where he did the same thing with filtering of different buttons, so I think the problem is in the service, but I'm not programmer to know that it's good enough. If anyone has an idea please let me know. Thank you...

    Start the survey using the trace() function to see what value is passed to and returned by some _languageClass.getTranslation ().

  • 'File name' is locked for editing by 'Client', why not show the correct user account

    A .xls file created by MS Excel 2003 and saved on the server files (Windows Server 2008 R2 without Service Pack).

    We have two users: A and c. accounts of A and C join same above file server's domain. A approval of the admin on the server, C is a common user. The version of MS Excel on the pc is 2010, although it is 2003 for C.

    C tries to open a file on the server and it has the change permission on the file and the file, however, the file is locked for editing by 'administrator '. For the moment, no one opens this file, so which is 'Administrator'?

    More tests:

    (1) once A open file C is reached, there is message: file is locked for editing by 'Client', so why shows 'Client' instead of a correct domain account?

    (2) after C opens the file and then A is reached, there is message: file is locked for a domain C user account. So it seems OK.

    Post in the Windows Server Forums:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • Build self... Advanced performance and information system not showing the correct information?

    IV done a self build, and would like to know if this is a common thing or something I did in what regards why "information on the performance and tools" are not to enter the 'manufacturer, model. If I click Start and right click computer-> properties, then click on tools and information on the performance on the bottom left of the screen, and then click view and print detailed performance information and system
    What I get is,

    System

    System manufacturer (im asuming that I would see something like ASUSTeK Computer Inc.)

    Model product name system (im asuming that I would see something like M5A78L-M)

    In addition, the number of processors is showing 2... maybe this is a noob question, but I thought that 'quad' amounted to four?

    The MB is an Asus M5A78L - M USB3
    The AMD Bulldozer FX - 4170 Quad Core 4.20 GHz CPU
    16 GB of RAM
    Graphics AMD Radeon HD 6670

    I would add a scrrenshot, but I don't know how to upload it here, so hopfuly it's info is sufficient here to go. If not, please let me know what are the other necessary specifications

    Thank you

    If you really want your info system (manufacturer, model, OEM Logo, etc) there's this program that does this. It's a low)<500Kb) executable that you="" can="" download.="" it's="" called="" oem="" configurator="" 2.0.="" it="" lets="" you="" change="" the manufacturer,="" model,="" support="" hours,="" support="" phone,="" support="" website,="" oem="" logo,="" as="" well="" as="" the="" owner, organization,="" computer="" name,="" processor="" name,="" computer="" description,="" and="" the="" product="">

    You can download it here (Direct download link): OEM Configurator 2.0
  • Disc 2 installed but it does not show the correct space or files

    I installed a new SSD drive and loaded Windows 7 and everything is fine. Then, I took my orig HD and plugged as a 2nd HD with these two connectors:

    http://www.Newegg.com/product/product.aspx?item=N82E16812200061
    http://www.Newegg.com/product/product.aspx?item=N82E16812119378

    the orig HD is 320 MB, but it appears with 12.1 GB. It says "original Image (F', with a single folder,"Recovery", which has nothing in it..."). When I started the first time, he says just "install disc" or something like that, it asked to reboot and there it was... naked and stripped...

    Drive F:\ has used 12.1 GB, 10.4 gm total and only 1.65 free...

    I got that worked.

  • The module of VLC Player does not show the correct version.

    I downloaded the latest version of VLC Player today which is 2.0.8 but in my list of plug-ins, version remained the same in 2.0.6 and Firefox is saying that he is vulnerable and must be updated.

    My OS is Vista Home Premium.

    Thanks for any help.

    The problem doesn't seem to be with Firefox - rather with VLC. For XP, after installation of the Version 2.0.8 access program VLC folder and right-click on the file npvlc.dll and then click Properties. Click the Version tab and it says 2.0.6. So the 2.0.8 download contains a desktop updated, program vlc.exe (version 2.0.8), but a former web plug-in file, npvlc.dll (version 2.0.6). So that the matter is resolved, I think that VideoLan needs to update the plugin web.

  • date function will not return a correct value

    I used the following code to only display the value for the last seven days. It works very well in the home page (www.dealfindit.com), but in the other page as category (www.dealfindit.com and click on MP3)

    SELECT title, merchant, image, price, price_price, dollar_sign, click_here, listprice_text, dealexpire_text, added_text, to_shop, price_note, description, link_product, shipping_info, tax_info, other_info, deal_expire, list_price, category_items, buying_instruction, DATE_FORMAT(date_created, '%m/%d/%Y %l:%i %p') AS 'date_created_alias',DATE_FORMAT(date_created,'%W %M %d %Y') AS 'date_only'
    FROM mylist
    WHERE date_created > SUBDATE(NOW(), 7)
    ORDER BY date_created DESC
    
    
    code for category page
    ====================== 
    
    SELECT title, merchant, image, price, price_price, dollar_sign, click_here, listprice_text, dealexpire_text, added_text, to_shop, price_note, description, link_product, shipping_info, tax_info, other_info, deal_expire, list_price, category_items, sub_category, buying_instruction, DATE_FORMAT(date_created, '%m/%d/%Y %l:%i %p') AS 'date_created_alias',DATE_FORMAT(date_created,'%W %M %d %Y') AS 'date_only'
    FROM mylist
    WHERE date_created > SUBDATE(NOW(), 7) AND title LIKE '%colname%' OR sub_category  LIKE '%colname%' OR category_items LIKE '%colname%'
    ORDER BY date_created DESC
    

    When combining AND with GOLD in your where clause, be careful of the order of operations. In your case, you probably want to add in brackets:

    WHERE date_created > SUBDATE(NOW(), 7) AND (title LIKE '%colname%' OR sub_category  LIKE '%colname%' OR category_items LIKE '%colname%')
    
  • inputText and ouputText does not display the same value

    Hello

    JDev 11.1.2.4

    On my page, I have an inputText and outputText bound to the same link of the attribute. The bind value is defined in a value change listener, and then the two components are updated. Say I put in 2009 for the PeriodFrom, the inputText remains empty, but the outputText shows the 2009. How is possible that the two items related to the same link does not show the same value.

    < af:inputText value = "#{bindings." PeriodFrom.inputValue}"required =" #{bindings. " PeriodFrom.hints.mandatory}.

    columns = "#{bindings." PeriodFrom.hints.displayWidth}"shortDesc =" #{bindings. " PeriodFrom.hints.tooltip}"id ="id1 ".

    autoSubmit = "true" simple = "true" >

    < f: validator binding = "#{bindings." PeriodFrom.validator} "/ >"

    < / af:inputText >

    < af:outputText value = "#{bindings." PeriodFrom.inputValue}"id ="ot3"clientComponent ="true"/ >

    Furthermore, I tried to get the RichInputText component and call a getValue on it, and the value returned is 2009. I'm completely lost.

    Thank you

    I made the fragment of page from scratch. I discovered why the update does not work. This is because the selectOneChoice is inside an af:subform. If I remove the subform, the update works correctly.

    shortDesc = "#{bindings." StdcntyCode.hints.tooltip}"id ="soc2"simple ="true"autoSubmit = 'true '.

    valueChangeListener = "#{pageFlowScope.identificationSessionEditBean.countryValueChangeListener}" > "

    columns = "#{bindings." PeriodFrom.hints.displayWidth}"shortDesc =" #{bindings. " PeriodFrom.hints.tooltip}"id ="id1 ".

    autoSubmit = "true" simple = "true" >

    columns = "#{bindings." PeriodTo.hints.displayWidth}"shortDesc =" #{bindings. " PeriodTo.hints.tooltip}"id ="id2 ".

    autoSubmit = "true" simple = "true" >

Maybe you are looking for

  • Code 80072efd error so... sick can not install updates!

    Don't know how to solve this problem and have traveled any suggestions to fix it.  I tried 'netsh winhttp reset proxy', but it just says "proxy is direct.  I have also been using internet Protocol version 4, but it just shows the IP address and DNS s

  • computer does not update have hp windows 7 service pack 1

    error code 80070422 come when I look for updates windows, everything has started when I tried to download windows 10 free, computer not stop would stay saying update 1 update 1 was just off, once on new update... tried fix pc that did not help I trie

  • BlackBerry Z10 prevention predictive speller to offer the password as a choice

    I have a question.  Is there a way to prevent predictive speller of offering a password that I commonly use for the low risk of navigation at some retailers store Web sites (e.g. future shop or site GoPro, etc..)  I love the predictive spelling check

  • BlackBerry Smartphones on Curve 8530 e-mail installation problems

    Hello, I'm new on the BB and have problems with the implementation of e-mail. I bought this BB on e - Bay and has not received all the manuals with it. Trying to installing e-mail, the only option I have is to the company's server. I have to use this

  • Deciphering of the SFDC error messages...

    Can someone tell me the difference between "Cannot reference converted lead" vs "[lead ID] is not a valid Salesforce ID for the type of lead.A lead does not update, because lead has been transformed so that when the external call pulled and failed, w