shutterstock / rickshaw

JavaScript toolkit for creating interactive real-time graphs
https://shutterstock.github.io/rickshaw
MIT License
6.53k stars 941 forks source link

Examples not working on iPad #123

Open walterra opened 12 years ago

walterra commented 12 years ago

Hi,

Sorry for the bad bug report, but debugging Safari on iPad is not so much fun. I'll try to provide further details when I have time to dig deeper.

This happens in Safari on an iPad 2 running iOS 5.1.1 (9B206).

The basic non-interactive examples work. (those from this page http://code.shutterstock.com/rickshaw/)

The Interactive Legend example works too (http://code.shutterstock.com/rickshaw/examples/legend.html)

What doesn't work is the Interactive Hover Details example (http://code.shutterstock.com/rickshaw/examples/lines.html)

The Safari/iOS debug console is a bit like IE6 ;) so the error message is:

"JavaScript: Error \ undefined \ TypeError: 'undefined' is not a function

The same happens with the "Random Data in the Future" example.

dancek commented 11 years ago

I noticed the same bug, and this seems to affect the first and third generations of iPad as well. The problem indeed seems to be in Rickshaw.Graph.HoverDetail, but I'm new to working with tablets and don't really know how to debug this...