'); var startDate = this.stringToDate(dt[0].value); var endDate = this.stringToDate(dt[1].value); $('#chart-container #map-start-date').html(startDate.getDate() + " " + monthNames[startDate.getMonth()] + " " + startDate.getFullYear()); $('#chart-container #map-end-date').html(endDate.getDate() + " " + monthNames[endDate.getMonth()] + " " + endDate.getFullYear()); var indexStart = this.getJSONIndex(data, startDate, "start"); var indexEnd = this.getJSONIndex(data, endDate, "end"); var resultMinMaxAvg = this.minMaxAvgRate(data, indexStart, indexEnd); if(indexEnd >= indexStart){ $('#chart-container #map-min-max-avg').html("Minimum (" + resultMinMaxAvg.min_date + "): " + resultMinMaxAvg.min.toFixed(nrDec) + " Maximum (" + resultMinMaxAvg.max_date + "): " + resultMinMaxAvg.max.toFixed(nrDec) + " Average: " + resultMinMaxAvg.avg.toFixed(nrDec) + ""); } else {//short time period we do not have rates for, like 21-12-2013 / 22-12-2013 $('#chart-container #map-min-max-avg').html("ECB did not publish any reference exchange rate for the period selected."); } } } this.generateInverseData = function() { var keys = Object.keys(chartData[0]); for(var i =0;i= res.max){ res.max = value; res.max_date = d.getDate() + ' ' + monthNames[d.getMonth()] + ' ' + d.getFullYear(); } if(isNaN(value)) { nrNans++; }else { res.avg += value; } } res.avg = res.avg / (1+index1 - index0-nrNans); return res; } this.addDaysToDate = function(someDate, days) { someDate.setDate(someDate.getDate() + days); return someDate; } this.dateToString = function(date) { ds=date.split("-"); result = ''; if(ds.length==3) { result+=ds[2]+' '; } if(isNaN(ds[1])) { result+=ds[1]+' '; }else { result+=fullMonthNames[parseInt(ds[1])-1]+' '; } result+=ds[0]; return result; } this.generateStatsTable = function() { var container = $('#statsKeyIndicators'); var elements=[]; var counter=0; var failed = []; var done = function() { for(i=0;i'); } container.find('.ecb-columns').last().append(elements[id]); } } var f = function(name,id,l){ return function(responseText) { var xml_doc = responseText.documentElement; var points = getElementByTagName(xml_doc,'generic','Obs'); chartData = []; chartData = XMLtoJSON(chartData, points, id); var lastElement = chartData[Object.keys(chartData).length-1]; var prevElement = chartData[Object.keys(chartData).length-2]; var value = parseFloat(lastElement['line'+id]); var prevValue = parseFloat(prevElement['line'+id]); elements[id]= ''; counter++; if(counter==l) { done(); } }; } var fail = function(id){ return function(){ counter++; failed.push(id); } } //for each indicator load separately! var filenames = chartHandler.get_filename(); var l = Object.keys(filenames).length; for (var id=0;idmax) { return obj.length-1; } for (key in obj) { var d = new Date(obj[key][settings.xName]); if (d.getDate() == valToFind.getDate() && d.getMonth() == valToFind.getMonth() && d.getFullYear() == valToFind.getFullYear()) { return i; } i++; } valToFind = (fromToType === "start") ? this.addDaysToDate(valToFind, 1) : this.addDaysToDate(valToFind, -1); return this.getJSONIndex(obj, valToFind, fromToType); } this.getLineID = function(key) { var gl = function(key, list, prevID) { for(var i=0;i1||settings.alwaysShowLegend) { var generateItems = function(items, checked,onlyEven) { var result = ''; var id =0; for (var key in items) { if(settings.singleLegendColumn||(id%2==0&&onlyEven)||(id%2==1&&!onlyEven)) { if(typeof(settings.showInLegend)!='undefined') { if(!settings.showInLegend(id)) { continue; } } var colorSpan = ""; var color='#000000'; var value = items[key]; if(checked) { if(typeof(settings.colorFunction)=='undefined') { color = this.generateColor(id); }else { var d = new Date(value); if(isNaN(d.getTime())) { color = settings.colorFunction(value); }else { color = settings.colorFunction(d); } } var colorR = typeof(color)==='undefined'?0:parseInt(color.substr(1,2),16); var colorG = typeof(color)==='undefined'?0:parseInt(color.substr(3,2),16); var colorB = typeof(color)==='undefined'?0:parseInt(color.substr(5,2),16); //colorSpan = '  '; colorSpan = '
' if(settings.simpleLegend) { colorSpan= '
'; } } if(key!='parent') { var checkedString = checked?'checked="true" ':''; label = settings.simpleLegend?'':''; if(typeof value === 'object') { values = this.generateItems(value,false); result+='
  • '+label+colorSpan+ value['parent'] + labelClose+'
      '+values+'
  • '; }else { result+='
  • '+label+colorSpan+ value +labelClose+ '
  • '; } } } id++; } return result; }; $('.chart-legend-wrapper').remove(); extra = settings.simpleLegend?' simpleLegend':''; var extraLine = ''; if(typeof(settings.extraLegendLine)!='undefined') { extraLine = settings.extraLegendLine(); } var twoColsOpening = '
    '; var twoColsClosing = '
    '; var ul = '
      '; var ulColumn = twoColsOpening+ul+twoColsClosing; var ulWrapper = settings.singleLegendColumn?ul:'
      '+ulColumn+ulColumn+'
      '; $('#chart-container').append('
      '+extraLine+ulWrapper+'
      '); $('#chart-container .chart-legend').eq(0).append(generateItems.call(this,filenames,true,true)); if(!settings.singleLegendColumn) { $('#chart-container .chart-legend').eq(1).append(generateItems.call(this,filenames,true,false)); } var wrapper = this; $('#chart-container .chart-legend label').click(function(e) { var el = $(this); if(el.prop('tagName')=='INPUT') { el = el.parent(); } var value = el.children().first().attr('lineid'); var state = el.children().is(":checked"); if(state) { if(settings.xyChart||settings.serialChart) { wrapper.chart.addGraph(wrapper.graphs[value]); }else { wrapper.stockPanel.addGraph(wrapper.graphs[value]); } } else { if(settings.xyChart||settings.serialChart) { wrapper.chart.removeGraph(wrapper.graphs[value]); }else { wrapper.stockPanel.removeGraph(wrapper.graphs[value]); } } }); } } // Generate tabs with filters/dimensions (e.g. coins/banknotes) this.generateFiltersMenu = function(){ var tabs = ""; for (var i = 0; i < settings.filters.length; i++) { var menuItems = ""; for(var j=0;j' + settings.filters[i][j] + ''; } tabs+='
        ' + menuItems + '
      '; }; $('#chart-container').prepend('
      '+tabs+'
      '); } this.getSettings = function() { return settings; } // Change dimension of graph (e.g. coins to banknotes) this.switchDimension = function(i,j) { var label = settings.filters[i][j]; var elements = $("#chart-container .ecb-tabNavs:nth-child("+(i+1)+") li span"); if(settings.current_state[i]!=label) { settings.current_state[i]=label; elements.removeAttr("class"); var elements = $(elements[j]); elements.attr("class","active"); if(i<(settings.filters.length-1)) { //We are switing a regular dimension //Add loading bar var loader = new ChartLoader(settings); loader.addLoadingBox(); //Delete current chart //for(i=0;idiv').removeAttr('style'); $('#chart-container div.amChartsDataSetSelector').prependTo('#chart-container #chart-canvas>div:nth-of-type(1)'); } this.switchChartTableVisibilty = function(switchingView) { if(settings.current_state[settings.current_state.length-1]==settings.filters[settings.filters.length-1][0]) { //first element should be chart $('#chart-container .ecb-contentTable').css({'display':'none'}); $('#chart-container .ecb-tableHolder').css({'display':'none'}); $('#chart-container #chart-canvas').css({'display':'block'}); $('#chart-container .chart-legend-wrapper').css({'display':'block'}); if(settings.addHeader) { $('#chart-container .header').css({'display':'block'}); } if(switchingView) { this.switchChart(); } } else if (settings.current_state[settings.current_state.length-1]==settings.filters[settings.filters.length-1][1]) { this.generateTable(chartHandler.get_filename(settings.current_state)); $('#chart-container .ecb-contentTable').css({'display':'table'}); $('#chart-container .ecb-tableHolder').css({'display':'block'}); $('#chart-container #chart-canvas').css({'display':'none'}); $('#chart-container .chart-legend-wrapper').css({'display':'none'}); if(settings.addHeader) { //$('#chart-container .header').css({'display':'none'}); } }else { var a = settings.filters[settings.filters.length-1]; var b = settings.current_state[settings.current_state.length-1]; var f = settings.extraSecondaryDimension[a.indexOf(b)-2]; f(); } } this.getChartHandler = function() { return chartHandler; } //Script variables, DO NOT EDIT! this.resetChart = function() { if(typeof(chartHandler.chartData)=='undefined'||chartHandler.chartData==null) { this.chartData = [{}]; }else { this.chartData = chartHandler.chartData; } this.chartDataInverse=[]; this.graphs = {}; if(settings.serialChart) { this.chart = new AmCharts.AmSerialChart(); }else if (settings.xyChart) { this.chart = new AmCharts.AmXYChart(); }else { this.chart = new AmCharts.AmStockChart(); this.stockPanel = new AmCharts.StockPanel(); this.p_dates = []; this.e_dates = []; } } this.parseSettings(); this.resetChart(); this.options = { pathToImages: "/shared/js/amcharts_3.16/amcharts/images/", amExport:{ "enabled": true } }; if(!settings.hasOwnProperty('addHeader')) { settings.addHeader = false; } // ------------------------------------------- // Helper functions // Convert XML output from FAME to JSON this.XMLtoJSON = function(chartData, points, id){ var point_number=0; var start_index = 0; var temp = []; var hasSeenNeg = false; var date_min_date; if(!settings.hasOwnProperty('beginDate')) { settings.beginDate = null; } var beginDate = settings.beginDate; var date_split = beginDate==null?null:beginDate.split('-'); min_date = beginDate==null?null:new Date(date_split[0],date_split[1],date_split[2]); $(points).each(function(point){ var point_date = points[point].querySelectorAll('ObsDimension')[0].getAttribute('value'); var point_value = points[point].querySelectorAll('ObsValue')[0].getAttribute('value'); var status = points[point].querySelectorAll('Value')[0].getAttribute('value'); if(status=="P") { p_dates[p_dates.length]=point_date; } if(status=="E") { e_dates[e_dates.length]=point_date; } var date_point_date = new Date(point_date); if(beginDate==null||date_point_date>min_date) { if(start_index>=0&&(chartData[start_index+point_number]==undefined || Object.keys(chartData[start_index+point_number]).length==0)) { chartData[start_index+point_number]={}; chartData[start_index+point_number][settings.xName]=point_date; }else { if(point_number==0) { date_min_date = new Date(chartData[0][settings.xName]); start_index = wrapper.getJSONIndex(chartData,date_point_date,'start'); //start_index=0; } } if(start_index<0&& date_point_date0) { //prepend Array.prototype.unshift.apply(chartData, temp); temp=[]; start_index=0; } chartData[start_index+point_number]["line"+id]=point_value; } point_number++; } }); if(temp.length>0) { //Array.prototype.unshift.apply(chartData, temp); } return chartData } // Add leading zero to single digit numbers this.pad = function(r) { if(r.length==1) r="0"+r; return r; } //Generate color for line this.generateColor = function(id){ if(!settings.hasOwnProperty('colors')) { if(id==0) { return "#BD541F"; } var r = (Math.round(id/10* 150)); var g = (Math.round((10-id)/10* 150)); var b = 255-r; r = pad(r.toString(16)); g = pad(g.toString(16)); b = pad(b.toString(16)); return '#' + r + g + b; } else { return settings.colors[id%settings.colors.length]; } } // Return IE version this.isIE = function() { var myNav = navigator.userAgent.toLowerCase(); return (myNav.indexOf('msie') != -1) ? parseInt(myNav.split('msie')[1]) : false; } //cross browser version of getElementByTagName this.getElementByTagName = function(xml,ns,tag) { var a = xml.getElementsByTagName(ns+":"+tag); return a.length>0 ? a : xml.getElementsByTagName(tag); } //get last three data points this.getLastNDataPoints = function(n) { var results = []; for(i=0;i
      "+ number+"%
      "+v['month']+" '"+ (v['year'].substr(2))+extra_short+"
      "+elements; }); $("#chart-load").after("
      "+elements+"
      ") } this.getAverageOfLine = function(id) { average = 0; numPoints = 0; $.each(chartData,function(i,v){ var d = new Date(v[settings.xName]); if(!settings.hasOwnProperty('averageBeginDate')||d>settings.averageBeginDate) { numPoints++; average+=parseFloat(v[id]); } }); return average/numPoints; } } var monthNames = [ "Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec" ]; var fullMonthNames = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; // var colorPalette = [ // "#007bd2", // "#d20052", // "#7bd200", // "#5700d2", // "#c100d2", // "#880012", // "#00d2c1", // "#d2c100", // "#0012d2", // "#d25700", // "#00d257" // ]; //52 -> 7B //d2 -> D2 //57 -> 57 //12 -> 12 //c1 -> C1

      Annual consolidated balance sheet of the Eurosystem

      The annual consolidated balance sheet of the Eurosystem comprises assets and liabilities of the Eurosystem national central banks (NCBs) and the ECB held at year-end vis-à-vis third parties.

      Claims and liabilities between Eurosystem central banks (intra-Eurosystem claims and liabilities) are netted and are therefore not shown.

      This balance sheet is published together with the Annual Accounts, and is included in the Annual Report of the ECB.

      20 February 2020
      Consolidated balance sheet of the Eurosystem as at 31 December 2019

      Last updated on 20 February 2020

      Totals may not add up, due to rounding.

      Download the data

      北京pk赛车10官网 福建31选7 深圳风采 陕西十一选五 炒黄金网上 658配资 犇牛聚财配资 今日股市最新消息上证指数上证指数2020年预测 体彩p3 吉林快三 今天股票推荐 今天黑马股票推荐 湖北11选5 重庆快乐十分 球探比分007 皇冠足球比分 点点盈配资