Want to retrieve values not other details from array object in rally

Sonalkumar sute

Want to retrieve below values from array object not other details, but getting whole data like events, listeners, etc.

2014-10-01: 02014-10-02: 02014-10-06: 42014-10-08: 50.2857142857142852014-10-09: 42014-10-10: 32014-10-13: 32014-10-14: 2.52014-10-15: 52014-10-16: 02014-10-20: 32014-10-21: 12014-10-27: 32014-10-28: 6.7777777777777782014-10-29: 12014-10-31: 0.66666666666666662014-11-03: 42014-11-04: 19.252014-11-05: 33.62014-11-06: 12014-11-07: 32014-11-10: 32014-11-11: 3.6666666666666665

enter image description here

Below is my some of the code which generate this object, any help on this please..

                var daysOfMonth = new Ext.util.HashMap();
                //console.log("startdate", this.startDate);
                //console.log("enddate", this.endDate);
                start = new Date(this.startDate);
                end = new Date(this.endDate);
                for (start; start <= end; start.setDate(start.getDate() + 1)) {
                    daysOfMonth.add(new Date(start), null);
                }   
                //daysOfMonth = Ext.Array.flatten(daysOfMonth);
                console.log("days of month", daysOfMonth);

                var userstory_cycle_times_by_date = this._getCycleTimes(userstory_snaps_by_date);
                var storydaysOfMonth = Ext.Object.merge(daysOfMonth, userstory_cycle_times_by_date);

                //console.log("days of month", daysOfMonth);
                var defect_cycle_times_by_date = this._getCycleTimes(defect_snaps_by_date);
                var defectdaysOfMonth = Ext.Object.merge(daysOfMonth, defect_cycle_times_by_date);
Kyle Morse

You can get an object of all the key/value pairs like so:

_.reduce(daysOfMonth.getKeys(), function(result, key) { 
    result[key] = daysOfMonth.get(key); 
    return result; 
}, {});

I'm curious why you're using a HashMap to begin with rather than just a regular plain old javascript object literal?

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

unable to retrieve field values from object laravel

분류에서Dev

I want to retrieve values from my JButton extension

분류에서Dev

jmeter: I want to extract 2 values from 2 different json objects where 1 json object will validate my condition & other value I want to extract

분류에서Dev

how is Array object different from other objects

분류에서Dev

Retrieve values from a JSON

분류에서Dev

Xcode , Parse - Storing values from an array object in a local array

분류에서Dev

Retrieve class values from selectCheckboxMenu

분류에서Dev

I am Getting the Object when i retrieve the values from the database in spring mvc

분류에서Dev

How can I retrieve the object into an array in Javascript?

분류에서Dev

how to remove file details from multi array

분류에서Dev

Adding the values from an object to an array of objects without overriding existing key values

분류에서Dev

How to retrieve object from db by current field

분류에서Dev

PHP How to retrieve value from returned object

분류에서Dev

Searching an array for a value, then printing corresponding values from other arrays/ndarrays of the same length

분류에서Dev

Remove object from array

분류에서Dev

How can I total values from an object in an array using firebase and angularfire?

분류에서Dev

Returning values from an Object in Javascript

분류에서Dev

Want to remove only key from index not values in php

분류에서Dev

django model referencing object from other class

분류에서Dev

Extract "N" Values from an Array

분류에서Dev

Retrieve object add in JAAS login module from JSF managedbean

분류에서Dev

Accessing a PHP array object(stdClass) values

분류에서Dev

Keep getting [object, Object] from array for $.each

분류에서Dev

Remove object from JSON array

분류에서Dev

run a query code to retrieve array from database without page refresh

분류에서Dev

Concat Object Values from Key with Comma

분류에서Dev

How to get values from Deserialized JSON object?

분류에서Dev

How to find values from another JSON object

분류에서Dev

How to replace values in an object with values from a list in Javascript?

Related 관련 기사

  1. 1

    unable to retrieve field values from object laravel

  2. 2

    I want to retrieve values from my JButton extension

  3. 3

    jmeter: I want to extract 2 values from 2 different json objects where 1 json object will validate my condition & other value I want to extract

  4. 4

    how is Array object different from other objects

  5. 5

    Retrieve values from a JSON

  6. 6

    Xcode , Parse - Storing values from an array object in a local array

  7. 7

    Retrieve class values from selectCheckboxMenu

  8. 8

    I am Getting the Object when i retrieve the values from the database in spring mvc

  9. 9

    How can I retrieve the object into an array in Javascript?

  10. 10

    how to remove file details from multi array

  11. 11

    Adding the values from an object to an array of objects without overriding existing key values

  12. 12

    How to retrieve object from db by current field

  13. 13

    PHP How to retrieve value from returned object

  14. 14

    Searching an array for a value, then printing corresponding values from other arrays/ndarrays of the same length

  15. 15

    Remove object from array

  16. 16

    How can I total values from an object in an array using firebase and angularfire?

  17. 17

    Returning values from an Object in Javascript

  18. 18

    Want to remove only key from index not values in php

  19. 19

    django model referencing object from other class

  20. 20

    Extract "N" Values from an Array

  21. 21

    Retrieve object add in JAAS login module from JSF managedbean

  22. 22

    Accessing a PHP array object(stdClass) values

  23. 23

    Keep getting [object, Object] from array for $.each

  24. 24

    Remove object from JSON array

  25. 25

    run a query code to retrieve array from database without page refresh

  26. 26

    Concat Object Values from Key with Comma

  27. 27

    How to get values from Deserialized JSON object?

  28. 28

    How to find values from another JSON object

  29. 29

    How to replace values in an object with values from a list in Javascript?

뜨겁다태그

보관