Analytics Example -- "Breaks When All Data Is 0"

5 views
Skip to first unread message

sgarbesi

unread,
Jan 6, 2010, 8:18:50 PM1/6/10
to Raphaël
I copied your analytics code for a site that I'm working on, and I
noticed that when all of the data provided to the chart is 0, a
javascript error is thrown and the chart is simply blank. There are no
dots at all. If I enter one point of data, and leave the rest at 0, it
displays fine. Any help would be appreciated.

JavaScript Error:

pathArray[0] is undefined
[Break on this error] if (pathArray[0][0] == "M") {\n


JavaScript File:

* Raphael 1.2.1 - JavaScript Vector Library


LINE 442:
if (pathArray[0][0] == "M") {

Reply all
Reply to author
Forward
0 new messages