title: Dynamic space filling in the report
body: <p>In Jasper reports, I am using JRCollections as a data source to generate the PDF.</p>
  
  <p><strong>Problem Explanation</strong> </p>
  
  <p>I want four pie charts to be printed (one below the other) in the PDF.</p>
  
  <p><strong>Chart-1</strong> </p>
  
  <p><strong>Chart-2</strong></p>
  
  <p><strong>Chart-3</strong></p>
  
  <p><strong>Chart-4</strong></p>
  
  <p>If the data is not available for <strong>chart-3</strong> I want to print <strong>Chart-1, Chart-2, Chart-4(one below the other)</strong> without leaving the blank space for <strong>chart-3.</strong></p>
  
  <p>I tried using <code>&lt;PrintWhenExpression&gt;</code> on some condition but it leaves the blank space if the condition is true.</p>
  
  <p>how to solve the problem without leaving the blank space for chart-3?</p>