brian.berrelez Posted August 4, 2017 Share Posted August 4, 2017 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"> <conditionalStyle> <conditionExpression><![CDATA[new Boolean($F{ENDING_BALANCE}.compareTo(BigDecimal.ZERO) < 0 ? Boolean.TRUE : Boolean.FALSE)]]></conditionExpression> <style forecolor="#FF0000"/> </conditionalStyle></style>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! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now