The function you pass to
$(document).ready(...)
will receive a single parameter, which is a reference to the
jQuery
object:
When $.noConflict()
is used to avoid namespace conflicts, the $
shortcut is no longer available. However, the .ready()
handler is passed a reference to the jQuery object that called the method. This allows the handler to use a jQuery object, for example as $
, without knowing its aliased name.
This object is clearly not a valid set of data points for your chart.
You will either need to load the chart data using an AJAX request, or echo the data into a Javascript variable and use that to initialize your chart.