[ https://issues.apache.org/jira/browse/ADFFACES-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venkata Guddanti updated ADFFACES-430: -------------------------------------- Attachment: trunk.patch > Chart Component Not Working if there is no editableValue component on the page > ------------------------------------------------------------------------------ > > Key: ADFFACES-430 > URL: https://issues.apache.org/jira/browse/ADFFACES-430 > Project: MyFaces ADF-Faces > Issue Type: Bug > Components: Components > Affects Versions: 1.0.1-incubating-core-SNAPSHOT > Environment: All > Reporter: Venkata Guddanti > Priority: Trivial > Fix For: 1.0.1-incubating-plugins-SNAPSHOT > > Attachments: trunk.patch > > > Chart component depends on the '_locale' object being on the client so that > it can format numbers. Currently the '_locale' object is present only if the > editableValue component is present on the page. The "TrNumberConverter()" > causes the '_locale' object to be sent to the client. > The fix is to send the "TrNumberConverter()" to the client from the chart > renderer. The call to render this scriplet is safe since it is sent only once > per page. > Changed the chart renderer on the client to compute the maximum, minimum of > the values if not specified by the develpor. The maximum is 20% more than of > the maximum of values and the minimum is 20% less than the minimum of values. > Changed the demo page by putting a commandButton to cycle through all the > chart types to better showcase the different chart types. > Patch follows.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.