영국 SW산업 매출현황
  • 김항규SW기반정책·인재연구실 선임연구원
날짜2022.11.28
조회수11195
글자크기
  • (단위 : 억 파운드)
    var chart_83; var chart_type_83 = "column"; jQuery(document).ready(function () { {"data":{"data":[{"구분":"2017년","SW산업":"1147"},{"구분":"2018년","SW산업":"1297"},{"구분":"2019년","SW산업":"1356"},{"구분":"2020년","SW산업":"1464"},{"구분":"2021년","SW산업":"1635"}]},"use":{"animate":true,"aCrossLine":true,"multiYAxis":false},"animate":{"speed":100},"format":{ "yAxis": "priceDataFormat" },"func":{ "tip": function (tipElement, data, rect) { var date = data.xaxis; var tip = '
    '+ String(data.yaxis)+'
    '; tipElement.html(tip).show(); tipElement.html(tipElement.html()).css({ left: rect.x - (tipElement.width() / 2), top: rect.y - 38 }); } }} var style = { "main": { "layout": { "paddingTop": 57, "paddingRight": 30, "color": "#ffffff", "line": { "color": "#ffffff", "width": 1 } }, "graph": { "color": "#ffffff", "line": { "top": { "color": "#cccccc" }, "left": { "width": 0 }, "right": { "width": 0 }, "bottom": { "color": "#cccccc" } } }, "layout": { "color": layout_color }, "yAxis": { "text": { "align": "right" } }, "series": { "s1": { "area": { "normal": { "color":{src:'/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/pattern04.png'}, "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s2": { "area": { "normal": { "color": [ [ 0, "#ff852c" ], [ 100, "#fca86b" ] ], "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s3": { "area": { "normal": { "color": [ [ 0, "#ffbb16" ], [ 100, "#fcca50" ] ], "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s4": { "area": { "normal": { "color": [ [ 0, "#d6de1d" ], [ 100, "#e7ed5b" ] ], "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s5": { "area": { "normal": { "color": [ [ 0, "#2bcdba" ], [ 100, "#63e8d8" ] ], "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } } } } }; var data_83 = data; var style_83 = style; var series_83 = series; if(color_style_83 == undefined){ var color_style_83 = []; } if(slider_83 == undefined ){ var slider_83 =true; } if (chart_type_83 == "pie") { chart_83 = webponent.visual.pie.init(jQuery('#webponent_chart_83'), style_83, data_83); jQuery("#chart_controller").remove(); } else if (chart_type_83 == "tree") { chart_83 = webponent.visual.treemap.init(jQuery('#webponent_chart_83'), style_83, data_83); jQuery("#chart_controller").remove(); } else if (chart_type_83 == "horizon") { chart_83 = webponent.visual.horizon.init(jQuery('#webponent_chart_83'), style_83, data_83); jQuery("#chart_controller").remove(); } else if (chart_type_83 == "scatter") { chart_83 = webponent.visual.scatterPlot.init(jQuery('#webponent_chart_83'), style_83, data_83); jQuery("#chart_controller").remove(); } else { if(chart_type_83 != "hloc"){ var count =0; jQuery.each(series_83.main, function (index, value) { if (index != "type") { if(chart_type_83 == "line"){ legend_count = count %5; jQuery("#chart_legends_83").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'
  • '); }else if(chart_type_83 =="multi_series"){ if(value.series=="line"){ legend_count = count %5; jQuery("#chart_legends_83").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +''); }else{ jQuery("#chart_legends_83").append('
  • ' + value.yaxis + '
  • '); } }else{ if(color_style_83.length){ jQuery("#chart_legends_83").append('
  • ' + value.yaxis + '
  • '); }else{ jQuery("#chart_legends_83").append('
  • ' + value.yaxis + '
  • '); } } } count++; }); } chart_83= webponent.chart.init(jQuery('#webponent_chart_83'), data_83, style_83, series_83); if(slider_83){ if(chart_type_83=="line"||chart_type_83=="column"){ var tmp_x=[]; jQuery("#slider_div_83").attr("style",""); jQuery.each(data_83.data.data,function (index,value){ tmp_x.push(value[Object.keys(value)[0]]); }); jQuery("#slider-range_83").slider({ range: true, min: 0, max: tmp_x.length-1, values: [ 0, tmp_x.length-1 ], slide: function( event, ui ) { jQuery( "#slider-text_83" ).text( "범위 : " + tmp_x[ui.values[ 0 ]] + " - " + tmp_x[ui.values[ 1 ]] ); var tmp_data = JSON.parse(JSON.stringify(data_83)); //object 참조 복사 회피 tmp_data.data.data = tmp_data.data.data.splice(ui.values[ 0 ],ui.values[ 1 ]+1-ui.values[0]); chart_83.inquery( tmp_data,style_83, series_83); } }); jQuery("#slider-text_83").text( "범위 : "+tmp_x[0] + " - " + tmp_x[tmp_x.length-1]); } } } })
  • 영국 SW산업 매출현황
    구분 2017년 2018년 2019년 2020년 2021년
    var table_71= jQuery("#grid_table_71"); var tmp_template_71 = jQuery("#grid_template_71").html(); if(tmp_template_71.split("/*").length>1){ tmp_template_71 =tmp_template_71.substring(13,tmp_template_71.length-7); } jQuery("#grid_template_71").html(tmp_template_71); var template_71 =jQuery("#grid_template_71"); var data_71 =[{"s0":"SW개발 및 공급업","s1":"33","s2":"33","s3":"32","s4":"39","s5":"43"},{"s0":"컴퓨터 프로그래밍 및 컨설팅","s1":"1,011","s2":"1,142","s3":"1,201","s4":"1,289","s5":"1,421"},{"s0":"데이터 처리, 호스팅, 웹포털","s1":"103","s2":"122","s3":"123","s4":"136","s5":"171"},{"s0":"합계","s1":"1,147","s2":"1,297","s3":"1,356","s4":"1,464","s5":"1,635"}]; var grid_71; jQuery(document).ready(function () { jQuery.each(data_71 , function(idx,value){ var tmp_object = value; var objectKey = Object.keys(value); jQuery.each(objectKey,function(idx2,value2){ if(jQuery.isNumeric(value[idx2])){ tmp_object[value2]=parseFloat(value[idx2]).toLocaleString(); } }); }); if(1 == 1){ var grid_sortable = true; }else{ var grid_sortable = false; }; grid_71 = webponent.grid.init(table_71,template_71, {sortable:grid_sortable}); var collapseKeys_71 = Object.keys(data_71[0]); grid_71.event.on('dataRendered', function () { var dataList = grid_71.data; var renderingStartRowIndex = grid_71.settings.defferedRendering.renderingStartRowIndex; var renderingEndRowIndex = grid_71.settings.defferedRendering.renderingEndRowIndex; if (renderingStartRowIndex === null) { renderingStartRowIndex = 0; } if (renderingEndRowIndex === null) { renderingEndRowIndex = grid_71.data.length; } else { renderingEndRowIndex ++; } var prevTdMap = {}; var prevDataMap = {}; var prevRowspanMap = {}; for (var i = renderingStartRowIndex; i < renderingEndRowIndex; i ++) { var data = dataList[i]; _.each(collapseKeys_71 , function (collapseKey) { var row = jQuery(grid_71.rows[i]); var td = row.find('[data-name=' + collapseKey + ']'); var prevTd = prevTdMap[collapseKey]; if (!prevTd) { td.attr('rowspan', '1'); td.addClass('CI-GRID-BORDER-RIGHT'); prevTdMap[collapseKey] = td; prevDataMap[collapseKey] = data[collapseKey]; prevRowspanMap[collapseKey] = 1; } else { if (!jQuery.isNumeric(data[collapseKey])&&prevDataMap[collapseKey] === data[collapseKey]) { prevTdMap[collapseKey].attr('rowspan', prevRowspanMap[collapseKey] + 1); prevRowspanMap[collapseKey] ++; td.remove(); } else { td.attr('rowspan', '1'); td.addClass('CI-GRID-BORDER-RIGHT'); prevTdMap[collapseKey] = td; prevDataMap[collapseKey] = data[collapseKey]; prevRowspanMap[collapseKey] = 1; } } }); } }); grid_71.appendRow(data_71); grid_71.setGridHeight(); //var header_caption_71 = grid_71.markup.main.header.table.createCaption(); //header_caption_71.innerHTML = "영국 SW산업 매출현황"; //header_caption_71.className += " blind"; var header_td_71 = grid_71.markup.main.header.table; //console.log($(header_td_71).html()); $(header_td_71).find('.CI-GRID-SORTER').attr('title', '이 컬럼을 소트하려면 클릭 또는 엔터키를 눌러 주세요.\(쉬프트키를 누르면서 클릭 또는 엔터키를 눌러 주시면 멀티소팅이 됩니다.\) '); $('.CI-GRID-FOCUS-ESCAPER').remove(); });
    • 자료) 영국 통계청(ONS) Annual Business Survey (2023.5)
      • 주1) SW개발 및 공급업 : 컴퓨터 게임 출판, 기타 소프트웨어 출판
      • 주2) 컴퓨터 프로그래밍 및 컨설팅 : 컴퓨터 프로그래밍, 컴퓨터 시설관리, 기타 정보기술 및 컴퓨터 서비스