Jump to content
Changes to the Jaspersoft community edition download ×

Why is my Widgets Pro Angular Gauge showing sometimes 2 to 4 dials?


QueenArtemis

Recommended Posts

Can figure out why my gauge is showing more than one dial when the query results are only one row. 

<fw:angularGauge xmlns:fw="http://jaspersoft.com/fusion" xsi:schemaLocation="http://jaspersoft.com/fusion http://jaspersoft.com/schema/fusion.xsd">                            <fw:widgetProperty name="showShadow">                                <fw:propertyExpression><![CDATA[boolean.FALSE]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="animation">                                <fw:propertyExpression><![CDATA[boolean.FALSE]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="upperLimit">                                <fw:propertyExpression><![CDATA[new Integer(100)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="upperLimitDisplay">                                <fw:propertyExpression><![CDATA["100"]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="lowerLimit">                                <fw:propertyExpression><![CDATA[new Integer(100)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="lowerLimitDisplay">                                <fw:propertyExpression><![CDATA["0"]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="showGaugeBorder">                                <fw:propertyExpression><![CDATA[boolean.FALSE]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="gaugeBorderAlpha">                                <fw:propertyExpression><![CDATA[new Integer(100)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="pivotBorderAlpha">                                <fw:propertyExpression><![CDATA[new Integer(100)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="pivotFillAlpha">                                <fw:propertyExpression><![CDATA[new Integer(100)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="bgColor">                                <fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="borderColor">                                <fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="showBorder">                                <fw:propertyExpression><![CDATA[boolean.TRUE]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="pivotFillColor">                                <fw:propertyExpression><![CDATA[new java.awt.Color(-16777216)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:widgetProperty name="pivotFillAngle">                                <fw:propertyExpression><![CDATA[new Integer(2)]]></fw:propertyExpression>                            </fw:widgetProperty>                            <fw:colorRange color="#2CC059">                                <fw:minValueExpression><![CDATA[1]]></fw:minValueExpression>                                <fw:maxValueExpression><![CDATA[36]]></fw:maxValueExpression>                                <fw:labelExpression><![CDATA[$R{LowKey}]]></fw:labelExpression>                            </fw:colorRange>                            <fw:colorRange color="#FFCA1D">                                <fw:minValueExpression><![CDATA[37]]></fw:minValueExpression>                                <fw:maxValueExpression><![CDATA[80]]></fw:maxValueExpression>                                <fw:labelExpression><![CDATA[$R{MediumKey}]]></fw:labelExpression>                            </fw:colorRange>                            <fw:colorRange color="#F43228">                                <fw:minValueExpression><![CDATA[81]]></fw:minValueExpression>                                <fw:maxValueExpression><![CDATA[300]]></fw:maxValueExpression>                                <fw:labelExpression><![CDATA[$R{HighKey}]]></fw:labelExpression>                            </fw:colorRange>                            <dataset/>                            <fw:dial>                                <fw:dialProperty name="borderColor">                                    <fw:propertyExpression><![CDATA[new java.awt.Color(-16777216)]]></fw:propertyExpression>                                </fw:dialProperty>                                <fw:dialProperty name="bgColor">                                    <fw:propertyExpression><![CDATA[new java.awt.Color(-16777216)]]></fw:propertyExpression>                                </fw:dialProperty>                                <fw:valueExpression><![CDATA[$F{OVERALL_HEALTH}]]></fw:valueExpression>                            </fw:dial>                        </fw:angularGauge>[/code]

I have added this to a group footer. 

 

Any ideas would be greatly appreciated. What should i be checking ?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...