title: Apply conditional style in Jaspersoft iReport based on value?
body: <p>I tried to apply conditional style into my iReport based on value. The below is partial of code. It works, but only forecolor.  just want to know how to get it work on fontsize also.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Eligibility Report" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="519852db-b571-4ddd-86c0-9e09e13fb7e9"&gt;
      &lt;property name="ireport.zoom" value="1.5"/&gt;
      &lt;property name="ireport.x" value="0"/&gt;
      &lt;property name="ireport.y" value="0"/&gt;
  
      &lt;style name="HBA1C"&gt;
          &lt;conditionalStyle&gt;
              &lt;conditionExpression&gt;&lt;![CDATA[$F{HBA1C}.equals("Yes")]]&gt;&lt;/conditionExpression&gt;
              &lt;style forecolor="#000000"/&gt;
          &lt;/conditionalStyle&gt;
          &lt;conditionalStyle&gt;
              &lt;conditionExpression&gt;&lt;![CDATA[$F{HBA1C}.equals("No")]]&gt;&lt;/conditionExpression&gt;
              &lt;style forecolor="#FF0000" backcolor="#FF0000" fontSize="40"/&gt;
          &lt;/conditionalStyle&gt;
      &lt;/style&gt;
  </code></pre>