[richfaces-issues] [JBoss JIRA] (RF-13414) showcase - chart demo - event handling - when chart clicked it renders redundant info

Juraj Húska (JIRA) jira-events at lists.jboss.org
Wed Dec 4 09:28:06 EST 2013


    [ https://issues.jboss.org/browse/RF-13414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928567#comment-12928567 ] 

Juraj Húska commented on RF-13414:
----------------------------------

Note that I have already sent one pull request for further improving the output. See RF-13409.
                
> showcase - chart demo - event handling - when chart clicked it renders redundant info
> -------------------------------------------------------------------------------------
>
>                 Key: RF-13414
>                 URL: https://issues.jboss.org/browse/RF-13414
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-output, showcase
>    Affects Versions: 5.0.0.Alpha2
>            Reporter: Juraj Húska
>            Priority: Trivial
>
> When clicking on the chart in the showcase demo for event handling, e.g. following output is rendered:
> {code:none}
> Point with index 3within series 3 was clicked. Point coordinates [1995,10.5]
> Series index: 3 DataIndex: 3 [1995,10.5]
> {code}
> The information is duplicated because it is retrieved in two ways: one from _server side_ (_<h:outputText id="msg" value="#{chartEventBean.msg}"/>_) and _client side script_.
> I see that it is nice showcase of both ways, but IMHO the script for *hover* event is doing this well. The output would be more cleaner. WDYT ?
> Steps to reproduce:
> # load http://showcaselatest-richfaces.rhcloud.com/richfaces/component-sample.jsf?demo=chart&sample=events&skin=blueSky
> # click on any chart line point and see the output

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list