score:2

Accepted answer

You need to load Highcharts only once, not twice as you have. So, I recommend to use only:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="components/highstock/highstock.js"></script>

Because Highstock includes all Highcharts options. Morever please take care about correct paths to your files, because it looks like a problem only with it.

score:5

var chart=null;
$(document).ready(function() {
    chart = new Highcharts.Chart({
                    chart: {
                        renderTo: 'container',
                        type: 'bar'
                    },
                    title: {
                        text: '${model.title}'
                    }
...                        

Set the chart to null because this error can occur due to multiple declaration that you may not be aware of. Assumption is all imports are correct


Related Query

More Query from same tag