중국 SW산업 기업수

  • 김항규SW기반정책·인재연구실 선임연구원
날짜2023.07.05
조회수13560
글자크기
  • (단위 : 개)
    var chart_67; var chart_type_67 = "column"; jQuery(document).ready(function () { {"data":{"data":[{"구분":"2017년","SW산업":" 35774 "},{"구분":"2018년","SW산업":"37776"},{"구분":"2019년","SW산업":"36958"},{"구분":"2020년","SW산업":"38661"},{"구분":"2021년","SW산업":"30583"},{"구분":"2022년","SW산업":"35014"}]},"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": "#eaeaea", "width": 1 } }, "graph": { "color": "#fff", "line": { "top": { "color": "#cccccc" }, "left": { "width": 0 }, "right": { "width": 0 }, "bottom": { "color": "#cccccc" } } }, "crossLine": { "color": "#465866" }, "xAxis": { "paddingTop": 13, "height": 30, "text": { "family": "Nanum Gothic", "size": 12, "color": "#666" }, "line": { "color": "#e3e3e3", "width": 1 } }, "yAxis": { "line": { "color": "#cccccc", "width": 1, "opacity": 1 }, "text": { "family": "Nanum Gothic", "size": 12, "color": "#666", "align": "right" }, "baseAtZero": true }, "tip": { "className": "tip" }, "series": { "s1": { "area": { "normal": { "color": "#1d64ac", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s2": { "area": { "normal": { "color": "#4abfca", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s3": { "area": { "normal": { "color": "#f9d33a", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s4": { "area": { "normal": { "color": "#ff8e1f", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s5": { "area": { "normal": { "color": "#7badff", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s6": { "area": { "normal": { "color": "#6763ff", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s7": { "area": { "normal": { "color": "#ff6e6e", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, "s8": { "area": { "normal": { "color": "#c5c5c5", "over": { "color": { "src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png" } } } } }, } } }; var data_67 = data; var style_67 = style; var series_67 = series; if(color_style_67 == undefined){ var color_style_67 = []; } if(slider_67 == undefined ){ var slider_67 =true; } if (chart_type_67 == "pie") { chart_67 = webponent.visual.pie.init(jQuery('#webponent_chart_67'), style_67, data_67); jQuery("#chart_controller").remove(); } else if (chart_type_67 == "tree") { chart_67 = webponent.visual.treemap.init(jQuery('#webponent_chart_67'), style_67, data_67); jQuery("#chart_controller").remove(); } else if (chart_type_67 == "horizon") { chart_67 = webponent.visual.horizon.init(jQuery('#webponent_chart_67'), style_67, data_67); jQuery("#chart_controller").remove(); } else if (chart_type_67 == "scatter") { chart_67 = webponent.visual.scatterPlot.init(jQuery('#webponent_chart_67'), style_67, data_67); jQuery("#chart_controller").remove(); } else { if(chart_type_67 != "hloc"){ var count =0; jQuery.each(series_67.main, function (index, value) { if (index != "type") { if(chart_type_67 == "line"){ legend_count = count %5; jQuery("#chart_legends_67").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'
  • '); }else if(chart_type_67 =="multi_series"){ if(value.series=="line"){ legend_count = count %5; jQuery("#chart_legends_67").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +''); }else{ jQuery("#chart_legends_67").append('
  • ' + value.yaxis + '
  • '); } }else{ if(color_style_67.length){ jQuery("#chart_legends_67").append('
  • ' + value.yaxis + '
  • '); }else{ jQuery("#chart_legends_67").append('
  • ' + value.yaxis + '
  • '); } } } count++; }); } chart_67= webponent.chart.init(jQuery('#webponent_chart_67'), data_67, style_67, series_67); if(slider_67){ if(chart_type_67=="line"||chart_type_67=="column"){ var tmp_x=[]; jQuery("#slider_div_67").attr("style",""); jQuery.each(data_67.data.data,function (index,value){ tmp_x.push(value[Object.keys(value)[0]]); }); jQuery("#slider-range_67").slider({ range: true, min: 0, max: tmp_x.length-1, values: [ 0, tmp_x.length-1 ], slide: function( event, ui ) { jQuery( "#slider-text_67" ).text( "범위 : " + tmp_x[ui.values[ 0 ]] + " - " + tmp_x[ui.values[ 1 ]] ); var tmp_data = JSON.parse(JSON.stringify(data_67)); //object 참조 복사 회피 tmp_data.data.data = tmp_data.data.data.splice(ui.values[ 0 ],ui.values[ 1 ]+1-ui.values[0]); chart_67.inquery( tmp_data,style_67, series_67); } }); jQuery("#slider-text_67").text( "범위 : "+tmp_x[0] + " - " + tmp_x[tmp_x.length-1]); } } } })
  • 중국 SW산업 기업수
    구분 2017년 2018년 2019년 2020년 2021년 2022년
    var table_53= jQuery("#grid_table_53"); var tmp_template_53 = jQuery("#grid_template_53").html(); if(tmp_template_53.split("/*").length>1){ tmp_template_53 =tmp_template_53.substring(13,tmp_template_53.length-7); } jQuery("#grid_template_53").html(tmp_template_53); var template_53 =jQuery("#grid_template_53"); var data_53 =[{"s0":"SW산업","s1":"35,774","s2":"37,776","s3":"36,958","s4":"38,661","s5":"30,583","s6":"35,014"}]; var grid_53; jQuery(document).ready(function () { jQuery.each(data_53 , 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_53 = webponent.grid.init(table_53,template_53, {sortable:grid_sortable}); var collapseKeys_53 = Object.keys(data_53[0]); grid_53.event.on('dataRendered', function () { var dataList = grid_53.data; var renderingStartRowIndex = grid_53.settings.defferedRendering.renderingStartRowIndex; var renderingEndRowIndex = grid_53.settings.defferedRendering.renderingEndRowIndex; if (renderingStartRowIndex === null) { renderingStartRowIndex = 0; } if (renderingEndRowIndex === null) { renderingEndRowIndex = grid_53.data.length; } else { renderingEndRowIndex ++; } var prevTdMap = {}; var prevDataMap = {}; var prevRowspanMap = {}; for (var i = renderingStartRowIndex; i < renderingEndRowIndex; i ++) { var data = dataList[i]; _.each(collapseKeys_53 , function (collapseKey) { var row = jQuery(grid_53.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_53.appendRow(data_53); grid_53.setGridHeight(); //var header_caption_53 = grid_53.markup.main.header.table.createCaption(); //header_caption_53.innerHTML = "중국 SW산업 기업수"; //header_caption_53.className += " blind"; var header_td_53 = grid_53.markup.main.header.table; //console.log($(header_td_53).html()); $(header_td_53).find('.CI-GRID-SORTER').attr('title', '이 컬럼을 소트하려면 클릭 또는 엔터키를 눌러 주세요.\(쉬프트키를 누르면서 클릭 또는 엔터키를 눌러 주시면 멀티소팅이 됩니다.\) '); $('.CI-GRID-FOCUS-ESCAPER').remove(); });
    • 자료) 중국 산업정보기술부(MIIT) 소프트웨어 및 정보 기술 서비스 산업 연간 통계(2023.9)