вопрос
Здравствуйте подскажите пожалуйста, имеется скрипт чарта, но при подключении его на сайт выдает такую ошибку Uncaught SyntaxError: Unexpected end of input
Кто поможет, заранее спасибо.
$(function () {
$('#container').highcharts({
chart: {
type: 'bar',
animation: {
duration: 3500,
easing: 'easeInOut'
}
},
title: {
text: 'Skills Weighed'
},
yAxis: {
min: 0,
max: 100
},
legend: {
reversed: true
},
plotOptions: {
series: {
stacking: 'normal',
colorByPoint: false
}
},
series: [{
name: 'Photography',
data: [10],
color: 'e1e1e1'
},{
name: 'SysAdmin',
data: [5],
color: 'red'
},{
name: 'Design',
data: [25],
color: '#0095d4'
},{
name: 'Development',
data: [20],
color: '#000080'
},{
name: 'Design',
data: [25],
color: '#0095d4'
},{
name: 'Marketing',
data: [5],
color: 'red'
},{
name: 'Client Facing',
data: [10],
color: 'e1e1e1'
},]
});
$('#container_2').highcharts({
chart: {
type: 'bar',
animation: {
duration: 3500,
easing: 'easeInOut'
}
},
title: {
text: 'Design Skills Weighed'
},
yAxis: {
min: 0,
max: 100
},
legend: {
reversed: false
},
plotOptions: {
series: {
stacking: 'normal'
}
},
series: [{
name: 'Motion',
data: [5]
},
{
name: 'Spacial',
data: [5]
},{
name: 'Mobile',
data: [25]
},{
name: 'Web',
data: [65]
}]
});
});
$('#container').highcharts({
chart: {
type: 'bar',
animation: {
duration: 3500,
easing: 'easeInOut'
}
},
title: {
text: 'Skills Weighed'
},
yAxis: {
min: 0,
max: 100
},
legend: {
reversed: true
},
plotOptions: {
series: {
stacking: 'normal',
colorByPoint: false
}
},
series: [{
name: 'Photography',
data: [10],
color: 'e1e1e1'
},{
name: 'SysAdmin',
data: [5],
color: 'red'
},{
name: 'Design',
data: [25],
color: '#0095d4'
},{
name: 'Development',
data: [20],
color: '#000080'
},{
name: 'Design',
data: [25],
color: '#0095d4'
},{
name: 'Marketing',
data: [5],
color: 'red'
},{
name: 'Client Facing',
data: [10],
color: 'e1e1e1'
},]
});
$('#container_2').highcharts({
chart: {
type: 'bar',
animation: {
duration: 3500,
easing: 'easeInOut'
}
},
title: {
text: 'Design Skills Weighed'
},
yAxis: {
min: 0,
max: 100
},
legend: {
reversed: false
},
plotOptions: {
series: {
stacking: 'normal'
}
},
series: [{
name: 'Motion',
data: [5]
},
{
name: 'Spacial',
data: [5]
},{
name: 'Mobile',
data: [25]
},{
name: 'Web',
data: [65]
}]
});
});
Кто поможет, заранее спасибо.