nuagenetworks / vis-graphs

Graphs visualisation framework
2 stars 15 forks source link

added table size filter property #472

Closed shashank-nx closed 3 years ago

shashank-nx commented 3 years ago

@myTechPlayArea

Added table property for size filter. The table first time will load data for the given size and then reload the same amount of data until the given table size is filled.

TableSizeFilter

myTechPlayArea commented 3 years ago

@shashank-nx As per our discussion please restrict the # of records in the UI as per the size selection.

shashank-nx commented 3 years ago

@myTechPlayArea

Added size property for Table graph local filter. For this to work "filterOptions" parameter key's value should end with size. i.e :

    "filterOptions": {
        "Size": {
            "parameter": "latest_size",
             ...
            }
       }

newTable

myTechPlayArea commented 3 years ago

@shashank-nx As per our discussion please handle "All" as an option from Size that way user can see all at once if needed

shashank-nx commented 3 years ago

@myTechPlayArea

Added size property for Table graph local filter. For this to work "filterOptions" parameter key's value should end with size and for label 'ALL' value should be 1000. This is the default maximum size of data from elastic search at each scroll (reload) i.e :

"filterOptions": {
        "Size": {
            "parameter": "latest_size",
            "default": "5",
            "append": false,
            "options": [
                {
                    "label": "5",
                    "value": "5",
                    "default": true
                },
                {
                    "label": "20",
                    "value": "20"
                },
                {
                    "label": "ALL",
                    "value": "1000"
               }
         ]
   }
}

TableAllSize