Labels DateTimeAxis exposed in order reverse data

Hello

If anyone can show me what I'm doing wrong here it would be much appreciated, but I think it's a bug.

I have a line chart with a DateTimeAxis on prices of stock and the x-axis on the axis y. The comments of each series are separated by a month.

When I display the graph, it shows the labels on the category axis in reverse order (time back), even if it displays the data in the chart in the correct order. I tried using a labelFunction but you can't seem to display properly as long as the x axis is based months (labelUnits = 'months' on the DateTimeAxis). Weirder still is if you labelUnits = 'years' or any other labelUnits, it displays the labels in the right order.

Any who can fix this problem is a champion.

Here is the code for the chart:

<? 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 "

creationComplete = "application1_creationCompleteHandler (event)" "

>

< fx:Script >

<! [CDATA]

Import mx.charts.series.LineSeries;

Import mx.collections.ArrayCollection;

Import mx.events.FlexEvent;

[

Bindable ]

public var data: ArrayCollection = collection new ArrayCollection();

[

Bindable ]

public var chartData:Array = new Array();

protected function application1_creationCompleteHandler(event:FlexEvent):Sub

{

TODO self-generating method stub

CreateData (0.05, 0.10);

}

private function CreateData (incA: number, incB:Number):void{}

var startYear:int = 2008;

var startMonth:int = 0;

var startAmount:Number = 1;

var itemNum:int = 0;

for ()var j: int = 0; j < 2; j ++)

{

for ()var i: int = 0; i < 12; i ++)

{

var date: Date = new Date (startYear + j, startMonth + i, 0,0,0,0,0);

var stockPrice:Object = new Object();

stockPrice.ObsDate = date;

stockPrice.AmountA = startAmount + (itemNum * incA);

stockPrice.AmountB = startAmount + (itemNum * BOARD);

data.addItem (stockPrice);

itemNum ++;

}

}

}

[]] >

< / fx:Script >

< mx:LineChart id=" linechart1 "width =" " 100% "height =" " 100% "dataProvider =" " {data} " >

< mx:series >

< mx:LineSeries " yField =" AmountA "xField =" ObsDate " />

< mx:LineSeries " yField =" AmountB "xField =" ObsDate " />

< / mx:series >

< mx:verticalAxis >

< mx:LinearAxis id=" v1 "title =" " The share price " />

< / mx:verticalAxis >

< mx:horizontalAxis >

< mx:DateTimeAxis id=" h1 "title =" " Date "labelUnits =" " month " />

< mx:DateTimeAxis id=" h1 "title =" " Date "labelUnits =" " month " />

< / mx:horizontalAxis >

< / mx:LineChart >

< / s:Application >

< / mx:horizontalAxis >

< / mx:LineChart >

< / s:Application >

< / mx:horizontalAxis >

< / mx:LineChart >

< / s:Application >

Yes, it is a bug. I was able to get around. Try to add h1.disabledDays = []; to your program.

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

Tags: Flex

Similar Questions

  • Order web app components by reverse-date of a custom field

    Hi all,

    We have created a Web application that generates a list of events.

    We have created a DEPARTURE DATE field (the field type is "date"), and we need all the elements of the list page will be reverse-date classified using the START DATE field.

    We found an article on the Adobe forums that seems to have found a solution, but in our site, it does not.

    Can update you weight field of a web application automatically?

    Is there someone who can help me achieve what I described above?

    In addition, we must find a script or a plugin allowing the value of the month of the date to be located in the Italian language since Business Catalyst is not fully translated in our language.

    Thanks in advance for any help on this.

    Franco

    Hi Franco, for now you cannot sort by custom date field on web applications. IF you have a range of less than 500 points, you can load all of the elements of web application and then sort the different data such as date. This is your only option for now if you wish.

  • Order by date with a format mask column

    10g - 10.2.0

    Hello

    This is my request
    select to_char(exp_Date,'Mon-YYYY') dt, count(*) from exp_main
    where exp_type like 'Income%Photo%'
    group by to_char(exp_Date,'Mon-YYYY')
    order by exp_date
    
     
    When I run this I get: not a GROUP BY expression

    If I remove the order by, it works fine.

    Is it possible to order by since the output of the query is sorted character.

    I search online most suggested to use the order of column_name. But does not work for me.

    Thank you!
    Ryan

    Hello

    Keep the date information as a DATE, with the exception (if required) for display. That means that GROUP BY and ORDER BY DATE, not a string:

    SELECT    TO_CHAR ( TRUNC (exp_Date, 'MONTH')
                  , 'Mon-YYYY'
                )          AS dt
    ,       COUNT (*)           AS cnt
    FROM        exp_main
    WHERE        exp_type     LIKE 'Income%Photo%'
    GROUP BY  TRUNC (exp_Date, 'MONTH')
    ORDER BY  TRUNC (exp_date, 'MONTH')
    ;
    
  • Seen the clause and order by date

    Hello
    I have a query in which I use the having clause (have rownum between 1 and 10) and you want to order by date, but the result sorts data correctly. The result is not sorted by date.
    The query looks like this

    Select rownum, MTT_HANDHELD_TRANS.hh_RECEIPT, MTT_HANDHELD_TRANS.hh_lic_number and MTT_TOLL_PLAZAS. Acronym of TP_ABBREVIATION AS,
    MTT_HANDHELD_TRANS. HH_PLAZA AS, MTT_HANDHELD_TRANS PLAZA. AS Lane, MTT_HANDHELD_TRANS HH_LANE. HH_TRX_DATE as TrxDate,
    TO_CHAR (MTT_HANDHELD_TRANS. HH_TRX_DATE, 'hh24:mi:ss') AS TrxTime, MTT_HANDHELD_TRANS. HH_VEHICLE_TYPE, MTT_HANDHELD_TRANS. HH_AXLES,
    get_tolltobecollected (hh_plaza, hh_vehicle_type, hh_axles, hh_trx_date, hh_tow_vehicle_type, hh_tow_axles) as TollCollect,
    Decode (NVL(hh_serfee_waived,0), 0, 'No', 'Yes') as the exclusions, hh_waiver_comments, hh_lic_state, hh_monitor, hh_defcashkeyno,.
    As paid NVL(hh_paid,0) FROM MTT_HANDHELD_TRANS, MTT_TOLL_PLAZAS WHERE HH_PLAZA is MTT_TOLL_PLAZAS. TP_PLAZA and hh_remark = 1
    and (trunc (hh_trx_date) between to_date (' 05/01/2010 ',' mm/dd/yyyy') and to_date (' 05/03/2010 ',' mm/dd/yyyy'))
    Group of rownum, hh_receipt, hh_lic_number, tp_abbreviation, hh_plaza, hh_lane, hh_trx_date, hh_vehicle_type,
    hh_axles, hh_serfee_waived, hh_waiver_comments, hh_lic_state, hh_monitor, hh_tow_vehicle_type, hh_tow_axles,
    hh_defcashkeyno, hh_paid have rownum between 1 and 10
    order of hh_trx_date

    Rather than display the data with the date 01/05/2010 first of all, it shows 2010-05-02 and data with 01/05/2010 comes from somewhere between the other dates, I think that is data are themselves mixed up. Is there a way can I fix?

    Thank you.
  • Playlist song order reversal

    How can I reverse the order of song Playlist in my iPad?

    You can't reverse the order on the iPad. Go to the original list in iTunes. Select the heading on the left most column of numbers so that the current order is displayed. Click the kid in the title so switch to a descending sort if it is not already in that order, then right-click on the name of the playlist in the sidebar and click on copy to Play Order. Click again on the chevron is not upward. It is the order in which you can synchronize to the device.

    TT2

  • How do to add the first cell not empty in a row - with results in the order reverses

    A few months ago Wayne Contello solved my initial question about how to add the first non-empty cell (text) in a row where I am inputing several phone numbers and email address.

    The link is below-

    Re: How to add the first non-empty cell (text) in a row

    What I'm looking for now is for the results in the "I - K" columns (each title, "First", "Second", third"in the table) to be in reverse order.

    In other words, I want results in the column 'Third' (K) to appear in the first column (I), "Second" can stay second and the column 'First' (I) be listed as the last column (K).

    I don't want to change the order of the phone 1, 2, 3 and send columns (A, B, C and D respectively) if possible.

    Any help would be appreciated.

    Thank you!

    is to add more than three columns and see the original formulas that I posted in the other direction... like this:

    L2 = K2

    M2 = J2

    N2 = I2

    Select L2 thru N2, copy

    Select the L2 cells at the end of the N column, paste

    now to hide columns I thru K selecting the three column, then using the menu shortcut for columns:

  • Playlist of the burns on the disc in the order reverses

    I'm oldskool... I always like the discs that I feel. So even if I download an album from Apple iTunes Music Store, I burn to disk, add it to my collection of physical disk, as well as my collection of digital discs that I keep to CDPedia.

    Now, something strange has happened, and I don't know if it's from El Capitan, or one of the latest versions of iTunes (I'm running the latest OSX 10.11.3 and the iTunes version is 12.3.2.35).

    So:

    1. I download a full album from iTunes Music Store.

    2. I get a 'album' in iTunes;

    3. I select all the tracks from the album, and then choose file > New > Playlist from selection.

    4. sometimes (and I don't know if it is compatible), the tracks end last firstly (so reverse order);

    5 if (4) is true, so I chose the Playlist edit and sort by track #; I definitely make sure the playlist is in the order I want.

    6 then I choose file > burn Playlist to disc, insert a blank CD, when required, etc.

    The last two times (today was with Philip Glass Koyaanisqatsi), immediately (during the initialization stage) I noticed the top of my iTunes that the CD would be burned in the opposite direction, although the reading list I wanted to burn was in good order. The first time, I continued and indeed: the CD that was in reverse order.

    So I chose to Edit Playlist again, made sure all of the tracks were in good order and tried to burn again. New order (initialization phase) and this time I stopped burning. The CD was unusable, but it was in reverse order.

    So finally I chose for a new playlist (empty!), dragged the individual tracks one by one to the new playlist, filled manually in the title, etc. and then repeat the burning process. This time everything was beautiful, as it should.

    Like I said: it's already happened, but this only happens to me? How (with the exception of manually build a play list). When can I I really rely on the playlist displayed onscreen, knowing that when I press "burn", it will be OK? I don't want to overturn three blank CD for every album, I want to burn.

    Thanks for your comments.

    It may be preferable if the burn list has the songs contained real order of the list, not a sorted order.  First of all, show playlist using the view of songs to show a simple with columns list (if it isn't already).  NOTE: The view control is at the right end of the horizontal bar; If it says currently Playlist, change it to songs.

    In the view of songs , you can sort the list by clicking on the header of the column you want to use for sorting.  To sort by part number, click on the header of the column follow-up of # .  To reverse the order, click it again.  The order of the list appears for the playlist, when you click on the header in the left column.  This column doesn't have any title in the title, and there the sequential numbers below.  The "pointer" in the heading (after clicking on it) must point upwards (click a second time to reverse).

    With the shown playlist in the order of the list, you can manually move the songs (top to bottom) on the list to get them in the desired order.  This is useful, for example, to create a "mix CD" with songs from different albums in the order you want.  Try to burn the CD with songs in the order desired, as shown by using the list command.

  • Sort order of dates

    With the latest updates for VISTA 64 Home Premium, Service Pack 1, when I try to sort the files in chronological order, it sorts by month (1-12), then day (1-31), THEN year, so that on 01-02-08 shows as more recent than 01/01/09 and 01/03/09 is less recent of the foregoing. Y at - it a patch or fix? It is majorly annoying.  As far as I know, I have all the current patches and updates. Sort order must be the YEAR, MONTH, DAY, even if the screen is in the format DAY, MONTH, YEAR.  Help, please.

    M.Nelder

    Hello M.Nelder,

    If you have your order of sorting by type it will sort the date depending on the file first, then by Date.

    When you try to sort by modified Date, try this:

    Mouse over the modified Date header in order to see the menu drop down.

    Select the drop-down arrow, and then select group.

    You should now see all group by time period regardless of the type of file.

  • the records are in order reverse alpha

    I tried all seen in Word 2007, but my files are still listed in the order opposite alpha. Someone knows how to fix this?

    Okay, I mean watching a doc in Word or Excel, I created last week. At the time of the creation of the doc, I saved it in my folder called"documents of work"let say. And lets say I 57 files all contain various docs. When I want to go look at a document, I open Word, then click on the round button colored Windows at the top left and then click on 'Open' and my pop up shirts, with the small image of a folder next to each name in a list, and they are all in reverse alpha order. It would be so much easier if I could do a screenshot and show you.

    Ok. We FINALLY got to where you see these files.
    As you say you have no header column, I guess you look at a display of the icon.
    Go to the high side R/H of the window, and you should see three icons - the 'Help' icon, the "Preview Pane" icon and the "View" icon Click on the dropdown next to the "Display" icon and change the Details view. The column headers should then appear and will allow you to sort in ascending or descending to alphebetic order. Simply click on the column heading "name". If you find my answer helpful, please click the button "Vote as helpful"! Thank you! My Blog

  • Clarification on Sales Order Shipment Date calendar

    Hi Experts,

    While creating an order customer (11i), at the level of the lines, talk us about calendar shipping Date. Suppose, for example, created the past on January 19, 2016, and all orders by creating lines for any of the elements mentioned in the shipping Date of January 22, 2016 calendar. And the same day (19 - Jan himself) I try to run this command sales and also tried to confirm ship. Is - this good process in such a case of Ship Date calendar. Because, in my case, once I made the command Release, released status is still in R, not updated to 'Y '. Also delivery ID is not met in the delivery assignments table. Yet, if I proceed with ship confirm, in the table of order lines, the workflow status code is not updated to "SHIPPED" and in the delivery of details table the status code is not changed to "CL."

    In addition, it shows any error due to the shipping Date of calendar.

    Please help me on this.

    Thanks in advance,

    Bommi

    You must release before they could be confirmed ship.  Assuming that you have the product on hand, adjust your criteria for picking to ensure it includes the order (i.e. If the SSD is the problem, remove the SSD drive selection criteria and add the order number) and reissue.

    Jessica

    P.S. If the response is useful or solves your problem, please mark it as such.

  • Problem with order submit data record for Reporting ATG

    Hi, r. j. Nunes

    I am facing problems with the connection to present newspapers for ATG of the report. The logs for RegistrationFileLogger, SiteVisitFileLogger, UserFileLogger, SegmentFileLogger were successfully getting generated but unable to see the logs for OrderFileLogger during shipment of the order.

    I understand that the/atg/reporting/datacollection/trade/SubmitOrderEventListener of the listener must be notified so that the listeners of corresponding data is called in the order:

    SubmitOrderEventListener-> OrderLogEntryQueueSink-> OrderLogEntryGenerator-> OrderFileLogger

    and newspapers would be written.

    But I'm not able to determine which component notifies the SubmitOrderEventListener by submitting an order.


    Is - this SendFulfillmentMessage component? But SendFulfillmentMessage sends the message to the localdms topic: / local/realization/LocalSubmitOrder on the port of OrderSubmitPort which as component SubmitOrderEventListener listen the subject localdms: / local/realization/LocalSubmitOrder on the DEFAULT port?


    Could someone please clarify.

    Thank you

    Saud

    Hello

    Pipelinelink = "sendFulfillmentMessage" name has been commented to our commercepipeline.xml that we did not use OOTB Presse. Once I removed the comment, sent messages and newspapers to submit order got generated.

    Thank you

    Saud

  • You place your media by Date order (original Date were filmed)

    How can order you your video media in the assets of the project by date fall in the timeline?

    First of all, in the project Panel, right-click anywhere on the top line of the categories as shown...

    Select the base vortex at the bottom, then click on "The creation Date"... then click OK

    Which will add at the end of right-hand side of the list of categories, and if you go, you can simply click on the tab, and it will sort the visible sign that a period where down when you click on...

    Then you should be able to drag your clips and drop on the 'New element' icon or a sequence is empty.

    Neil

  • retrieve item in the order form data

    Hello

    My description of the problem is as below you please help me?

    And requisition and purchase order, when I chose the item, the field description, price and category code have been filled autocrat, but now when I select the item it does not show other data.

    Hello

    Go to the main item for the item query & give description & price in the price list

    Concerning

    Shaan

  • order by date and text

    Hello

    With the help of Oracle 11 g R2.

    I would like to order a result according to the following format

    Previous month

    Fractional

    Fractional

    Overview

    Overview

    Dividend

    Setting

    GL/Alloc

    End of month

    Here is the required order

    Previous month must always be on top (the first)

    Fractional, Roundup, dividend, adjustment should be ordered according to create the field date (create_dt)

    GL/Alloc should be next to the last

    End of month should be the last

    They are all grouped by symbol, so the format above is repeated for different symbols. I tried something like what follows but got an error

    Expected NUMBER had DATE

    order by symbol ,

    case when transaction_type = 'previous month' then

    1

    when transaction_type in ('Fractional', 'Roundup', 'Adjustment', 'Dividend') then

    case transaction_type en ()« Fractionnée », ' Roundup, « Ajustement », « Dividende ») puis

    create_dt

    end

    when transaction_type = « G/L Alloc » puis

    3

    when transaction_type = « Fin du mois » puis

    4

    end;


    Hello

    Sorry, we don't yet know what you want.

    Are you saying that the lines must be sorted according to transaction_type ('Previous month' first, etc.) then, in the case of a tie (and this includes 4 types to get the amalgam) they should be sorted by create_dt?  If so:

    Symbol of SELECTION, transaction_type

    FROM testtable

    ORDER OF CASES

    WHEN transaction_type = "Previous month", 1

    WHEN transaction_type IN ('Split', 'Roundup', 'Dividend', 'Fit')

    THEN 2

    WHEN transaction_type = ' GL/Alloc' THEN 3

    WHEN transaction_type = 'The end of the month' THEN 4

    END

    create_dt

    ;

    The results are what you asked.

    SYMBOL TRANSACTION_TYPE

    ------ --------------------

    AAA previous month

    AAA split

    AAA split

    AAA Roundup

    AAA Roundup

    AAA dividend

    AAA adjustment

    AAA GL/Alloc

    AAA end of month

  • Reading of an item in the order reverses

    How to change a video to run in reverse order in cs6

    Right click on the clip in the timeline, speed/duration/walking speed back.

Maybe you are looking for

  • How to close the 'last' tab added to the music?

    Is there a way to permanently close / dismiss this tab? I consider it necessary to me, so close it but could not find a way to do this in the settings. Is there a way to close or is this a permanent feature of music app? Thank you

  • DAQmx error CREATE AN intermittent-229770 TASK

    I get an intermittent-229770 error when you create a task in my LabVIEW software. My app will work very well for a day or two, and then I get this error of MIG software. The DAqmx task name is Perf_Cst using CAQmx create Task.vi. I only get this erro

  • Fax machine, do not leave the machine to pick up.

    Have a 7520 HP printer all in one. I have a phone/answering machine plugged into the rear 2EXT port and the other phone cord supplied with the printer in the other and it goes on the phone jack in the wall. I have problems with the fax machine pick u

  • Need help with windows update please!

    Tried for months now to get windows update to work properly. I still see a message pop up in my lower toolbar, that says: windows cannot verify the updates, with a red x. I'll try to update manually and it shows 0% all the time. When I go and check t

  • IMAQ learn ringtone 2 "learn the mask."

    People, In my documentation of IMAQ learn ringtone 2, there is no explanation of the work option "mask to learn." Can someone explain it to me briefly? TIA, Candice