Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To show any calculated field from tooltip
#1
How to show calculated field from tooltip?

Add this in dashboard script:  

 

sdk.calculation = sdk.calculation || {};  

sdk.setContext( 'main33', 0 );  

sdk.calculation.getfiltered= function(f1, f2){  

if(f1 ==0){  

return sdk.getContext( 'main33' );  

}else{  

sdk.setContext( 'main33', Math.abs(f1-f2) );  

return (Math.abs(f1-f2));  

}  

};  


Add this in calculation script area:  

 
sdk.calculation.getfiltered(column_name );   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)