Change sort order in line graph

Sorry, my mistake !
In one of the ColLabels i had placed the xsl:sort line ABOVE the xsl:for-each.
So, now it is working.
In a line graph I need to change the sort order of the elements in my XML file.
I need the elements to be sorted by month number, so that january comes first, then february etc.
I have an element in the XML file called DATE which has the format 'YYYYMMDD'
I tried first to change the sort command for the Label.
<ColLabels>
<xsl:for-each select=".//XX_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:sort select="substring(DATE,5,2)"/>
That worked fine, the label values are resorted as I wanted.
Of course, I also have to set the same sort order for the data values.
So I did that in the same way :
<RowData>
<xsl:for-each select=".//XX_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:sort select="substring(DATE,5,2)"/>
But, to my surprise, I got an error :
Caused by: oracle.xdo.parser.v2.XSLException: <Line 70, Column 45>:
XML-22047: (Error) Invalid instantiation of 'xsl:sort' in 'RowData' context.
Does anybody understand why this was not possible ?
Is there another syntax for sorting in the RowData ?
What's the use of being able to sort the X axis lable, if I am not able to sort the data ?
Edited by: user792912 on 2011-maj-30 05:11

This was an error I had made in the graph code.
The xsl:sort line must be placed AFTER the xsl:for-each !

Similar Messages

  • Change sort order on WF_NOTIFICATION(HISTORY) procedure - 11.5.10 Apps

    Is it possible to change the sort order of the lines in the Action History section that shows up on e-mail notifications?
    We are using Blanket Sales Agreements in Apps 11.5.10 CU1, including the delivered workflow approval notifications. My users are happy with the notifications except that they want the approval history table sorted in reverse so that the most recent action is at the top of the list.
    I have looked at the WF_NOTIFICATION procedure, but it's not just jumping out at me where to make this change, if possible. I'm also assuming that if I change this procedure that it will change for all notifications (PO, AP, etc.). Thanks in advance for any help or suggestions.
    Rhonda

    Hi,
    It is possible to change sort order on WF_NOTIFICATION(HISTORY).
    You can add an atribute to your WF Notifications (Messages) and add an "if" into WF_NOTIFICATION procedure to apply your sort routine just to that kind of notifications.
    Best regards,
    Luiz

  • How to change sort order in Notes?

    I just installed the new Mac OS X Mountain Lion and found the self-contained Desktop-App for Notes.
    But how do I sort my notes alphabetically???
    Using Mac OS X Lion I could change sort order within the mail-application. Btw I would love to sort my notes on my iPad and iPhone as well! It is possible via browser on the iCloud-Website - but the sort order is not transfered to iOS or the new Desktop-App!!
    Can anybody help, please? Apple???

    View > Sort By > Title

  • Changing sort order in Finder to display folder first

    In almost every other release of OS X there was a tweak to edit the frameworks so that you could have finder, when sorting by "Kind/Type"you could display folders first. Well of course they broke that in Leopard.
    Has anyone discovered a way to reinstate this nice little feature so that folders don't appear at the bottom of the list view but at the TOP like PathFinder?
    For those that are curious here WAS the "tweak" (go to System: Library: Frameworks: ApplicationServices.framework: Versions: A: Frameworks: LaunchServices.framework: Versions: A: Resources. Whew. Within that folder, you’ll see the English.lproj folder. Highlight it, and then select File: Get Info. In the Ownership & Permissions area, click on the Details triangle, click on the lock icon, and then click on the Owner pop-up menu and set it to your user name (enter your password if asked). Leave this window open; you’ll be changing it back in just a minute.
    Inside the English.lproj folder is a file named Localized.strings. Drag it onto TextEdit. Find the line that reads "Folder" = "Folder"; and insert a space before the F in the second Folder.)
    TIA,
    Peter

    Hi VFRJOEY,
    there is no way to change the sort order in column-view. This was under discussion since the very first release of MacOS X but never made it into any one of the releases.
    If this answered your question please consider granting some stars: Why reward points?

  • Different sort order with line chart and stacked column chart

    Hi,
    I have a problem with sorting within flash charts.
    The chart should be ordered by a date column.
    If I'm using a line chart everything is fine. The columns in the chart are in the same order as returned by the query.
    If I change the chart type to stacked column chart, I get a wrong order.
    It is orderd like 5, 6, 7, 8, 9, 10, 1, 2, 3, 4.
    What's wrong?
    Here the query i use:
    SELECT NULL AS link,
    TO_CHAR (zeitpunkt, 'dd.mm.yyyy'),
    MAX (DECODE (db_sid, 'TI06E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06E",
    MAX (DECODE (db_sid, 'TI06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06T",
    MAX (DECODE (db_sid, 'TI14S', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14S",
    MAX (DECODE (db_sid, 'TI14T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14T",
    MAX (DECODE (db_sid, 'TI16T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI16T",
    MAX (DECODE (db_sid, 'TI24K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI24K",
    MAX (DECODE (db_sid, 'TI33T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI33T",
    MAX (DECODE (db_sid, 'WF03E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03E",
    MAX (DECODE (db_sid, 'WF03K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03K",
    MAX (DECODE (db_sid, 'WF03T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03T",
    MAX (DECODE (db_sid, 'WF05K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05K",
    MAX (DECODE (db_sid, 'WF05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05T",
    MAX (DECODE (db_sid, 'WF06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF06T",
    MAX (DECODE (db_sid, 'WF07K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07K",
    MAX (DECODE (db_sid, 'WF07T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07T",
    MAX (DECODE (db_sid, 'WF08K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08K",
    MAX (DECODE (db_sid, 'WF08T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08T",
    MAX (DECODE (db_sid, 'WF09K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09K",
    MAX (DECODE (db_sid, 'WF09T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09T",
    MAX (DECODE (db_sid, 'WF10K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10K",
    MAX (DECODE (db_sid, 'WF10T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10T",
    MAX (DECODE (db_sid, 'WG04T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WG04T",
    MAX (DECODE (db_sid, 'WT05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WT05T"
    FROM db_performance_temp
    ORDER BY zeitpunkt ASC
    SQL> desc db_performance_temp
    Name Null? Typ
    ZEITPUNKT DATE
    DB_SID VARCHAR2(30)
    VALUE NUMBER

    I found the solution.
    Anychart seems to have a problem with null values!
    The corrupted sorting only occured for a specific set of search criteria and a specific day. At this day some values have been null.
    I added a "nvl( [...], 0) for every value.
    No I get a correct sort order.

  • Can I change the order of lines in a drop-down menu?

    Can I change the order of items on a drop-down menu? Specifically, the "open" menu that comes up when I right-click on a link.
    Putting "open in new tab" on top of "in new window" makes sense, of course, since it is used more often. But I do a lot of surfing, and had the old position in muscle memory. Re-training my brain to click on the first line instead of the second is taking a long time, and makes me grumbly.
    I'd love to put it back to the old order. Can I? and, if so, how do I do it? (Please give me detailed instructions, IOW, please assume I am a complete simpleton, because sometimes I am.)
    HP G62 w/ Win 7 home premium. If it matters, it's 64-bit.
    And my old desktop, which has, yech, Vista. (I haven't upgraded it to F4 yet.)
    Thanks,
    Roo

    Where is that drop-down list, on a webpage?
    Please provide a screenshot of that issue. <br />
    https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem <br />
    It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.
    Then use the '''Browse ....''' button below the '''''Post a Reply''''' text box to upload the screenshot.

  • List of found events changes sort order when pasted from clipboard

    when I find a set of events in iCal, the list appears in the window at the bottom of the page in the correct sort order when sorted by date, title or type. When I then copy that list to the clipboard and paste it into another program (Pages, MacJournal, TextEdit) the sort order changes.
    I work mostly in English, but my macbookpro keyboard is German, so I assume the problem is with the language settings. I've tried changing the system preferences for language and sort order, and that changes the sort order, but it doesn't get it right.
    Anyone have any ideas?
    Thanks

    when I find a set of events in iCal, the list appears in the window at the bottom of the page in the correct sort order when sorted by date, title or type. When I then copy that list to the clipboard and paste it into another program (Pages, MacJournal, TextEdit) the sort order changes.
    I work mostly in English, but my macbookpro keyboard is German, so I assume the problem is with the language settings. I've tried changing the system preferences for language and sort order, and that changes the sort order, but it doesn't get it right.
    Anyone have any ideas?
    Thanks

  • Report Painter: How to change the order of lines in selection screen

    Dear Gurus on Report Painter,
    how can I change the order of the lines (where the values for the variable selection of my cost center report are entered) in the selection screen of a report painter report? The Selection screen looks awful.
    Is there also a possibility to add another description to each line of the selection screen?
    Thank you very much for your advice.
    Best regards Timo

    I am afraid you have much choice in choosing the order of the selection parameters. However, with the developer's access you may.
    This is how!
    Step 1: If it is a standard report, copy to your own report. and assign it to a report group. and execute.
    Step 2: When you execute, and the selection appears, go to systems>status and here , copy the program name (it may look something like GP46LP6VEDORBSA2IHWYSR4TL58020)
    Step3: Go to SE38 and enter the above derived program name with a view to re-arrange the line withing the program, with reference to selection parameters. 
    For example: I have a selection screen in the following order:
      Controlling area            
      Fiscal Year                 
      From period                 
      To period                   
      Plan version                                                                               
    Cost center group           
      Or value(s)                 
      Cost element group          
      Or value(s)                 
    The corresponding program that drives this order is in the program and would look like this,
    SELECTION-SCREEN BEGIN OF BLOCK VALUE_SELECTION
                     WITH FRAME TITLE TEXT-003.
    <b> PARAMETERS: $1KOKRE  LIKE CCR1S-KOKRS .
      PARAMETERS: %1KOKRE  LIKE CCR1S-KOKRS MODIF ID IN4.</b>
    <b><i> for controlling area</i></b>
      PARAMETERS: $1GJAHR  LIKE COSP-GJAHR .
      PARAMETERS: %1GJAHR  LIKE COSP-GJAHR MODIF ID IN4.
    <b><i> for fiscal year</i></b>
      PARAMETERS: $1PERIV  LIKE COSP-PERBL .
      PARAMETERS: %1PERIV  LIKE COSP-PERBL MODIF ID IN4.
    <b><i> for period from</i></b>
      PARAMETERS: $1PERIB  LIKE COSP-PERBL .
      PARAMETERS: %1PERIB  LIKE COSP-PERBL MODIF ID IN4.
    <b><i> for period to</i></b>
    etc.
      PARAMETERS: $1VERP   LIKE COSP-VERSN .
      PARAMETERS: %1VERP   LIKE COSP-VERSN MODIF ID IN4.
      PARAMETERS: $1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4 .
      PARAMETERS: %1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4.
    SELECTION-SCREEN END OF BLOCK VALUE_SELECTION.
    ......... set variables ..............................................
    SELECTION-SCREEN BEGIN OF BLOCK SET_SELECTION
                     WITH FRAME TITLE TEXT-004.
      PARAMETERS: $1KOSET  LIKE RKSB1-KSGRU.
      PARAMETERS: %1KOSET  LIKE RGSBS-SETNR MODIF ID IN5.
      SELECT-OPTIONS _1KOSET  FOR CCR1S-KOSTL .
      PARAMETERS: $1KSTAR  LIKE RKSB1-KAGRU.
      PARAMETERS: %1KSTAR  LIKE RGSBS-SETNR MODIF ID IN5.
      SELECT-OPTIONS _1KSTAR  FOR CCR1Z-KSTAR .
    SELECTION-SCREEN END OF BLOCK SET_SELECTION.<i></i><b></b>
    If you want fiscal year to appear first, you try just copying the coding relating to fiscal year just above the coding for Controlling area.
    Extend the same logic for what you may want to get.

  • How to change marker size in line graphs

    Hello,
    I'm using line graph and i show markers for the user know where to see a tooltip. I observed that the line markers are very big and clutter my graph when points are very close one anothers. I would like to make them smaller, but I don't know how to do it.
    Any help is appreciated.
    Thanks,
    Plan.
    <dvt:lineGraph ...>
    <dvt:seriesSet markerDisplayed="true">
    </dvt:seriesSet>
    </dvt:lineGraph>

    >System Preference>General
    this will change text size and associated icon size.

  • Changing Sort order in iTunes

    I need to change the sort order in iTunes, pretty much like clicking on the browser header until the sort is "album by artist". Is there a way to do this?
    Thanks

    Took me a long time to get past the inconsistencies that Accessibility Inspector was revealing in iTunes. I finally ran a verify in Accessibility Verifier and discovered some inaccurate reporting in the Inspector. This works. Figured I would share it.
    If things are changed to "Album", it will not do more than re-sort that column. It will not change the Album by... setting. I hope I can figure that out.
    -- This will ensure that the artist column is sorted in ascending order
    tell application "System Events"
    tell process "iTunes"
    --read sort of grouping column
    set groupSort to (get value of attribute "AXSortDirection" of button "Artist" of group 1 of outline 1 of scroll area 1 of splitter group 1 of window 1)
    -- click button to select artist column if necessary
    if (groupSort = "AXUnknownSortDirection") then
    click button "Artist" of group 1 of outline 1 of scroll area 1 of splitter group 1 of window 1
    end if
    -- set to ascending if necessary
    if (groupSort = "AXDescendingSortDirection") then
    click button "Artist" of group 1 of outline 1 of scroll area 1 of splitter group 1 of window 1
    end if
    end tell
    end tell

  • Changing Sort Order in Smart Album when Looking for Roll Name=Corruption

    We've confirmed via testing and from new posters that changing the sort order in a Smart Album who's criteria is to look for a roll name will cause iPhoto to crash and then crash upon launch after that.
    So to avoid corrupting your library do not change the sort order of a Smart Album designed to locate rolls.
    The thread discussing this is:
    IPhoto keeps on crashing, cannot use it
    Rebuilding the library with iPhoto Library Manager recovered the library. However, I don't know if a rebuild via the Control+Option key will do the same.
    G5 Dual Core 2GHz, 2G RAM, 22 Display, 250G HD, 200G FW HD, QT 7.0.4P   Mac OS X (10.4.6)   Canon S400, i850 & LIDE 50, Epson R200, 2G Nano

    Ha! I upgraded to iPhoto 6.0.3 and opened the dummy library I had created. (This was the library where the crash on launch kept happening because I had a smart folder looking for rolls and sorted by title or something else other than the default.)
    Guess what, it opened just fine! 6.0.3 fixes the crash. Not sure how much it helps people who started new libraries, but at least others won't run into this.

  • How to change sort order for Notes in iOS?

    When using Notes in OS 10.10, I can change the sort order. However, I cannot see how to change the sort order for Notes in iOS8 on my iPhone. I sync using iCloud, but the iPhone does not pick up the sort order (alpha) that I have chosen on my MBP.
    Is it possible to change the sort order on phones?
    Thanks.

    View > Sort By > Title

  • Change sort order of Podcasts on iPod?

    In iTunes, my podcasts are sorted in ascending order according by the Release Date field. I've also made sure that the different parts of a certain podcast episode has proper Track Numbers.
    However, on my 5.5G iPod, the podcasts are sorted in a descending order (newest first) which plays everything backwards (i.e. a podcast with 4 parts play's part 4 first).
    How can I change the sort order of my podcasts on my iPod?
    I've noticed that even if all my podcasts have been given Track Numbers (usually 1-4 per episode), when they play on my iPod, it says "1 of 1" instead of "1 of 4" etc. Why is that?
    Also, the most annoying thing is that after a podcast has played, I'm thrown out back to the main Podcast Menu. I then have to go back into Podcasts, choose the Podcast folder and then choose the next podcast to listen to. Very weird behavior.
    My iPod is set to automatically sync with iTunes, so I can't change anything in iPod playlists in iTunes

    i discovered this completely by accident.
    connect your iPod to your computer.
    click the podcast bit of your iPod on the left hand side. (so it brings up which podcasts you have on your iPod)
    you can then click 'release date' to change the order from either newest or oldest first.
    unfortunately you can only do this for your entire podcast collection. i subscribe to some audiobook podcasts, and for some reason the episodes seem to have been released with the earlier episodes on later dates, meaning listening to the sequentially would mean listening to them backwards, but otherwise this works perfectly.
    hope that helps.

  • Finder - changing sort order in column view

    Anyone know a way to change the sort order when using the COLUMN view in Finder? It's defaulting to alpha and I'd like to change it so when I'm viewing a particular folder the contents are displayed by Date Modified like I can when using the other views.
    THANKS!

    Hi VFRJOEY,
    there is no way to change the sort order in column-view. This was under discussion since the very first release of MacOS X but never made it into any one of the releases.
    If this answered your question please consider granting some stars: Why reward points?

  • Changing sort order in iTunes does not change order on iPad

    If you create a new playlist (not a smart playlist) in iTunes, you can get the songs to order according to the track number or the name of the song or the size etc. It used to be that this selected sort order would be reflected in the corresponding playlists on the iPhone/iPad
    This doesn't seem to work using iTunes 10.6, iTunes Match and iOS 5.1 on my iPad 2.
    1. I create a new playlist in iTunes and name it Test.
    2. I sort this playlist by the Name column, so that the songs are in the A to Z order (Fernando, SOS, Waterloo)
    3. The new playlist appears on my iPad.
    4. The iPad playlist lists the songs in the order selected in iTunes.
    Now, back in iTunes, I click on the Name column again, so the names are now sorted in reverse. That is, from Z to A (Waterloo, SOS, Fernando). I also rename the playlist to Test 2 so that I know that the same playlist has been updated on my iPad.
    So the playlist Test 2 is now ordered by the song name from Z to A in iTunes. However, the playlist on the iPad does NOT reflect the new sort order. It is still ordered A to Z, not Z to A as I expected.
    5. Now I create a new playlist named Test 3. I open Test 2 (still in the order Z to A) and copy the songs to Test 3.
    6. The new playlist named Test 3 appears on the iPad.
    7. The songs are in the correct order.
    8. Change the order again in the playlist.
    9. The change in the order is NOT reflected on the iPad.
    Grrr. I quit the Music app (including the background process on the iPad) and launch it again. But the order of the songs in Test 2 is still not the same as in iTunes.
    Totally frustrated, I do the following:
    1. Quit all apps running in the background on the iPad.
    2. Go to Settings and turn off iTunes Match.
    3. Log out of the iTunes store.
    4. Restart my iPad so that the playlists disappear from my Music app.
    5. Turn iTunes Match back on.
    6. Log back into the Store.
    7. Wait for the iCloud to sync.
    8. Playlist Test 2 is still in the incorrect order! This is unbelievable.
    I have tried the Right-Click 'Copy to Play Order' trick that I read about in another post but it doesn't help.
    Is anyone else experiencing this problem? Any solutions?
    Thanks in advance.

    This isn't an issue of putting songs on that I don't want, it's that it doesn't CHANGE my music, even when I try to make it change.  I've got over 15000 songs in my iTunes; my iPod can only hold around 275 songs.  My problem, is that I can't make it "randomly" choose different songs.  when I try to change the music, it puts the same songs on over and over.
    Emphasis here is on RANDOM: I do not want to have to select the music to put on my shuffle. and
    CHANGE: If I only wanted to listen to the same 275 songs, I wouldn't have bothered purchasing the others...

Maybe you are looking for

  • Task flow not visible

    I was experimenting with the UI Shell after viewing Chris Muir's presentation. I attempted to put a task flow as a second level tab and the tab shows up but the content (a simple table) is not showing. The task flow has only one activity and no param

  • Any program other than safari won't detect internet

    any program other than safari won't detect internet eg. itunes, skype etc. I can't even system update. Safari has no problems and I can use the internet fine. Someone told me to check proxy settings and make sure "Use Passive FTP Mode" was ticked whi

  • How to organize in iPhoto 6???

    I need help organizing my pictures in iPhoto 6... When I need to send a picture or just browse in my directory of pictures I have to take a guess in which folder the picture i'm looking for is in. For example I have a "Modified" and "Originals" folde

  • BT turning speed down and latency up ??

    BT turning speed down and latency up ?? Hi All & Happy new year Wanted to see if anyone else has seen the same issues as I have. Right 4 ISP's in the last 18 mths. 1. Zen internet - perfect but expensive, 7mb down speed. 2. Newcall (resold Tiscali ie

  • Printing foreign translations in RH7

    My documentation has been translated into several different languages.  Both the original (English) and the translated Help is generated in RH 7 -- both WebHelp and Printed Documentation.  Asian languages present issues.  The most pressing one is as