Closed chinmaymk closed 10 years ago
Hmm I do not have this effect on the example file.
Do you have a way to reproduce?
It's working on demo page. But not on plunkr. A guy tweeted this bug. Haven't confirmed yet. Will check tom and close if invalid.
Ok, also http://chinmaymk.github.io/angular-charts/ (gh-pages) is not up to date.
Going to add a update to gh-pages to my #55
@felipeleusin better add a raw reference to script from bower branch, so we don't have to update it everytime.
https://rawgit.com/chinmaymk/angular-charts/bower/dist/angular-charts.min.js
It seems jQlite is not updating the location, events are getting passed correctly.
https://github.com/chinmaymk/angular-charts/blob/master/src/angular-charts.js#L901
+1 for the raw reference, but there are less dependencies anyway (:
weird, maybe that within Plunkr the event.x
is not been handled properly? Could you link to that plunkr example? Thx.
Unlikely that to be the case, here's the link to plunkr, put a debug point at updateToolTip method and check.
i'll look into it today
On Thu, May 15, 2014 at 5:42 AM, Chinmay Kulkarni notifications@github.comwrote:
Unlikely that to be the case, here's the link to plunkr, put a debug point at updateToolTip method and check.
http://plnkr.co/edit/T9J7bz?p=preview
— Reply to this email directly or view it on GitHubhttps://github.com/chinmaymk/angular-charts/issues/57#issuecomment-43182625 .
http://plnkr.co/edit/JgZtwz?p=preview fixed was really weird
hey, it was me who tweeted about it. i'm still quite new to angular & jquery, but what i noticed was: tooltip was not following the mouse in my simple local implementation, even though i saw it working on the demo page, and then i saw it didn't work on the plunkr. upon inspecting the dependencies, i saw the demo page loaded jquery whereas the plunker does not. once i added jquery to my local project, the tooltip started to follow the mouse as well.
but glad that it is fixed now!
Yeah demo is not up to date atm, we're working on it.
The weird thing is that event.clientX
is an integer but that element.css()
wasn't handling it properly (angularjs issue?) but by transforming it to a '10px' string it did the trick.
Seems like an side effect of removing jquery