Action on click and double click?

mennovh
edited February 11, 2022 in Analytics #1
When adding interactivity to a chart Birt allows you to define actions for a mouse click and a double click. I have setup different hyperlinks for the 'click' and 'double click'. However when I view the report only the 'click' hyperlink' works. The 'double click' isn't recognised it just goes to the 'click' hyperlink.

Any idea's on why I cannot get different hyperlinks for 'click' or 'double click' to work?

Comments

  • Virgil Dodson
    Virgil Dodson E admin
    edited December 31, 1969 #2
    Hi mennovh,<br />
    <br />
    What output format have you chosen for your chart type. I believe the double-click only works for SVG and on certain browsers. If you use SVG, make sure you have enabled it at Window | Preferences | Report Design | Preview.<br />
    <br />
    There is more information on chart interactivity and how they respond for different output types available in the release specs at:<br />
    <br />
    <a class='bbc_url' href='http://www.eclipse.org/birt/release20specs/BPS37 - Chart Interactivity SPEC.pdf'&gt;http://www.eclipse.org/birt/release20specs/BPS37 - Chart Interactivity SPEC.pdf&lt;/a&gt;
    Warning No formatter is installed for the format ipb
  • mennovh
    edited December 31, 1969 #3
    Thanks for the suggestion but altering the output to SVG hasn't helped. It still only responds to the single click. As soon as I remove the interactivity that I have setup on single click the double click interactivity does work.

    Also using SVG isn't an option ad IE doesn't support SVG.
  • It is possible that the double click event has not been properly configured. You should ensure that the double click event has been set up to trigger the correct action. To do this, you should open the chart properties and navigate to the 'Events' tab. This tab will allow you to configure the action for a double click. Once you have done this, you should be able to set up the hyperlink for the double click.

  • Elsa Smith
    edited March 28, 2023 #5

    It is important to ensure that the double click ( https://cps-tester.net/double-click-test ) event has been correctly configured in order for it to trigger the desired action. To do this, you should open the chart properties and go to the 'Events' tab. This tab will allow you to configure the action for a double click. By setting up the correct action for the double click event, you will be able to set up the hyperlink and ensure that it functions correctly.