Custom LineSeries cannot get the category data

Okay, I'm kind of wandering aimlessly here, but I don't have any help to talk about my first post ( http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60 & catid = 585 & threadid = 1397584 & enterthread = y)

Suffice it to say I play with a custom LineSeries class that I want to be able to change the rendering engine behavior based on the lineseriesitems made in combination with the category data. If you really need to know why, read the original thread linked above.

At first I thought it would be easy (hah!) because my custom LineRenderer class's updateDisplayList method receives an array of LineSeriesItems that have an xValue property. Unfortunately, these xValue properties have already had the labelfunction that are applied to them. In my case, I need the original values used by my axes category since they are one day, and my labelfunction for the xAxis returns a string that cannot be easily converted back into a date can be used in order to date comparison.

Then I well I try to access the dataProvider of the horizontalAxis directly in my custom LineSeries constructor since it is part of the super class LineSeries. Unfortunately, the horizonalAxis property has the value null both as the LineSeries object is created. Probably because data were not linked to the chart again.

So now I'm back to square one: I need to find a way for my class of LineRenderer to access the actual value about corresponding data to decide how to get x.

To give an example: I want my logic to go something like: "If the corresponding date of xAxis is < = today, draw a solid line, otherwise, if the corresponding date of xAxis > today, draw a dotted line."

Will you please advise and I hope I was not too complicated.

OK, good news. IT turns out one of my assumptions here proved to be ill-informed.

When I said, "these xValue properties have already had the labelfunction that are applied to them", I was wrong. It turns out that some test data that I used was to confuse me. In fact, I'm able to get the original out of my object of LineSeriesItem xValue. I guess what I want to do will be possible now. I will update the thread I mentioned in my original post so I managed.

Tags: Flex

Similar Questions

  • I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.

    Original title: new printer

    I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.  The printer works fine when printing from a laptop or ipad!

    Start by going here--> http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?UseCookie=yes&oid=232591&prodoid=63099059&infoType=Downloads&platform=nodetect

    If the web page has not correctly detected your operating system, select it by using the drop-down list.  Rather than using the "Combo package" recommended but huge, expand the "Drivers" section and download driver printer v2.32 to a location that you will remember later.

    • Click on the ORB start and go into devices and printers.
    • Select (click) the icon of your Epson printer.
    • Once you have selected the printer, a button labeled "Print server properties" will appear in the toolbar.  Click on this button.
    • Click the "Drivers" tab on the print server properties dialog box.
    • Select the Epson printer in the list of installed printer drivers, and then click 'remove '.
    • In the context menu, select "Remove driver and driver package" and click OK
    • Click Yes, and then delete
    • Once the removal process is complete, restart the computer (probably not really necessary, but can't hurt)
    • Install the driver and the software using the file that you downloaded earlier

    At this point, your printer should work fine.  However, if you want the ability to print by emailing a file to your printer, you may need to install both 'Remote Printer Driver v1.65' in the category 'Pilot' and "v1.30 utility Configuration of printer Epson Connect" in the "Utilities" category

  • Cannot get the value of the selection of OAMessageChoiceBean

    Hello

    Of our 11i to R12 upgrade, in the customer's advanced search page, we are unable to get the handle suitable for OAMessageChoiceBean (in extendedCO).

    The snippet for the bean handling is as follows:

    OAMessageChoiceBean PartyStatusFilter = (OAMessageChoiceBean) vOAPageContext.getRootWebBean () .findChildRecursive ("xxfeF426PartySearchStatus");
    String xxTest = PartyStatusFilter.getSelectionValue (vOAPageContext);

    The value of the above xxTest (in R12 approx.) is coming with a null value. Considering that the same code works in 11i environment and the xxTest output = "A".

    So we cannot get the value of the selection of the messagechoicebean in our environment of R12. I already looked in previous similar positions in this forum, also tried to use getSelectionText (vOAPageContext) or getSelectedValue(), however, it did not work.

    Pointers please?

    Thank you very much
    Zahid

    Hi Zahid,

    Try with this ID = HzPuiPartyStatus

    -Had

  • Cannot get the password or re-establish the link. What should I do?

    Cannot get the password or re-establish the link. What should I do? Reset email is never sent. This master password"... How do you define? I'm locked out of Thunderbird. Help

    Maybe he's trying reset Pasword Thunderbird Master as I'm doing? I copy the code and paset in the console tools\error and press Evaluate. I wonder if I want to reset the Master PW and I say yes, then I get a saying that the Master PW has been reset. Maybe he's looking for an e-mail to tell him that the IPL has been rest to? But the problem is, nothing happens when the password has been reset, msg is sent. TB continues to request the password. I have not changed my PW and when I enter the good PW, TB does not recognize. And reset the PW Master does nothing but generate Pop up messages. It's very frustrating. The information in the help files are not accurate, or the code provided does not work although it generates messages indicating that the IPL has been reset.

  • Apple TV 4th generation-cannot get the Facetime in fashion landscape on my Samung TV

    Apple TV 4th gen TV OS 9.1

    When I do Facetime since my phone / Ipad and started airplay on my Samsung TV I cannot get the Facetime in landscape mode or mode full screen when I Flip horizontally Facetime.

    Only it shows vertical - left and right of the screen I see black spots. Is this a bug in the software?

    If you do not enable airplay after that you started to facetime and it runs in landscape mode?

  • Get the latest data of Variable shared before disconnecting from the network

    Hello.

    I use Shared - published network variables for my communication between two PC's. Each LV software will pass the data to another.

    Sometimes the wireless connection to become really bad and the network connection stops.

    I want to get the latest data. Currently my VI will show the value '0' on the variable shared data once the connection is cut.

    I tried using shift, but she registers the same results.

    Can someone show me how I can stay past data when the network connection is disconnected.

    Thank you very much.

    Kind regards

    Hello Fan, Ravens

    It works! Thank you very much.

    Kind regards

  • I just bought the SX710 HS. Cannot find the stamp date on the Menu. Is there a?

    I just bought the SX710 HS.  Cannot find the stamp date on the Menu.  Is there a?

    It seems strange, but no, I don't think that you can mark the date on the pictures. You can print the with a good date.

  • Cannot get the file to be imported.

    I tried the method of JoseIbarra - I did as suggested but cannot get the file to be imported in the services file. He never asked me if I wanted to add the information in the registry, so it is still on the office. Don't know what to do from here.

    Please stick to the initial conversation.

    Is this you speak of course (*first conversation*):
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/how-do-i-get-print-spooler-back-into-my-Windows-XP/ed014329-1bd3-458d-9C93-bbb306fc731f

    You also made this one:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/print-spooler/c4610093-a96f-4476-B263-eecf5b8fc339

    (but please do not reply to this one...)

    And this one:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/continuation-of-print-spooler-problem/0e885d7b-3e64-42ee-A248-9d9f2a8e26c5

    (Even once - keep the * first conversation * going.)  Written on it.  Show how this conversation continues spreading around.)

    BTW - my suggestion has not changed.  I still think that you get just around issues that still exist, probably, by fixing the little things you need at a given time.

    Backup important files/folders (for you) (including documents, photos, music, Favorites, Internet favorites, files installable application, serial numbers, product keys, spreadsheets, you saved to the desktop email, etc.) and wipe the disc completely - I'd even a zero writing on the disc (formatting) before installing the operating system from the original installation media.  Then install your applications and restore your files.

    As to what they were asked to do... Always seems that you saved the file as a *. TXT file and not a *. REG or there is much more wrong with your machine (see my suggestion above.)

    Visit this web page to look at the photo on the left (a first) to see the screenshot of the possible is the desktop icons and let us know if it looks like the left or right of each photo version (answer here or in the longer conversation.)  * Ignore the first part of the file name - as you might have named something else than "addspooler."

    To check if you saved incorrectly or if there is something wrong with your system (or two) - right click on the file you saved and choose 'Properties' from the menu you get.  Under the 'Général' tab, she said, "file Type: registration entries (.reg)" and "opens with: Registry Editor" or something similar?  Visit this web page to look at the picture on the right (second) to see the screenshot of the possible look at the windows of the property and let us know if it looks like the left or right of each photo version (answer here or in the longer conversation.)  * Ignore the first part of the file name - as you might have named something else than "addspooler."

  • cannot get the keyboard to select windows xp when I have only four seconds to select is stuck on windows xp professional and cannot get the keyboard to use arrows to select

    cannot get the keyboard works when reebooting said cd I need driver sata when reebooting he gives four seconds to schrol up to windows xp but the line is highlighted on a windows xp profesional bellows and can't seem to choose windows xp on its own keyboard wont respond but lights from F1 or f2 f3 until f12 choose please help

    A few old machines will not recognize a USB keyboard/mouse until after Windows starts.  Look at the back of your computer and see if you have a PS/2 (round) connector for a keyboard and a mouse.  If you do, then you will need to use a keyboard with a round PS/2 connector or a USB-to-PS/2 adapter and plug the PS/2 connector on the back of your computer so that it recognizes the keyboard until Windows starts on your keyboard.

    The SATA driver applies to your hard drive.  A CD of start-up/installation of Windows XP does not recognize a SATA hard drive.  If you install Windows, you will need to hit F6 at the right time and insert a floppy with the SATA driver on this subject.

    HTH,
    JW

  • Get the raw data to map its (SDK)

    I did a search on sound cards and many forums have been useful.  I have just a few quick questions.

    I have a card his (CardDeluxe http://www.digitalaudio.com/) connected to the computer through a PCI.  My goal is to get the raw data from the card and plug and it blow in analytics in CVI.  I don't know how to "talk" to my sound card.

    Of course, my main question is above, but to the refine some concerns...

    I guess I need the SDK libraries for that.  For this, I just need to install the MSN help libraries?

    Is this possible in the Basic Version, or if the full Package of CVI is necessary?

    I have not done things well at low altitude, but it looks like getting a wav file is necessary.  I can't use anything outside of the applications I want to eventually create a program automatically record and play at a time (sync) précis.

    Thanks in advance.

    This site is what I was looking for.  The zip file contains an exe as file c source code.

    http://paulhoule.com/phsrec/index.php

    Edit:

    There is also some info here - http://forums.ni.com/t5/LabWindows-CVI/wav/m-p/235344

  • problem to get the current date in qml

    Hello world

    I'm trying to get the current date in c ++ and qml and I used the class QDate, but it still has some problems:

    Code:

    =====================================================

    QDate * nowdate = new QDate;
    QDeclarativePropertyMap * nowdateMap = new QDeclarativePropertyMap;
    nowdateMap-> insert ("date", QVariant (nowdate-> currentDate()));
    QML-> setContextProperty ("nowdateMap", nowdateMap);

    ===========================================================

    After setting the nowdateMap, I'm able to get the date in the application, but the format is really weird, I did not use QDatetime, but the restult of shows like ' 2013-1 - 3 T 00: 00:00 ", how can I get rid of the final"T00:00:00 "? or is there a better way to get the current date?

    Thank you

    QDate nowdate is QDate::currentDate();.

    QString nowdatestring = nowdate.toString (); / / to get the date string format, you can define the shape of toString(), you can //search it
    QDeclarativePropertyMap * nowdateMap = new QDeclarativePropertyMap;
    nowdateMap-> insert ("date", QVariant (QString (nowdatestring)));
    QML-> setContextProperty ("nowdateMap", nowdateMap);

    then in the file qml, using nowdateMap.date will do.

  • How to get the last date of 3 days for the current month?

    Hello. Guy

    How to get the last date of 3 days for the current month?

    MY OUTPUT WOULD LOOK LIKE THIS

    JANUARY 29, 2016

    JANUARY 30, 2016

    JANUARY 31, 2016


    GUYS HELP ME / / /...

    SQL > select last_day (sysdate) - level + 1 double connect by level<= 3="" order="" by="">

    LAST_DAY)

    ---------

    29 JANUARY 16

    30 JANUARY 16

    31 JANUARY 16

  • I'm in the Mexico and can browse the web but cannot get the roadrunner site to open the webmail server to allow access to e-mail.

    I'm in the Mexico and can browse the web but cannot get the roadrunner site to open the webmail server to allow access to e-mail. I worked around it through another proxy server, but navigation is a pain. does anyone know a solution to this problem? Roadrunner denies that it doesn't clog and so did the modem service here which is telmex?

    [moved]

    I had the same problem 2 weeks while in the Mexico.  I contacted the support TWC and the person to whom I spoke said he had to unlock something.  When he did, all my mail came in Outlook in the spam folder.  It was OK because I got my mail.

    I moved to a different House and now have the same problem again.  I've contacted support TWC and not had much luck. The second level support person and I spent more than an hour, the call of the Mexico using Vontage.  He has not found anything by the previous call that guided him by setting this time.  He said that he would open a ticket and call me in the next 24 to 48 hours.

    Is it reminds and solves the problem, I'll post how it was corrected.

    Amigos audio!

  • How to add two lines when the second row is not visible, but also gets the first data line too?

    Mr President

    Jdev worm is 12.2.1

    How to add two lines when the second row is not visible, but also gets the first data line too?

    I want to add two lines like below picture, but want the second to remain invisible.

    tworows.png

    I asked this question but my way of asking was wrong, that's why for me once again.

    Concerning

    Try to follow these steps:

    1. in the database table to add the new column "JOIN_COLUMN" and add the new sequence "JOIN_SEQ".

    2. Add this new column in the entity object. (You can add this in entity object by right clicking on the entity object and then select "Synchronize with database" then the new column and press on sync)

    3. in your bookmark create button to create only one line NOT 2 rows.

    4 - Open the object entity--> java--> java class--> on the entity object class generate and Tick tick on the accessors and methods of data manipulation

    5 - Open the generated class to EntityImpl and go to the doDML method and write this code

      protected void doDML(int operation, TransactionEvent e)
      {
        if(operation == DML_INSERT)
        {
          SequenceImpl seq = new SequenceImpl("JOIN_SEQ", getDBTransaction());
          oracle.jbo.domain.Number seqValue = seq.getSequenceNumber();
          setJoinColumn(seqValue);
          insertSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn());
        }
    
        if(operation == DML_UPDATE)
        {
          updateSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn());
        }
    
        super.doDML(operation, e);
      }
    
      private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn)
      {
        PreparedStatement stat = null;
        try
        {
          String sql = "Insert into table_name (COLUMN_1,COLUMN_2,COLUMN_3,JOIN_COLUMN, HIDDEN_COLUMN) values ('" + value1 + "','" + value2 + "','" + value3 + "','" + joinColumn + "', 1)";
          stat = getDBTransaction().createPreparedStatement(sql, 1);
          stat.executeUpdate();
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        finally
        {
          try
          {
            stat.close();
          }
          catch (Exception e)
          {
            e.printStackTrace();
          }
        }
      }
    
      private void updateSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn)
      {
        PreparedStatement stat = null;
        try
        {
          String sql = "update table_name set column_1='" + value1 + "', column_2='" + value2 + "', column_3='" + value3 + "' where JOIN_COLUMN='" + joinColumn + "'";
          stat = getDBTransaction().createPreparedStatement(sql, 1);
          stat.executeUpdate();
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        finally
        {
          try
          {
            stat.close();
          }
          catch (Exception e)
          {
            e.printStackTrace();
          }
        }
      }
    
  • ERROR: Cannot get the size of the logical block for spfile

    Ran across the following error in the log of alerts for a the 2 node RAC database:

    ERROR: Cannot get the size of the logical block for spfile "+ XXXXXX_SYSTEM/XXXXXX/spfileXXXXXX.ora".

    Looked in MOS and found nothing.  Has anyone go through this before?  If so, what is the cause?

    Just received a resolution of Support from Oracle.  They said that this is a benign error and can be ignored.  Here is their answer to my SR:

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

    OK, after reviewing all that there seems to be no problem to fix. All configurations are correct. We believe that these errors are benign and can be ignored.

    COMMENTS

    ===============

    -L' ASM instance is online.

    -The Diskgroup: + XXXXXX_SYSTEM is mounted and has the physical and logical of 512 bytes sector size.

    -No error message in the alerts ASM journal.

    In light of the facts above, the message "ERROR: could not get the size of the logical block for spfile" seems benign and can be ignored.

    However, to avoid these messages, as a workaround, you can try creating the spfile pfile '+ XXXXXX_SYSTEM/XXXXXX/spfileXXXXXX.ora' and then try to create spfile diskgroup + XXXXXX_SYSTEM using this file pfile.

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

Maybe you are looking for

  • Question

    Look I went to a new site called collabmix.com, and in any case I tried one of my samples Logic Pro download for someone else to try to collaborate with and help me through my song production. In any case when I go to download, the site accepts only

  • Adding additional memory to Satellite 1900-303

    I'm trying to locate the original 256 MB of ram upgrade to 512 but can't find it! I already added a 512 in the spare slot and works well, but where the hell is the original? He says there are two openings in the manual... help please

  • When I drop a photo from my iPhone to the iMac I'm not

    Whence the photo that I dumped my iPhone to my iMac resident on the iMac? It seems that I have a picture of the iPhone for iMac parachute successfully but I can't. I expect to be in photos or at least in the pictures folder in the finder.

  • 5603 IF given NOR 5761/a. port

    Hello I have a composed of digitizer vector signal Analyzer 5622, 5603 frequency step-down converter and synthesizer 5653.I also a 6674 t connected to an atomic clock synchronization module and a card 5761.Instead of going directly to the digitizer,

  • size of hard drive