You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by hafiz adli <or...@gmail.com> on 2011/02/13 13:27:43 UTC

[Trinidad] Pie chart not drawn with only 1 item

Hello,

When my application generate a chart model with only 1 item for a pie chart.
The pie chart is not displayed completely. All I see is a rectangle.

If I add one more item then even if the value is 0 then the chart is
displayed as a circle.

At the moment in my code, if I detect a chart model with only one item I add
a dummy item with value 0.0.

I am using trinidad 1.0.13 and myfaces 1.1.8. My app server is Tomcat 5.5

Is there a fix for this bug?

Regards,
Hafiz Adli.