ColumnChart - display number of items per time interval

I have a collection of objects. Each object has a "time"
property of type Date.
I need to display a ColumnChart which shows one column
representing the number of objects in a time interval. For example
if I had 5 objects:
2 have a "time" of 3:00:00
1 has a "time" of 3:00:12
2 have a "time" of 3:00:17
And my time interval should be 10 seconds...then I would have
to columns one representing 3:00:00 - 3:00:09 and one representing
3:00:10 - 3:00:19. The first column would have a y-value of 2 and
the second column would have a y-value of 3.
Any suggestions on how to do this? Should I maintain a
Dictionary that maps a time to a count? and bind my chart to that
Dictionary?

"anoweb" <[email protected]> wrote in
message
news:g93s6o$oca$[email protected]..
>I have a collection of objects. Each object has a "time"
property of type
>Date.
>
> I need to display a ColumnChart which shows one column
representing the
> number
> of objects in a time interval. For example if I had 5
objects:
> 2 have a "time" of 3:00:00
> 1 has a "time" of 3:00:12
> 2 have a "time" of 3:00:17
>
> And my time interval should be 10 seconds...then I would
have to columns
> one
> representing 3:00:00 - 3:00:09 and one representing
3:00:10 - 3:00:19.
> The
> first column would have a y-value of 2 and the second
column would have a
> y-value of 3.
>
> Any suggestions on how to do this? Should I maintain a
Dictionary that
> maps a
> time to a count? and bind my chart to that Dictionary?
Use a dataFunction.
HTH;
Amy

Similar Messages

  • How to submit a bug report for OSB? - restore fails if number of items per page is changed from the default of 30

    In the OSB web gui, one of my users found that if the number of items per page is changed from the default of 30, the restore of the file will fail.  He tested this using recent versions of Firefox and IE.  We have verified this to also be the case using Chrome.
    In a directory containing over 100,000 files, moving 30 at a time to find the one to be restored is a very frustrating user experience.
    How do I file a bug report for this issue?  Is there a workaround for this bug to enable my users to more easily find the file to restore without being restricted to the default of 30 items per page?

    Yes there is a bug in the webtool in the current release. You can use the commandline obtool to do the restore, that is much faster and works fine.
    Thanks
    Rich

  • Display number of entries per sort order

    G'day all.
    Does anybody know how I can display number of entries per sort order in
    ALV grid.
    i.e. ABC 2000
    2000
    2000
    3 (entries) 6000
    DEF 1000
    HIJ 2000
    2 (Entries) 3000
    5 (Total Entries) 9000

    Hi,
    The way I did it I used "AT END OF " statement and added my amount to a
    variable and then move my variable in work area and then modified your
    internal table from work area transporting that field or depending on
    your requirement that you need to add a separate line for totals append
    the internal table which you are going to use it for first display. Then
    after the set_table_for_first_display I added the alv_build_sort
    criteria. And call method alv_list->set_sort_criteria exporting the
    internal table i_sort.
    Cheers,
    Chaitanya

  • Does Anyone Know How to Display Number of Items in a Folder?

    After "upgrading" to Lion, none of my folder display the number of items in the folder --a nice bit of information that was available in earlier versions of the operating system.  Is there an automatic way to see that information? [I imagine there are other really inconvenient ways, but is there a nice CONVENIENT setting I haven't figured out?]  THANKS.

    From your View menu in Finder choose "Show status bar"
    EDIT: Also there is QuickLook which is no longer on the toolbar of the Finder window but you can choose from "Customize Toolbar".

  • Procurement tab in Sales order displays two line items per material

    Folks
    I am not a SD guy and i have a very basic question on how to read the details in the procurement tab for a sals order.
    In the Procurement tab of a Sales order, two line items per material are displayed as shown below. whats does this mean ?
    Further, I had observed the below differences in the below 2 lines
    1. Mat. Avail Date is 06/19/2007 for line 1 & 06/20/2007 in line 2.why r the dates different ?whats the significance?
    2. Confirmed qty is 0 line 1 & 1in line 2.( when does confirmation trigger or update ? Is it upon ATP check or upon delivery ?)
    3. Order qty is 1 line 1 & 0 in line 2.
    Item     Material     Plant     Confirmed Qty     SU     Mat. Avial Date     SL     Req. Type          Deliv. Date     ATP Qty     Loading dt     Route     Part. Deliv/ Item     Deliv priority     Desc                              
    10     NTE801NC     2400     0     EA     6/15/2007     CT          D     6/19/2007     0     6/15/2007     24GB03     C     98     Priority 98 (Normal)                              
                                    1     EA     6/15/2007     CT          D     6/20/2007                   6/15/2007                    Priority 98 (Normal)                              
    Thanks

    It means  2 schedule line for that materials ,
    06/19/2007  is the date on which material is requested by  customer  but there is not sufficient stock on that day so 0 quantity is confirmed for that day.
    On 06/20/2007 material is availabe and you can start delivery to customer on 06/20/2007 and system confirms the material for 20th and it is reserved for this sales order.
    Confirmation is based on your MAT ( Material availability date ), but you can revist these dates through by triggering availabilty check or Back order processing through GATP or ATP.
    Manish

  • Display number of items in Get Info results?

    Our studio has finally made the jump to OS-X (Tiger) from OS-9. (Okay... I'll admit we had a bit of an "encounter" with Windows XP in the interim...)
    Part of our production workflow sees 1000's of folders/files routinely moved around from various media - CF card to hard-drive, DVD to external hard-drive etc. As part of our SOP, after a large transfer of important files, we check both the source drive/folder and the destination drive/folder to ensure the item count is the same.
    In OS-9, Apple accomodated this step in the Get Info window by showing the number of items in any given volume or folder. In OS-X, it seems to be gone. Surely I'm missing something...
    If Apple truly has done away with this feature (bad move from a production standpoint IMHO) is there a third-party patch or app that can display the number of items in any given folder or volume?
    Thanks-
    j
    G5   Mac OS X (10.4.5)  
    G5   Mac OS X (10.4.5)  

    I made an Automator action, which I can access with a control click on any folder.
    1. Launch Automator, click on Finder in the Library, then drag the "Get Selected Finder Items" from Actions into construction area
    2. Click on Automator in the Libray, select Run Applescript in Actions and drag it into the work area
    3. Paste in this Applescript:
    tell application "Finder"
    count every file of entire contents of (selection as alias) --files only
    display dialog ((the result) as string) & " Files" & "." buttons {"OK"} default button 1
    end tell
    4. Go to menu item File and select Save As Plugin, fill in the name and have it as a plug-in for Finder. It will be saved to
    "/Users/username/Library/Workflows/Applications/Finder/FileCount.workflow"
    which will appear in the Automator section of your control click contextual menu.
    This counts files only. If you want to include files and folders you will need to change the Applescript.
    Francine
    Francine
    Schwieder

  • Number of scans per scan interval

    Not sure if I've got my scanning setup right. Originally, I wanted to
    scan
    2-3 times per week, as we are in the middle of pushing out a lot of SW
    changes.
    We also have four shifts of workers, so, I setup scanning on
    Mon-Thu-Sat, 24
    hours a day, to try and catch everyone.
    Most machines seem to scan several times daily, instead of the once a
    day I
    had thought that they do.
    What's the correct way to scan once per scan interval, rather than
    repeatedly--I can't set a specific time, as, not all users/machines
    would be
    there?
    Thanks!

    Bill,
    It appears that in the past few days you have not received a response
    to your posting. That concerns us, and has triggered this automated
    reply.
    Has your problem been resolved? If not, you might try one of the
    following options:
    - Do a search of our knowledgebase at
    http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com in both the "free product support" and "paid
    product support" drop down boxes.
    - You could also try posting your message again. Make sure it is
    posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept
    our apologies and rest assured we will issue a stern reprimand to our
    posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Finding number of datapoints within time interval

    Hello
    I have a 2D array, with one column for time/date and one for data measurements. I want to specify a upper and a lower time limit, and then be able to find out how many data points that lies within this time interval. Can anyone help me with this?
    Greetings
    Kristoffer

    Hi,
    What I would do is to find the index where the data enters your range and the index where the data leaves your ranger, then just take a subarray out of the original array starting at the first index and going the length to the next index.
    The attached vi should be a good template.
    Regards,
    Rob Afton
    Attachments:
    Timestamp Math Example.vi ‏8 KB

  • Report to display number of items sold by state

    Hello experts,
    I would need a report with the following paramters:
    Deliver doc number,posting date,ship to state,item number,item desc,quantity.Is it possible to have the selection for the date range?
    Thanks

    Hello Gordon,
    This is what I noticed.
    This query shows the ship to state for the order if they are not on the User defined fields on a delivery document.
    Let me be more clear
    This query is displaying only the customers where the ship to address is entered in the BP master data.If the ship to address is entered at the sales order level it is not displaying the ship to state.
    I hope this makes sense
    Thanks

  • How to display number of images per album?

    I have forgotten how to have albums display the number of images within each.

    Note that with a large library this can cause slow to poor preformance - if your speed slows down after turning item count on consider turning it back off
    LN

  • Limit creation of items per time

    Hi,
    I have a task to limit users from opeening items in task list after 13:30. by that time it shouldn't allow any more create/edit of items.
    Any thoughts?
    Thanks a lot in advance

    You can either create a workflow and change permission at specific time or write a timer job code that runs at specific time and change the credentials so that users will not be able to edit/create items in a list.
    Refer to the following post for more information
    http://sharepoint.stackexchange.com/questions/72933/is-it-possible-to-lock-a-list-item-after-a-deadline
    Cheers,

  • IBE: Items Per Page for Display profile at Responsibility level

    Hi,
    we would like to have different number of items per page for different sites. We thought we would achieve it by setting profile "IBE: Items Per Page for Display" at the responsibility level and have unique responsibilities to access different sites.
    However, I saw that by default profile "IBE: Items Per Page for Display" is not visible at the responsibility level. Can I alter it to be visible at responsibility level in the profile definition and then set it at the responsibility level?
    Kindly help.
    Regards
    Harsha.

    I tried to change at SERV level and still the profile never gets updated. Kindly help.

  • Restrict Number of Display Items Per Page

    Dear all,
    Can you guys please kindly advise me on how to restrict the number of items(eg. 10 items per page) being display in a JSP page, and leave the remaining items that is not being display to other pages, maybe page 2 or page 3 depending on the number of items from the search result?
    Thanks alot.
    Warmest regards,
    Keng Yiam

    Word of advice ... don't post your messages multiple times because noone will answer you.
    roughly;
    number of results / 10 = number of pages to view all results
    then loop 10 times over the result set. use the cursor of ResultSet

  • Exchange 2010 OWA [Change Number of items to display per page]

    Hi Sir,
    I have some problem and question ?
    I has migrate from exchange 2007 to exchange 2010.
    Exchange 2010 OWA cannot Change Number of items to display per page
    Exchange 2007 can change number of items to display per page
    Exchange 2010 OWA cannot Change Number of items to display per page
    You can help me to solved problem and customization?
    Thank you.
    Boongerd

    Hi,
    This feature has been moved in Exchange 2010 OWA. However this feature is available in OWA light version. Here are steps to change the settings in OWA light version.
    Log in to OWA, click the Use the light version of Outlook Web App
    check box on the login page.
    Select Options in the upper right hand corner of the screen.
    Select Messaging from the left navigation panel.
    In the section for "Message Options", change the "Number of items to display per page", select the desired number of messages.
    Exchange 2010: OWA versus OWA light.
    http://blogs.technet.com/b/ilvancri/archive/2010/04/07/exchange-2010-owa-versus-owa-light.aspx
    New Features in Exchange 2010 OWA.
    http://technet.microsoft.com/en-us/library/aa998629(v=exchg.141).aspx
    Best Regards.

  • Error msg "Maximum number of items in FI reached" displayed while backflush

    Dear Gurus,
    The scenerio at our client's site is that of MTO using strategy group 50 and variant configuration.
    The production process goes through a sequence of three operations. Details are as under:
    1. Operation 10: Control key (PP01), all components (say some 1500) are allocated to this operation.
    2. Operation 20: Control Key (PP01), no components allocated to this operation.
    3. Operation 30: Control key ( PP03), no components allocated, AutoGR maintained in control key.
    Now the issue is while doing confirmation using T code CO1F, individually for all the operations, backflushing of some odd 900 components is not taking place. The components get stock in COGI. Each time these are to be cleared from COGI, although there is sufficient stock of these components for these components.
    The error msg that is being displayed in COGI is "Maximum number of items in FI reached".
    Pls suggest how to take care of it.
    Regards,
    Pradeep Santara

    Hi,
    The error is due to the maximum line items have been reached in FI.
    actually you cann't post more than 999 items in one acctg doc at one time.
    regards

Maybe you are looking for