You must be logged in to post your query.
Home › Forums › Chart Support › click feature is annoying when using together with zoom
Tagged: click, zoom
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 :)
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.
darkslayer,
We have fixed this issue in v1.5.6, please download the same.
__ Anjali
You must be logged in to reply to this topic. Login/Register