Vielen Dank. Hier ist mein Code:
<p><br></p>
<!-- Container für das Diagramm -->
<div id="chart" style="height: 600px"></div>
<script type="text/javascript" src="../plugins/highcharts/highcharts.js"></script>
<script type="text/javascript">
<!--
$(function () {
$('#chart').highcharts({
chart: {
type: 'bar'
},
title: {
text: null
},
xAxis: {
categories: %labels%,
title: {
text: null
}
},
plotOptions: {
bar: {
dataLabels: {
enabled: true
}
}
},
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom',
floating: false,
borderWidth: 1,
backgroundColor: ((Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'),
shadow: false
},
credits: {
enabled: false
},
series: [{
name: 'Durchschnitt',
data: %refData%,
color: '#BBBBBB',
dataLabels: {
enabled: false
}
}, {
name: 'Ihr Wert',
data: %ownData%,
color: '#004C99',
dataLabels: {
enabled: false
}
}]
});
});
// -->
</script>