You must be logged in to post your query.
Home › Forums › Chart Support › Cursor on data points
Tagged: cursor
Sunil, this is a wonderful library. Thank you for all of your work on it!
Is it possible to change the mouse cursor to the ‘pointer’ when on a data point to indicate that the point is clickable? Currently the cursor stays as the default.
I tried the following code to handle the mouseover event, but the cursor only seems to be changed when the cursor leaves the data point, not when it is on it.
mouseover: function(e){ document.body.style.cursor = ‘wait’; }
Thanks for your help!
Samip,
That makes sense. I’ve just implemented the feature. Here is an internal build – public release will take couple of days. Do try out and let me know.
Basically you need to set “cursor” property of dataSeries / dataPoint.
— Sunil Urs
Sunil,
Yes, it works perfectly! Thank you for your quick response and thanks again for your wonderful work!
Samip
Just wanted to inform you that this feature is now available in the main release – v1.2. Do update.
— Sunil
Thanks, Sunil! I noticed that a couple days ago and updated. Works perfectly.
Hi Sunil,
Just wanted to show you where we are using CanvasJS: http://www.saadigitalarchive.org/firstdays
Thanks again for such a wonderful library!
All the best, Samip
Thats a really nice customization. And interesting stories too… Have been reading for the past one hour… :-)
Thanks for sharing.
You must be logged in to reply to this topic. Login/Register