title: Hide Empty Legend for PIE Chart in Crystal Report
body: <p>I have a Pie chart with Group expert in my web application. Group expert is based on address and I have two data table in my crystal report Data sources.
  One is for Pie Chart input and another one is just for warning message if no pie chart is being display.</p>
  
  <p>All are working fine except for one case. If no record found for pie chart then it displays the empty legend as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/cIP8z.png" alt="enter image description here"></p>
  
  <p>I have tried using formula by suppress but its not working.</p>
  
  <pre><code> if Count({AppComp.Type}) = 0 Then False else True
  </code></pre>