Home forums Using CanvasJS click feature is annoying when using together with zoom

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  Anjali 2 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7204

    darkslayer
    Participant

    hi, sunil

    ty for bring PNG export in last update, i love it 🙂

    back to the topic

    i have many bar that cant counted. (sometimes give us 1 or countless like 100 bars)
    because canvasJs cant using autoHeight , so i must write fix value of height. In this case i use 300px, while widht: 100% AND absolutely im using zoom feature which throw away autoHeight problem.

    But, today i want to use CLICK feature to give client easy way to view data depend on which bar he clicked.
    everything was gonna fine.
    but when im trying to zoom and Panning the chart, i often trigger the click function by accident even i try to zoom/panning it carefully (inadvertent or i didnt mean to click it, because i just want zoom and panning it to view the chart clearly)

    i write that example in http://jsfiddle.net/QwZuf/109/

    i’m not force u too rewrite your code/making update,
    but i just want asking help/solution

    i was tried to read whole documentation and googling, but i still cant figure the way

    GBU 🙂

    #7206

    darkslayer
    Participant

    now i prevent my issue by using confirm();
    so when user miss click when he slide mouse to zooming/panning , confirm pop up will show to him.
    TRUE >> do some AJAX
    FALSE >> return false for do nothing

    source: http://jsfiddle.net/QwZuf/110/

    i hope u have better solution , sunil.

    #7566

    Anjali
    Participant

    darkslayer,

    We have fixed this issue in v1.5.6, please download the same.

    __
    Anjali

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.