Error while plotting chart: attribute width: A negative value is not valid

21 views
Skip to first unread message

alen james

unread,
Oct 15, 2018, 11:22:29 AM10/15/18
to Google Visualization API
Hi All,

I am facing the following error while displaying the chart:

Error: <svg> attribute width: A negative value is not valid. ("-2")
Error: <rect> attribute width: A negative value is not valid. ("-2")


Please Find the HTML page with the JS inline attached.

The Java Script for the page is between the lines: 17 and 107.

I am creating the DataTable inline and generating a table and graph using views to the DataTable.

NB: The Table and Chart are getting displayed when interchanging the Divs. (line# 97 and 102). 

Thanks in Advance,

Alen James


Trend WebPage.html
Reply all
Reply to author
Forward
0 new messages