I am trying to add highchart to my existing website, I tested it on a new website and it worked, however when I add this to my own existing one it gives me some errors:
The code is on a high screen.
my code error is in bold:
$(function() { $('#container').highcharts({ *
Uncaught TypeError: Object [object Object] has no "highcharts" methods
chart: { type: 'column' }, title: { text: 'Chart' }, xAxis: { categories: ['Apples', 'Bananas'] }, yAxis: { title: { text: 'KWH' } }, series: [{ name: 'June', color: '#92D050', data: [1, 0] }, { type: 'line', color: '#FF0000', name: 'May', data: [0, 4] }] }); });
also when i debug it says it on the console
> Uncaught TypeError: Object [object Object] has no method 'highcharts' > Dashboard.aspx:393 Uncaught TypeError: Object [object Object] has no > method 'draggable'
I copied the code from highchart, as I did with the previous ones, which I did, however one thing that I noticed for this site is that I have a main page, so maybe it could be something there ...