Reverse data on charts

for instance, the below xml on a columnChart put "Day 3" at
the top and "Day 1" at the bottom of the chart. is there a way to
reverse this is flex?
<?xml version="1.0" encoding="utf__8"?>
<groupprofit>
<profit day="Day 1">
<Rooms_PercentageBasis>21021</Rooms_PercentageBasis>
<FB_Approximation>14122</FB_Approximation>
</profit>
<profit day="Day 2">
<Rooms_PercentageBasis>21021</Rooms_PercentageBasis>
<FB_Approximation>10185</FB_Approximation>
</profit>
<profit day="Day 3">
<Rooms_PercentageBasis>21021</Rooms_PercentageBasis>
<FB_Approximation>10185</FB_Approximation>
</profit>
</groupprofit>

I have had problems using the output HTML file also - what I
did was create another (in my case ColdFusion) file with just the
object and embed tags in it - see my attached code for a sample
(which may or may not be exactly what you want). So, we I had the
same problem, but I didn't work through it - I just recoded the
HTML page (this also helped with clarity!). Let me know if that
works any better.

Similar Messages

  • Display data into Chart Js

    1
    I Have Problem in display data into Chart Or chartJs ,
    In my Controller I Return Json and
    use it in javascript like this but i have
    error that tell me 't' is undefined
    $(document).ready(function () {
    $.getJSON("/Report/GetTransactions/", function (data) {
    debugger;
    var ctx = document.getElementById("myChart").getContext("2d");
    var myBarChart = new Chart(ctx).Bar(data);
    debugger;
    data = {
    labels: ["January", "February", "March", "April", "May", "June", "July"],
    datasets: [
    label: "My First dataset",
    fillColor: "rgba(220,220,220,0.5)",
    strokeColor: "rgba(220,220,220,0.8)",
    highlightFill: "rgba(220,220,220,0.75)",
    highlightStroke: "rgba(220,220,220,1)",
    data: [data]
    label: "My Second dataset",
    fillColor: "rgba(151,187,205,0.5)",
    strokeColor: "rgba(151,187,205,0.8)",
    highlightFill: "rgba(151,187,205,0.75)",
    highlightStroke: "rgba(151,187,205,1)",
    data: [data]
    and my controller is this
    return Json(_reportRepository.GetTransactions(), JsonRequestBehavior.AllowGet);

    Hi Mario Castro,
                              In selection Screen  initially u have to enter the input value after provides some user command only next screen will be trigger.
    In the next screen PBO event you cant assign selection screen Variable into next screen fields.
    Eg.
    Selection Screen Variable
              s_belnr
               s_bukrs
               s_gjahr
    Next Screen
               t_belnr
               t_bukrs
               t_gjahr
    In PBO  you can code
              t_belnr  = s_belnr
              t_bukrs = s_bukrs
             s_gjahr  =   s_gjahr
    Revert back if any difficulties to do.
    Regards,
           Thangam.P

  • How to extract data from Chart History?

    Dear all, I have read a lot of posts, but still don't understand how to extract data from Chart history.
    Suppose you acquired 1024 points of data every time, then use "build array" to build an array, then send to intensity chart to show, then save the history into a .txt file,  but how to extact data from the file?
    How Labview store the data in the 2D history buffer?
    Anybody has any examples?

    The simplest would be to save the 2D array as a spreadsheet file, the read it back the same way.
    Maybe the attached simple example can give you some ideas (LabVIEW 7.1). Just run it. At any time, press "write to file". At any later time, you can read the save data into the second history chart.
    If you are worried about performance, it might be better to use binary files, but it will be a little more complicated. See how far you get.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    IntensityChartHistorySave.vi ‏79 KB

  • Error while reversing data from SQL Server to ODI

    hi,
    I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
    And now, I am getting the below error while reversing the data from SQL Server database.
    0 : 08001 : java.sql.SQLException: No suitable driver
    Looking for the assistance on the same.
    Thanks,
    Abhay

    If everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
    also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables.

  • Reversing accrual/deferral document after stated reversal date

    Hi All,
    I had an accrual/deferral document posted in Feb, 2006 which was stated for reversal on 15th march, 2006. This reversal was to be done automatically by the system but due to some problem at that time, it didnt get reversed. We couldnt reverse it once the reversal date went by so we posted a GL document (FB50) with opposite line items to negate the effect.
    Now its March, 2007 and we want to knock these two line items from open-item mgmt accounts as it still shows these items as open. If we can reverse the originally posted accrual/deferral document it can be done. But since the posting period for march, 2006 is now close we cant find a way to reverse it.
    Any suggestions on how we can clear these open items?

    Use t code FB02. Enter required parameters and press enter. From the menu slect Extras - Document header. This will take you to next screen. In this screen from the menu select GoTo Document Header. Change the reversal date and save.
    Hope this helps. If useful, please reward points.
    Regards
    Rakesh Pawaskar

  • Chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: OR

    Hi,
    if the query where my resource gantt chart is based on returns more the 107 rows, i will get the following error:
    chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If i reduce the number of results, the chart is working fine.
    Max rows attribute of the series is adjusted to 4000
    Any idea?
    Thank you

    Thank you,
    I have tried it, but it I am not able to make it work, here you find a snip of my pagesource:
    <anygantt> <resource_chart>
    <resources>
    <resource id="341" name="Drexler, Franz" />
    <resource id="5" name="Gross, Johannes-Ludwig" />
    <resource id="8" name="Pecherski, Andrzej" />
    <resource id="131" name="Steinmetz, Raphael" />
    <resource id="191" name="Jenks, Raymond" />
    <resource id="33" name="Alhambra, Roda Marie" />
    <resource id="31" name="Daminescu, Adrian" />
    </resources>
    <periods>
    <period resource_id= "31" start="24-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-JAN-13 12.00.00.000000000 AM" end="04-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="26-JAN-13 12.00.00.000000000 AM" end="04-FEB-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="01-JAN-13 12.00.00.000000000 AM" end="06-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="22-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="21-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "31" start="07-JAN-13 12.00.00.000000000 AM" end="11-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="21-DEC-12 12.00.00.000000000 AM" end="21-DEC-12 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "33" start="26-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "33" start="25-FEB-13 12.00.00.000000000 AM" end="25-FEB-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="28-MAR-13 12.00.00.000000000 AM" end="29-MAR-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="09-APR-13 12.00.00.000000000 AM" end="09-APR-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="01-MAY-13 12.00.00.000000000 AM" end="01-MAY-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="12-JUN-13 12.00.00.000000000 AM" end="12-JUN-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="26-AUG-13 12.00.00.000000000 AM" end="26-AUG-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="01-NOV-13 12.00.00.000000000 AM" end="01-NOV-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="31-DEC-13 12.00.00.000000000 AM" end="31-DEC-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="21-AUG-13 12.00.00.000000000 AM" end="21-AUG-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="15-OCT-13 12.00.00.000000000 AM" end="15-OCT-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "8" start="23-DEC-13 12.00.00.000000000 AM" end="23-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-DEC-13 12.00.00.000000000 AM" end="27-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-JAN-14 12.00.00.000000000 AM" end="03-JAN-14 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="21-MAY-13 12.00.00.000000000 AM" end="24-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-MAY-13 12.00.00.000000000 AM" end="29-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="11-FEB-13 12.00.00.000000000 AM" end="11-FEB-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="29-JUN-13 12.00.00.000000000 AM" end="14-JUL-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="16-AUG-13 12.00.00.000000000 AM" end="16-AUG-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "8" start="26-AUG-13 12.00.00.000000000 AM" end="30-AUG-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-SEP-13 12.00.00.000000000 AM" end="06-SEP-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="15-FEB-13 12.00.00.000000000 AM" end="15-FEB-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "5" start="13-MAR-13 12.00.00.000000000 AM" end="13-MAR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="22-MAR-13 12.00.00.000000000 AM" end="22-MAR-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "33" start="20-MAR-13 12.00.00.000000000 AM" end="20-MAR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="08-APR-13 12.00.00.000000000 AM" end="08-APR-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "31" start="05-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "31" start="02-MAY-13 12.00.00.000000000 AM" end="03-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "341" start="01-JUL-13 12.00.00.000000000 AM" end="22-JUL-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "341" start="09-MAY-13 12.00.00.000000000 AM" end="12-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "191" start="04-JUL-13 12.00.00.000000000 AM" end="06-JUL-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "31" start="15-JUN-13 12.00.00.000000000 AM" end="30-JUN-13 12.00.00.000000000 AM" style="green" />
    </periods>
    </resource_chart></anygantt>
    </textarea>
    <div id="chartDiv"></div>
    <script type="text/javascript" language="javascript">
    /* Set default swf path */
    AnyChart.swfFile = 'i/flashchart/anychart_6/swf/OracleAnyChart.swf';
    /* Create new gantt chart */
    var chart = new AnyChart();
    chart.width="2500";
    chart.height="2500";
    /* Get string data from text area */
    var data = document.getElementById('rowData').value.toString();
    /* Set data */
    chart.setData(data);
    /* Write chart to "chart" div */
    chart.write("chartDiv");
    </script>
    do you have a idea whats wrong? thank you

  • Problems with displaying data in Chart

    Hi, everyone
    I am stuck with displaying data in Chart. I set the minimum
    and maximum for LinearAxis of a LineChart, so the chart only
    display the data within this range. But sometimes I still need to
    keep the trend of all data even the data is out of range.
    eg, the range of verticalAxis is 0 -100 and I got data 70,
    120, 90. Neither I want to set the data 120 to 100 in order to keep
    the data point nor make the data 70 connected directly to data 90.
    All I want is to keep the shape, from 70 to 120, from 120 to 90,
    but 120 doesn't display in the chart.
    My another question is when I try to select an area of a
    chart to zoom in, how can I the get the exact area that I select to
    zoom,
    for example: I want to use exactly the result of the
    following line:
    ((firstMouseX - this.mouseX)/ this.dataRegion.width) *
    chart.dataProvider.length
    that is I don't want to use methods ceil or floor to get the
    approximate area.
    Excuse me, I got one question more. The weird things is my
    chart won't resize itself when I resize the VDividedBox or other
    containers. I set the width equals 100% wherever it needs to be.
    Just like the Flex sample - dashboard. If I open a small window at
    the very begining and then maximize the window, the chart still
    keep the small part of its container. I don't understand why.
    Sorry for too many questions.
    Hope someone can help me.
    Thanks in advance.

    Can I use the Interpolate to solve the first problem?
    But I have no idea about interpolate at all.
    Please help!

  • Parked doc that has 'Reversal Reason' & 'Reversal Date' available

    Hi guys,
    Transaction FBS1, Enter Accrual/Deferral Document, has the following additional fields when compared to a standard posting transaction such as FB01 which allows for the auto reversing of the accrual:
    1. Reversal Reason
    2. Reversal Date
    Is there a method of parking a document that has been entered via FBS1?
    Or is there a different transation that will park a document but will also allow the 'Reversal Reason' & 'Reversal Date' to be populated?
    Cheers

    As you have noticed by system design that indeed the options for Park or Hold are not available
    (greyed out) for accrual documents (FBS1).
    The apparent reason is because an accural document requires a reversal
    date and a held document cannot handle a reversal posting.
    You may want to consider using the "post with reference" feature to
    simplify the tasks of reentering accrual/deferral documents which occur
    every month.
    In adition,  please read note 492006:
    'Special transactions such as FBB1, FBS1, FB41 cannot and must not be
    parked since subsequent processing using FBV0 is not possible.'
    Hope that helps.
    Jon

  • Validation on Reversal date

    Hi,
    For accrual entry I am using spreadsheet and uploading. In the spreadsheet, in the "Reversal date" field, even if I give wrong date format the system is uploading successfully. I mean it is accepting if I write like 22/22/56/  or 1-/89/99, etc... I need to write a validation to resolve this.
    I need to meet following condtions.
    1. System has to accept only MM/DD/YYYY format.
    2. The system has to allow entering only numbers (and not letters and special characters).
    3. The Reversal Date has to be later than the Posting Date .
    I dont know how to write validation.
    Can anyone help me.
    Thanks
    Ram

    Hi,
    If the date is getting populated in date fields in SAP, there is no way the system will accept the way you have indicated. The date format what you have specified in the system MM/DD/YYYY - system will accept only that format. Why don't you try to enter manually a date and check whether system accepts. If system is accepting meaningless dates, there is a some issue in SAP system.
    Probably, you can consider whether a validation can be developed to check that reversal date is subsequent to date of accrual date.
    Thanks
    Murali.

  • How to control the default Reverse Date at VL09

    Hello,
    At VL09 (reverse goods movement) screen, the default Reverse Date is today.
    If users want to modify the Reverse Date,
    users have to select a line, click on define date button and input date into the local date field at pop-up screen.
    I want the default Reverse Date at VL09 screen to be the same as the Actual GI date of delivery.
    Please tell me how.
    Thank you.

    1. There is no standard BADI and userexit which can fulfill your requirement.
    2. You can try to do the modification in RVV50L09.
    Before
    "CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'"
    You can add  "Move XLIKPUKWA-wadat_ist to  XLIKPUKWA-STDAT. "

  • How to set the Reverse date to be the same as the Actual GI date by default

    Hello,
    On VL09 (reverse goods movement) screen, default reversal date is the system date.
    Users have to select the line, click on define date button and enter the correct cancellation date to the local date field on the pop-up.
    I want the reversal date on VL09 screen to be the same as the Actual GI date by default.
    Thank you.

    Hi,
    I checked the program.
    Check in routine FORM insert_data_for_reversal  --->  IF Condition (( xlikpukwa-wbstk EQ charc AND xlikpukwa-vbtyp CA vbtyp_lief ) OR  ( xlikpukwa-wbstk CA 'BC'  AND xlikpukwa-vbtyp CA vbtyp_liav ). ---> 2 performs are there one with '01' and other with '02' as actual parameters.
    In your case '01' is passing to the routine. if you try to pass '02' u can achive your requirement.
    For testing in debug mode pass FIELDS-FIELD_ATTR = '02' for field name DATLO. then you can see the output.
    Try to handle this problem using Enhancement Operations.
    Hope this helps you.
    Thanks
    Raghavendra

  • BAPI for Posting through FBS1 with reversal reason & reversal Date

    All Experts,
    Can I use BAPI_ACC_DOCUMENT_POST for posting in FBS1 with reversal reason & reversal date? I can't find such option in the BAPI. If not, can you suggest other BAPI that I can use to perform posting with reversal reason & reversal date?
    Thanks in advance.
    Regards,
    Azad.

    You need to use RFBIBL00, create a file to be consumed by it and it will create a session variable that can be run by SM35

  • Journal Voucher PLD, Reversal Date

    Dear Experts,
    At Journal Voucher PLD, choose Source Type = Database, Table = Journal Voucher Entry, Column = Reversal Date.
    But the printout is blank.
    Check database OBTF, StornoDate got value there, may i know why it is not printed? The SAP Version is 8.8.
    Thanks.
    Regards,
    Lay Chin

    Yes, StornoDate is also available in OBTF (Journal Voucher) and I can see the value stored inside properly.
    But it is not appearing in the JV PLD when i choose database type , I wonder will there any system variable that can help.
    Thanks.
    Regards,
    Lay Chin

  • Transaction EA15- Reversal date (changing default)

    Hello,
    In the selection screen of transaction EA15, the default value of the field ( Reversal date ) is blank.
    How can I -by customizing- chang it to be the date of today.
    Do you have any Idea? I am really appreciating any help.
    alot of thanks...
    Hussam.

    Hi ,
    Fist of all - There is no parameter ID for this field , so you can set the default setting through parameter ID .
    Secondly , you will have to make an enhancement in place in the FM for mass document reversal , which again is not recommended .
    If your requirement is just to see to it that user enters then you can try the screen varient through SHD0 .
    Create a sceen varient through SHD0 and then make the reversal date as mandatory in the screen varient .
    This should suffice the purpose , if the requirement is only of entering the date and not leave it as blank then use screen variend else , make the enhancements coming in to your source code in FM for mass document reversal .
    Regards ,
    Dewang T

  • How to reverse data from VFX3 to VF04

    I have an issue time of running t-code VFX3 (release to accounting) ,  bcoz by mistake i  released to A/c on production server.due to this effect , all the VF04 data Comes in VFX3.
    so ,I want VF04 data reverse from Production data. Have any t code or procedure to reverse data from VFX3 to VF04.
    please suggest me i should i do.
    Meenakshi Chitrode

    Don't play around with VF04 ( or any other  tcode ) in production server.  You can use VF11 to cancel the invoice created. After the invoice gets cancelled, it will again appear in VF04 (billing due list ) . If you want to reverse only the accounting document, use FB08 ( not recommended, as other  documents also get created during billing creation like CO , profit center accounting document depending on configuration ).
    You can't cover it up as, whatever transactions you do, your name will be reflected in the username.

Maybe you are looking for

  • IMAP message - Email is too large

    I'm been on Windows 8 and Outlook 2013 for the past 6 months without issue. Recently I started receiving the following pop-up message every 2-3 minutes: Your IMAP server wants to alert you to the following: Email is too large, limit size to less than

  • HELP - iMovie11 project does not open anymore

    I worked for hours saved it on internal and external drive and all but now it does not open anymore (neither internal nor external) . iMovie freezes right at the beginning of opening the project - progress bar at about 10% nothing moves. I just worke

  • Training Apple dictate with new words

    Hello, I am using a MacBook Pro, and I am using Mac OS, Version 10.10.2. I am now finding using Apple dictation I quite handy facility on my MacBook. However there are a number of words because of my technical profession as a IT business analyst it w

  • Does anybody how how to install a software to imac (intel), does anybody how how to install a software to imac (intel)

    does anybody know how to install a new software to imac (intel)? I have tried and is doesnt' automatically load up when a program is placed in the drive.... its like it isn't reading it or something

  • Writing method with if

    public class positiveornegative {     public static String numbercheck (int number){          if (number<=0){               System.out.println(false);               return ;          else if (number>0){               System.out.println(true);