(function () {
var highcharts = document.createElement('script');
var cdn = 'https://code.highcharts.com/';
var loaded = 0;
var scripts = [
"stock/highstock.js",
"highcharts-more.js",
"highcharts-3d.js",
"modules/data.js",
"modules/exporting.js",
"modules/funnel.js",
"modules/solid-gauge.js"
];
var options = {"chart":{"backgroundColor":"#ffffff","type":"column"},"yAxis":[{"title":{}}],"colors":{"0":"#93a7bb","1":"#2e4964","2":"#e0c599","3":"#32727c","4":"#ca9c4d","5":"#871811","6":"#735069","7":"#2b908f","8":"#f45b5b","9":"#91e8e1"},"xAxis":[{"lineColor":"#0f2943","tickLength":0,"labels":{"style":{"color":"#2e4964"}}}],"legend":{"itemStyle":{"color":"#2e4964","fontWeight":"'light'"},"title":{"style":{"fontWeight":"regular"}},"align":"left"},"subtitle":{"style":{"color":"#748a9d"},"align":"left","text":"Verhältnis von tatsächlicher zu benötigter Bestandsveränderung im Wohnungsmarkt von 2011 bis 2015 in deutschen Landkreisen in Prozent"},"credits":{"style":{"color":"#748a9d"},"position":{"x":10,"align":"left"},"text":"Quelle: Statistisches Bundesamt, IW Köln"},"title":{"align":"left","style":{"color":"#2e4964","fontWeight":"bold"},"text":"Auf dem Land wird zu viel gebaut"},"plotOptions":{"bar":{"dataLabels":{"color":"#2e4964"}},"series":{"dataLabels":{"enabled":true,"style":{"color":"#2e4964","fontSize":"11px","fontWeight":"bold","textOutline":""},"format":"{y:.0f}"},"animation":false},"column":{"dataLabels":{"allowOverlap":true}}},"series":[{"data":[["Gesamt",119],["1 Raum",119],["2 Räume",61],["3 Räume",62],["4 Räume",88],["5 und mehr Räume",224]],"name":"Gesamt","turboThreshold":0,"_colorIndex":0,"index":0},{"data":[["Gesamt",116],["1 Raum",112],["2 Räume",61],["3 Räume",64],["4 Räume",90],["5 und mehr Räume",211]],"name":"West","turboThreshold":0,"_colorIndex":1,"index":1},{"data":[["Gesamt",174],["1 Raum",262],["2 Räume",61],["3 Räume",27],["4 Räume",61],["5 und mehr Räume",427]],"name":"Ost","turboThreshold":0,"_colorIndex":2,"index":2}],"meta":{"js":{"lib":{"version":"1.0.012"}},"highcharts":{"version":"4.1.8"}},"data":{"csv":"\"null\";\"Gesamt\";\"West\";\"Ost\"\n\"Gesamt\";119;116;174\n\"1 Raum\";119;112;262\n\"2 Räume\";61;61;61\n\"3 Räume\";62;64;27\n\"4 Räume\";88;90;61\n\"5 und mehr Räume\";224;211;427"},"exporting":{"sourceWidth":600,"sourceHeight":400,"scale":5},"pane":{"background":[]},"responsive":{"rules":[]},"tooltip":{"pointFormat":"{point.y:.0f} Prozent
"}};
function isScriptAlreadyIncluded(src){
var scripts = document.getElementsByTagName("script");
for (var i = 0; i < scripts.length; i++) {
if (scripts[i].hasAttribute('src')) {
if ((scripts[i].getAttribute('src') || '').indexOf(src) >= 0) {
return true;
}
}
}
return false;
}
function createChart() {
if (typeof window['Highcharts'] !== 'undefined') {
// if (!window.HighchartsCloud.hasWrapped) {
// Handle spreadsheet loading
try {
Highcharts.wrap(Highcharts.Data.prototype,"parseGoogleSpreadsheet",function(e){function t(e){function t(e){return'"'+e+'"'}var a,r=[],s=e.feed.entry,l=(s.length,0);s.forEach(function(e){var n=e.gs$cell||!1,o=!!n&&parseInt(n.row,10)-1,a=!!n&&parseInt(n.col,10)-1,s=null;n&&(n.numericValue?s=n.$t.indexOf("/")>=0||n.$t.indexOf("-")>=0?n.$t:n.$t.indexOf("%")>=0?100*parseFloat(n.numericValue):parseFloat(n.numericValue):n.$t&&(s=t(n.$t)),r[o]=r[o]||[],r[o][a]=s,a>l&&(l=a+1))}),a=r.map(function(e){for(var t=[],n=e.length;n= 0) {
n.src = s;
} else {
n.src = cdn + s;
}
document.body.appendChild(n);
}
if (typeof window['HighchartsCloud'] === 'undefined') {
window.HighchartsCloud = {
ondone: [createChart],
hasWrapped: false,
hasLoaded: false
};
loadScript(scripts[0]);
} else {
if (window.HighchartsCloud.hasLoaded) {
createChart();
} else {
window.HighchartsCloud.ondone.push(createChart);
}
}
try {
var r = new XMLHttpRequest();
r.open('POST', 'https://api.everviz.com:443/chart/41905/5/view', true);
r.setRequestHeader('Content-Type', 'application/json');
r.send();
} catch (e) {
}
}());