Dashboard graph optimization. Fixes #3941

This commit is contained in:
Aditya Toshniwal
2019-02-04 15:39:47 +05:30
committed by Akshay Joshi
parent dae8186c2a
commit aad7830d37
16 changed files with 538 additions and 286 deletions

View File

@@ -73,6 +73,10 @@ describe('In charting related testcases', ()=> {
expect(chartObj.getOtherData('some_val')).toEqual(1);
});
it('Check if other data returns undefined for not set', ()=>{
expect(chartObj.getOtherData('some_val_not_set')).toBe(undefined);
});
it('Check if isVisible returns correct', ()=>{
let dimSpy = spyOn(chartObj, 'getContainerDimensions');