Schedule type LineChart with clients and unavailable start and end dates

I have been working on trying to get something in flex which will display a list of clients and their unavailability start and end dates.   I have attempted the line chart and the HLOC chart but have not seen success.  I do have the H or V grids working fine.  But getting the data to display in a line graph based upon start date and end date has been my challenge.  any suggestions
Current Code:
    <s:Label x="0" y="5" text="Min Date" height="24" fontFamily="Times New Roman" verticalAlign="middle"/>
    <mx:DateField id="minDateField"
                  x="50" y="5"
                  formatString="MM-DD-YYYY"
                  selectedDate="{minDate}"
                  change="minDatefield_changeHandler(event)"/>
    <s:Label x="150"  y="5" text="Max Date" height="24" fontFamily="Times New Roman" verticalAlign="middle"/>
    <mx:DateField id="maxDateField"
                  x="200" y="5"
                  formatString="MM-DD-YYYY"
                  selectedDate="{maxDate}"
                  change="maxDatefield_changeHandler(event)"/>
    <mx:LineChart id="nonAvailsLC" x="0" y="40"
                  showDataTips="true"
                  dataProvider="{getNonAvailsResult.lastResult}"
                  creationComplete="nonAvailsLC_creationCompleteHandler(event)"
                  width="890" height="550">
        <mx:backgroundElements>
            <mx:GridLines gridDirection="both"/>
        </mx:backgroundElements>
        <mx:horizontalAxis>
            <mx:DateTimeAxis dataUnits="days" minimum="{minDate}" maximum="{maxDate}"
                             labelUnits="days"/>
        </mx:horizontalAxis>       
        <mx:verticalAxis>
            <mx:CategoryAxis categoryField="user" labelFunction="getName"/>
        </mx:verticalAxis>       
        <mx:series>
            <mx:LineSeries xField="startDate" yField="user"
                           form="horizontal"/>
        </mx:series>
    </mx:LineChart>

I guess I still have lots to learn about Flex and Renderers. I downloaded a Gantt chart with Code and they used the AdvancedDataGrid with renderers and such.  I modified the code to work for me. but if I had to create it myself right now, I would be in trouble.  Lots more to learn.

Similar Messages

  • A simple list with seven time buckets starting from the date report is run.

    Hi All,
    I am new to ABAP.Recently i have planned to write a progam which will help in planning the delivery of scheduled items.For a given sales Org. it will display all the undelivered,delivered items in a simple list and sort them with delivery dates.it will also provide a summary report at material group.For that i have used selection screen(LIKP-VKORG-Obligatory).when i enter VKORG Details i should get all the delivery docs for which delivery is not done or partially done.For this i have taken one more table LIPS
    (LIPS-MATKL,LIPS-MATNR,LIPS-VBELN,LIPS-POSNR,LIPS-WERKS,LIPS-LFIMG,LIPS-MEINS) for tables LIKP and LIPS VBELN is the key field.when i enter VKORG Data in the selection screen ,how can i get the data from LIPS Table.Please explain?
    Also report should be simple list with seven time buckets starting from the date when the report is run.The amount of quantity to be delivered should be displayed under appropriate bucket i.e within the bucket where its delivery date falls in.for ex:If the report is run on Tuesday 15th march 2010 then the start date 1 should be starting date of the week which is Monday 14th March.
    The report will be summarized at Material Group and Material Number.
    Appreciate your help
    Thanks and Regards,
    Shakeer Hussain

    Sorry, sounds too much like a complete requirement you want done for you by the community.
    Please work on it yourself and search for available information before posting specific problems only.
    Thread locked.
    Thomas

  • I try to make update for my iphone and start showing itunes need to be connected and never start and i connect my phone on itunes but it say need to be format for phone .please help me .

    I try to make update for my iphone and start showing itunes need to be connected and never start and i connect my phone on itunes but it say need to be format for phone .please help me .

    Hello Huss87bash,
    This screen indicates that the device is in recovery mode, and must be restored in iTunes before it can be used again.
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    Once the device has been restored, you should be able to restore your device from a backup to replace all of your content and settings.
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Cheers,
    Allen

  • Problem with keyframe effect - at start and end (crop and scale)

    I'm having this odd problem with keyframe effects.
    Setup:
    I have a gif image that I have on video 1 for say 2 minutes.
    I have my real video on video 2.  It is a person talking.
    First I start with my video full size on top of video 1.
    Though the motion and cropping keyframe management I slowly reduce the scale and crop my video image so that it is reduced to the lower left bottom of the screen, on top of the gif, which is now revealed.
    My problem is at the start and end of the transition from full video to small box on lower left on top of my gif I often get 1-2 frames where the video goes blank and/or I get a bunch of random red bars on black background appearing on the video - Or I get the gif from video 1 without the video 2 at all (it disappears).
    I've tried moving my start of end of the transition to skip the bad spots - but these new transition starts or ends not get their own bad spots in the same way.  Its only a couple of frames but it's really unacceptable for the finished video.
    Note, when I say transition here I don't mean real transition events, but rather the start of effects that are managed with keyframes.  My move from start to end of the effect runs for about 4-6 seconds.
    Any ideas?

    Bill,
    Here is more detail and screen captures.
    Concept:
    I have 3 minutes of video.  It contains a person making a speech.  During parts of the speech I want to reveal a graphic image that will be discussed.  The speech will begin with the speaker full screen.  Half way in, the speaker will shrink down to 45% in the lower left corner of the screen.  While the animation occurs (the shrink, move and cropping) it will reveal the graphic below.  The graphic will take up the full screen with the speaker at 45%.
    Technique:
    I put the video in Video 2 and the graphic, a GIF image in Video 1.  The scene begins with the speaker talking at full screen.  After a minute, I animate the move of the speaker using Motion: Scale and Position and Effect: Crop changing Top, Bottom, Left and Right sides.  The animation occurs over approximately 8 seconds.
    I am manually adding keyframes at the start and end of the animation.  I set the ending state of the video image in the end keyframes.  The interpolation between these start and end keyframes should be managing the animation.
    Problem:
    At the beginning and end of the animation – usually 1-3 frames from the start and 1-3 frames from the end, where the change has barely begun or almost ended, I get these problems.  On some frames, the video (in Video 2) completely disappears only showing the Video 1 GIF image below.  On other frames, the video image turns black with horizontal red bands half way across.
    Troublshooting:
    I’ve tried deleting all start and end keyframes and moving the start and end earlier or later to see if I can fix this, but the problem continues to show up in these new locations.
    I have added a few screen shots.
    1:32:15 is the start of the animation change and 1:40:22 is the end of increasing from the mini video speaker to full size (on top of the GIF).
    At 1:40:16 the video image completely disappears only showing the GIF below.
    At 1:40:17 its back and slowly increases in size through the interpolation until it is full size at 1:40:22.
    Let me know if you need anything else.
    Thanks!
    Evan

  • Setting up replication with client written in C++ and DB master in Java

    Hi
    I am trying to write C++ client that will join replicated environment created by a master written in java. For JAVA, I am using Berkley DB Java 4.0.103 API.
    So far, I have written Master in java which creates a replicated environment. I also have a client written in JAVA that joins this replication environment and synchronizes all the data from master. Now, I want to convert this client written in JAVA to C++ (as our main application that will be using this is written in C++) and wondering if it will have any problems in serializing java objects to C++ objects.
    Anybody here have done something like this? I wanted to make sure if this is possible before I try it out. Any pointers in right direction will be helpful.....
    Thanks,
    -Chirag

    It is important to understand that BDB JE and BDB (C based edition) are two different products, not just two different APIs. In general you should normally choose one or the other. BDB JE is most appropriate for pure Java apps.
    BDB has APIs in many languages, including Java, C and C++. BDB JE, which is pure Java, has only a Java API.
    If you want to avoid a dependency on Java on the client (i.e., you want to use only C and C-based libraries), and you want to use a replication group that includes the client and server, then your only option is to use BDB (not BDB JE) on both client and server. On the server, you can use the Java API for BDB (this is not BDB JE), and use the C/C++ API for BDB on the client. With this option, you can make your data portable by using tuple bindings and writing C/C++ equivalents, as described in the other thread that you referenced.
    If you want to write your client app in C/C++, but use BDB JE on both client and server, it is possible to use the JNI invocation APIs on the client to make calls to BDB JE, as Linda mentioned. In this case, you don't need to worry about data portability, since you can use the same bindings (e.g., Java tuple bindings) on both client and server. However, your client app will depend on Java, and I think you'll find that using JNI invocation in this manner will be unwieldy.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Custom Control Help: Draw a line and output start and end points

    I'm looking to find or make a custom control (or simple subVI) that will appear as a 100x100 unit grid and allow me to draw a line from one point to another on that grid. It will then output the (x,y) of the starting and end point of that line on the grid.  Any help or ideas?
    Thanks,
    Steve
    LabVIEW 2009 SP1
    Solved!
    Go to Solution.

    What you basically want is a loop with an event structure where you process Mouse Down, Move and Up events for your controls. There are any number of ways of implementing something like this, but this one will probably be the simplest:
    Use a multicolumn listbox or a table for your grid. Hide the scrollbars and headers.
    You can use the ActiveCell property with -2,-2 to select all cells. You can then use the cell size property to set the exact size of the cell.
    Next, you put a picture control on top of the table and color its background transparent so that the table shows through. You use property node to make sure the two are aligned to exactly the same spot and size.
    You use the mouse events on the picture control to detect the clicks and moves.
    You use the table's Point to Row Column method to translate the event's position data to a cell.
    You use the picture control VIs to draw the line on the picture based on that data.
    You can even color the selected cells in the table using the table properties.
    If you want to simplify things somewhat, you can also use the timeout event instead of the Mouse Move event to draw the line, but then you'll need to keep the timeout value in a shift register and reset it to -1 (no timeout) when the Mouse Up event happens.
    I would also suggest processing Mouse Enter and Leave events to change the cursor and cancel if the user leaves in the middle of dragging.
    Try to take over the world!

  • Difference between IN and OUT and Media Start and Media END??  NEED HELP!!!

    As the titles states, what is the difference?
    I edited my film in preview/jpeg mode and now need to online the project to full quality. So far it hasn't gone to well. For example the media starts at 00:09:45:12. When I do a batch capture I watch the camera fly right by the time code that it should start capturing at. What am I doing wrong???
    Some files onlined easy, but there is a set from one tape that just won't sync up or capture.
    It also keeps telling me that I have time code breaks from time to time, but when I play the tapes back they look fine to me. No obvious breaks in time code from start to end.
    thanks for any help or advice

    Recapturing can be really tricky. Takes practice and it's never recommended that you try it out on a critical piece. Timecode breaks can be perceived by FCP as being caused by several things besides actual breaks in the flow of code. The most common is probably tape dropout.
    The clips that are giving you trouble, try parking the tape very close to one of the start points and recapture only that one clip.
    If your in point is too close to a timecode glitch, you will never be able to recapture it. You'll need to capture it using NOW and then recut the clip into the scene.
    bogiesan

  • I plugged my ipod touch into my laptop and started to down load an (1) upgrade.  But Itunes says that the upgrade will take two hours.  I started the down load and it started and stoped and eventualy never complerted the down load.  How can I fix this ?

    I plugged my Ipod touch into my Dell laptop and went to Itunes.  Itunes told me I should down load an upgrade, so I did.  Itunes said the down load would take two hours.  I started the down load, but after two + hours (&longer) , after several starts and stops the down load never completed. 
    I recently got a (fake anti virus) virus and it damaged my computer.  I got it fixed and reinstalled the software and it appears to be working correctly. Could this be the part of the problem ?
    Would it help if I reloaded the Itunes (off an external HD) or downloaded it again from Itunes ?
    Thanks

    I doubt it.  For my updates, it has typically taken me many tries/retries.  Like for you, the download would stop.  and I would have to restart from the beginning.  If you get a network timed out error try disabling the security software on your computer.

  • Deadline moniter - Dynamic latest start / latest end date and time

    Hi all,
    My requirement is to have the latest start and latest end time made dynamic. This is because each Personnel area or business unit has different requirements as to when they the notification and escalation to happen.
    For example -
    Business unit 1 wants escalation to happen after 5 days where as Business unit 2 wants escalation in 2 days itself.
    Any ideas here

    Hi,
    You can create a method in your BO to calculate the date for calculating deadline and pass it on to the workflow .....
    Calculate the date as per your requirement and later populate it in the deadline step using the EXP expression
    for eg. if you  have 5 days calculate the date as per 5 days and time 1 min etc...
    Regards
    Gautam
    Edited by: gautam maini on Aug 18, 2011 9:06 PM

  • Dout in java(start n end Date)

    hi to all
    here is my dout
    i want to create a program in java
    1.i want start date and end date, in start and end date it has to show how many days that i mention in there.
    2.holidays n saturday n sunday days are to b stored in database
    3.then it has to show that particular day is saturday n sunday and remaining day is weekday.
    (example)
    if i am taking leave for 5 days (1,2,3,4,5)
    in that days 2,3 are saturday n sunday and 1,4,5 are weekdays, it has to show like this
    if u hav any code plz send to me.
    i dont know how to do this.
    help me plz
    reply me

    Is this a college assignment? If so one of your peers is already WORKING on it in this forum.
    if u hav any code plz send to me.You really think someones gonna spend their time doing your home work for you???
    If you post code with errors youll get help, but all your saying here is that your too lazy to even try
    To get started use the search bar to the left and search for 'calendar' youll find code that allows you to manipulate dates

  • Problems with Flash player: random starting and stoping.

    My problems began when I updated flash player to 11.7.700.169.  The problem Is this: while wAtching a video, the audio will cut out, several seconds later the video will stop.  If i click pause and than play, the audio will resuMe from where it left off, and once it has couGht up with the videO they will resume together untill the problem repeats Itself.  This problem occures for videos and music playing.  This Never happened with my last verson of flash player and I'd be very Greatful if this problem stopped.  Send me an Email at [email protected] to get to me quickly.  I will help you in any way I can so this problem stops.

    I suspect you have the debug version of Flash Player installed.  Can you visit this page to verify that debug = yes?
    http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_Flash_Play er_version_type_and_capabilities__Flash_developers_only_

  • ORA-24374 with client 8.1.6 and associated C++ precompiler, VC++6

    I'm trying to run under NT4 a Visual C++ 6 application with Oracle 8.1.5 server accesses through a newly installed 8.1.6 client (over older/different versions).
    Any cursor opening causes an ORA-24374 (require OCI variables init, but I don't use OCI!!) despite the fact that the program runs on other machines with the same client.
    Any similar experience ?

    please re-post to the odbc or oledb forum.
    you'll be able to get a quicker reply from the correct forum.

  • My BB's screen goes blank and re-starts and my battery drains

    Hi Everyone!
    I really need help. About 4 days ago my BB 8310 started acting very weird.  First it started to consume battery like crazy and then everytime I played BrickBreaker it went blank.  When it re-started it said Uncaught Exception: Java Lang Error.  I have UberTwitter v.0.912 and hadn't had any problem until 4 days ago.  Yesterday, I downloaded DeskTop Manager v. 5.0 (mine was v. 4.5), deleted BrickBreaker and re-installed it, deleted UberTwitter and re-installed it but I still get the same error and battery drain.  I updated my OS to v. 5.4 about 9 months ago and the device was working beautifully.  About a month ago I downloaded Application World, but deleted it because it slowed my device a bit.
    Questions:
    1.  Do I have some kind of corrupted file?
    2.  If so, what do I need to do?  I read here that maybe I would have to do a wipe, how do I do it?
    3.  Could it be some kind of worm or virus?  I say this because I live in Venezuela and the device started acting wierd during a political demonstration that I was attending, could my BB been attacked?
    I depend on my BB for EVERYTHING and feel at a loss, please help me.
    Thank you in advance,
    Jazzdancer
    Solved!
    Go to Solution.

    I have never been likened to God lol! I am just an average user like yourself doing my best to help out and learning from these forums as well
    Concerning the battery drain:
    1. Make sure you don't have apps running in the background that are constantly sending and receiving data unnecessarily
    2. Turn off your bluetooth when you don't use it for long periods of time
    3. If you are in a low signal area (two bars or less) it tends to drain the battery significantly
    4. "reset" the battery gage by draining the phone to 15% and then fully recharging. This needs to be done periodically just to make sure the gage is correct
    5. Use the holster to put the phone in standby (conserves battery power) or manually put the phone in standby by pressing and holding the mute button. There is also an app called Autostandby that can automatically do that for you after x amount of time of inactivity
    6. Turn down the brightness of the screen and decrease the time before it turns off.
    In general the more data service use and talking you do with the phone reduces how long the battery will last. The battery performance does degrade with time but I don't know how long it is normally expected to last.
    Be sure to charge  the battery whenever possible and never let it drain competely. These battery packs don't require conditioning like other batteries and it is bettery to charge them whenever possible.
    If you still have problems, then consider purchasing another battery.
    Hope this helps and let us know how it works out for you
    Kijana
    Please remember to:
    1. Mark Accept as Solution on the appropriate post once your issue has been resolved
    2. Give Kudos to helpful posts (click the star next to the post)
    Thanks

  • My 5c is blue screen and re starting and when the recharge restating ios 7.0.5

    My phone is 5c
    Operatin system ios7.0.5
    Blue screen and restating and when the recharge it restating outomaticaly

    This is not the support group to help with your problem.
    At the top of this page look for Apple Support Communities, click it and scroll down to look for iPhone groups

  • I own a Verizon account with both myself and my friend on the account. My contract is up but his is not, and we both have similar phones (S3 and S4). Would it be possible to cancel his plan and change my contract end date to be his end date to compensate?

    I'm trying to find the best/cheapest way to drop my friend from my plan. Thanks!

    Contracts are tied to a number at Verizon. Verizon doesn't allow people out of contracts without an ETF, nor should they.
    If you want to only have 1 line on your account and don't want to pay an ETF, you will have to cancel your line and take over your friend's number. No, it's not ideal, but neither is you being responsible for your friend's line.

Maybe you are looking for

  • Cjr2 - protect AND unprotect fields in planning layout1-701 for data input

    Where can I configure the field status of a field in teh planning WBS layout 1-702 (profile SAP ALL) in CJR2. I would like to protect and unprotect certain fields for input.

  • Yamagi quake 2 client crash

    I'm not sure where to start with this...so i guess I'll start with the obvious part: "Couldn't init SDL video: No available video device" is what I see when I try to run the quake 2 executable, mixed in with a few hundred other iterations of the same

  • 11gR2 on Linux

    Hi there, I am installing 11gR2 core DB on Linux, according to general oracle docs, there are packages we have to install before we proceed with actual DB installation. Newer package exist but it forces for exact the same version. CAN SOMEONE TELL ME

  • File Upload App

    I have created an upload file portlet in .NET (4.5 ws using Plumtree .NET web controls for VS.NET) and I am using the htmlfileinput control which proiveds a 'browse' button to the local drive. you select the file and click a plumtree submit button to

  • Browser for Forms 9i

    Hello, I have installed forms 9i and i set Internet explorer 6.0 as the web browser. While i run the form it gives an error WEB CLIENT IN TOO NEW VERSION. I am not able to go back to Exploer 5.o, since it is not possible in the winodws 2000 operating