Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13414

The showcase chart demo of event handling renders seemingly redundant info

    Details

    • Sprint:
      4.5.0.CR1 - Sprint 1

      Description

      When clicking on the chart in the showcase demo for event handling, e.g. following output is rendered:

      Point with index 3within series 3 was clicked. Point coordinates [1995,10.5]
       
      Series index: 3 DataIndex: 3 [1995,10.5]
      

      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:

      1. load http://showcaselatest-richfaces.rhcloud.com/richfaces/component-sample.jsf?demo=chart&sample=events&skin=blueSky
      2. click on any chart line point and see the output

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bleathem Brian Leathem
                  Reporter:
                  jhuska Juraj Húska
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 15 minutes
                    15m
                    Remaining:
                    Remaining Estimate - 15 minutes
                    15m
                    Logged:
                    Time Spent - Not Specified
                    Not Specified