Uploaded image for project: 'ZK Charts'
  1. ZK Charts
  2. ZKCHARTS-54

Users can add custom event handler on Point

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 2.1.1
    • Fix Version/s: 3.0.2
    • Security Level: Jimmy
    • Labels:

      Description

      problem description

      if we try to add a custom event (e.g. right click) handler for Point by calling addExtraAttr(), it doesn't work. Since zk charts widget overrides all client listeners on a Point.

      1. run the attached zul without the patch
      2. right click a point

      Current Result

      no au requet sent to the server

      Expected Result

      a browser sends an au request to the server

      Root Cause

      • see the patch

      debug info

      1. customEvents.2.0.10.js
        14 kB
        hawk
      2. rightclick.zul
        3 kB
        hawk
      3. RightClickComposer.java
        3 kB
        hawk

        Activity

        Hide
        rudyhuang rudyhuang added a comment -

        Ready since 2018/12/07

        Show
        rudyhuang rudyhuang added a comment - Ready since 2018/12/07

          People

          • Assignee:
            rudyhuang rudyhuang
            Reporter:
            hawk hawk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 hours
              3h