Skip to content

Commit

Permalink
Summary: Set chart bounds to null to avoid returning wrong
Browse files Browse the repository at this point in the history
chart size to report engine.(T55644)
    
Bugzilla Bug(s) Resolved:
    
Description:
Set chart bounds to null to avoid returning wrong
chart size to report engine.(T55644)
  • Loading branch information
heli committed Feb 20, 2013
1 parent 470ede7 commit 730b1a2
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -865,18 +865,27 @@ public Object onRowSets( IBaseResultSet[] baseResultSet )
{
if ( bEmptyWithUncompletedBindings && isAutoHide( ) )
{
// Set bounds to null to avoid return wrong chart size to
// report engine.
boundsRuntime = null;
// Null result set
return outputNullResultSet( );
}
if ( bEmptyWithEmptyResultSet && isAutoHide( ) )
{
// Set bounds to null to avoid return wrong chart size to
// report engine.
boundsRuntime = null;
// Returns null for engine to display empty when the result
// set is empty.
return null;
}
}
if ( bEmptyData && isAutoHide( ) )
{
// Set bounds to null to avoid return wrong chart size to
// report engine.
boundsRuntime = null;
return null;
}

Expand Down

0 comments on commit 730b1a2

Please sign in to comment.