Hide/Remove Fusion Chart

I'm trying to find a way to hide a widget pro Horizonal Bullet based on a negative value. I do not want the charge to show if I have a negative balance. I have custom styling to indicate the negative values but I cannot figure out how to hide the chart. 

<style name="NegativeEnding">
          <conditionExpression><![CDATA[new Boolean($F{ENDING_BALANCE}.compareTo(BigDecimal.ZERO) < 0 ? Boolean.TRUE : Boolean.FALSE)]]></conditionExpression>
     <style forecolor="#FF0000"/>

From the API reference it states to call a dispose() function. However, I have no idea where to implement it. The report is using a jrxml format. 

Any help is greatly appreciated!

brian.berrelez's picture
Joined: May 9 2017 - 7:31am
Last seen: 5 years 1 month ago

0 Answers:

No answers yet