SW산업 주가지수 추이
  • 김항규SW기반정책·인재연구실 선임연구원
날짜2024.07.01
조회수22219
글자크기
    var chart_78; var chart_type_78 = "line"; jQuery(document).ready(function () { {"data":{"data":[{"구분":"2019년","IT SW\/서비스":"1544"},{"구분":"2020년","IT SW\/서비스":"2062"},{"구분":"2021년","IT SW\/서비스":"3338"},{"구분":"2022년","IT SW\/서비스":"1495"},{"구분":"2023년","IT SW\/서비스":"1597"}]},"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: { graph: { color: graph_color, line: { top: {color: '#cccccc'}, left: {width: 0}, right: {width: 0}, bottom: {color: '#cccccc'} } }, layout: { paddingTop: 57, paddingRight: 30, color: layout_color, line: {color: '#eaeaea', width: 1} }, 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'} }, tip: { className: 'tip' }, series: { s1: { line: { normal: { color: legend_color[0], width: 3, over: over_img } }, tick: { style: 'circle', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color:legend_color[0], width: 3} } } }, s2: { line: { normal: { color: legend_color[1], width: 3, over: over_img } }, tick: { style: 'square', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color: legend_color[1], width: 3} } } }, s3: { line: { normal: { color: legend_color[2], width: 3, over: over_img } }, tick: { style: 'triangle', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color: legend_color[2], width: 3} } } }, s4: { line: { normal: { color: legend_color[3], width: 3, over: over_img } }, tick: { style: 'star', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color: legend_color[3], width: 3} } } }, s5: { line: { normal: { color: legend_color[4], width: 3, over: over_img } }, tick: { style: 'diamond', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color: legend_color[4], width: 3} } } }, s6: { line: { normal: { color: legend_color[5], width: 3, over: over_img } }, tick: { style: 'circle', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color: legend_color[5], width: 3} } } }, s7: { line: { normal: { color: legend_color[6], width: 3, over: over_img } }, tick: { style: 'square', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color: legend_color[6], width: 3} } } }, s8: { line: { normal: { color: legend_color[6], width: 3, over: over_img } }, tick: { style: 'square', size: 5, overSize: 1.5, area: { normal: {color: '#fff', over: {color: '#fff'}} }, line: { normal: {color: legend_color[6], width: 3} } } } } } }; var data_78 = data; var style_78 = style; var series_78 = series; if(color_style_78 == undefined){ var color_style_78 = []; } if(slider_78 == undefined ){ var slider_78 =true; } if (chart_type_78 == "pie") { chart_78 = webponent.visual.pie.init(jQuery('#webponent_chart_78'), style_78, data_78); jQuery("#chart_controller").remove(); } else if (chart_type_78 == "tree") { chart_78 = webponent.visual.treemap.init(jQuery('#webponent_chart_78'), style_78, data_78); jQuery("#chart_controller").remove(); } else if (chart_type_78 == "horizon") { chart_78 = webponent.visual.horizon.init(jQuery('#webponent_chart_78'), style_78, data_78); jQuery("#chart_controller").remove(); } else if (chart_type_78 == "scatter") { chart_78 = webponent.visual.scatterPlot.init(jQuery('#webponent_chart_78'), style_78, data_78); jQuery("#chart_controller").remove(); } else { if(chart_type_78 != "hloc"){ var count =0; jQuery.each(series_78.main, function (index, value) { if (index != "type") { if(chart_type_78 == "line"){ legend_count = count %5; jQuery("#chart_legends_78").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'
  • '); }else if(chart_type_78 =="multi_series"){ if(value.series=="line"){ legend_count = count %5; jQuery("#chart_legends_78").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +''); }else{ jQuery("#chart_legends_78").append('
  • ' + value.yaxis + '
  • '); } }else{ if(color_style_78.length){ jQuery("#chart_legends_78").append('
  • ' + value.yaxis + '
  • '); }else{ jQuery("#chart_legends_78").append('
  • ' + value.yaxis + '
  • '); } } } count++; }); } chart_78= webponent.chart.init(jQuery('#webponent_chart_78'), data_78, style_78, series_78); if(slider_78){ if(chart_type_78=="line"||chart_type_78=="column"){ var tmp_x=[]; jQuery("#slider_div_78").attr("style",""); jQuery.each(data_78.data.data,function (index,value){ tmp_x.push(value[Object.keys(value)[0]]); }); jQuery("#slider-range_78").slider({ range: true, min: 0, max: tmp_x.length-1, values: [ 0, tmp_x.length-1 ], slide: function( event, ui ) { jQuery( "#slider-text_78" ).text( "범위 : " + tmp_x[ui.values[ 0 ]] + " - " + tmp_x[ui.values[ 1 ]] ); var tmp_data = JSON.parse(JSON.stringify(data_78)); //object 참조 복사 회피 tmp_data.data.data = tmp_data.data.data.splice(ui.values[ 0 ],ui.values[ 1 ]+1-ui.values[0]); chart_78.inquery( tmp_data,style_78, series_78); } }); jQuery("#slider-text_78").text( "범위 : "+tmp_x[0] + " - " + tmp_x[tmp_x.length-1]); } } } })
  • 지수명 2019년 2020년 2021년 2022년 2023년
    var table_64= jQuery("#grid_table_64"); var tmp_template_64 = jQuery("#grid_template_64").html(); if(tmp_template_64.split("/*").length>1){ tmp_template_64 =tmp_template_64.substring(13,tmp_template_64.length-7); } jQuery("#grid_template_64").html(tmp_template_64); var template_64 =jQuery("#grid_template_64"); var data_64 =[{"s0":"IT SW\/서비스","s1":"1,544","s2":"2,062","s3":"3,338","s4":"1,495","s5":"1,597"},{"s0":"-인터넷","s1":"14,813","s2":"19,154","s3":"17,956","s4":"10,371","s5":"13,442"},{"s0":"-디지털컨텐츠","s1":"881","s2":"1,182","s3":"3,338","s4":"984","s5":"855"},{"s0":"-소프트웨어","s1":"215","s2":"302","s3":"374","s4":"192","s5":"245"},{"s0":"-컴퓨터 서비스","s1":"266","s2":"289","s3":"290","s4":"201","s5":"208"},{"s0":"IT HW","s1":"457","s2":"642","s3":"770","s4":"482","s5":"664"},{"s0":"-통신장비","s1":"191","s2":"268","s3":"223","s4":"137","s5":"111"},{"s0":"-정보기기","s1":"14","s2":"17","s3":"16","s4":"10","s5":"11"},{"s0":"-반도체","s1":"1,119","s2":"1,710","s3":"2,063","s4":"1,213","s5":"1,899"},{"s0":"-IT부품","s1":"788","s2":"973","s3":"1,379","s4":"949","s5":"1,163"},{"s0":"통신방송서비스","s1":"708","s2":"843","s3":"938","s4":"709","s5":"621"},{"s0":"제조","s1":"2,212","s2":"3,114","s3":"3,130","s4":"2,286","s5":"2,885"},{"s0":"건설","s1":"76","s2":"87","s3":"99","s4":"70","s5":"69"},{"s0":"유통","s1":"389","s2":"782","s3":"549","s4":"409","s5":"444"},{"s0":"운송","s1":"3,213","s2":"3,703","s3":"5,741","s4":"7,842","s5":"2,849"},{"s0":"금융","s1":"621","s2":"887","s3":"1,017","s4":"692","s5":"1,725"},{"s0":"KRX100","s1":"4,750","s2":"6,224","s3":"6,208","s4":"4,521","s5":"5,562"},{"s0":"코스피","s1":"2,198","s2":"2,873","s3":"2,978","s4":"2,236","s5":"2,655"},{"s0":"코스피200","s1":"294","s2":"389","s3":"394","s4":"291","s5":"358"},{"s0":"코스닥","s1":"670","s2":"968","s3":"1,034","s4":"679","s5":"867"},{"s0":"코스닥150","s1":"1,030","s2":"1,533","s3":"1,524","s4":"958","s5":"1,393"}]; var grid_64; jQuery(document).ready(function () { jQuery.each(data_64 , 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_64 = webponent.grid.init(table_64,template_64, {sortable:grid_sortable}); var collapseKeys_64 = Object.keys(data_64[0]); grid_64.event.on('dataRendered', function () { var dataList = grid_64.data; var renderingStartRowIndex = grid_64.settings.defferedRendering.renderingStartRowIndex; var renderingEndRowIndex = grid_64.settings.defferedRendering.renderingEndRowIndex; if (renderingStartRowIndex === null) { renderingStartRowIndex = 0; } if (renderingEndRowIndex === null) { renderingEndRowIndex = grid_64.data.length; } else { renderingEndRowIndex ++; } var prevTdMap = {}; var prevDataMap = {}; var prevRowspanMap = {}; for (var i = renderingStartRowIndex; i < renderingEndRowIndex; i ++) { var data = dataList[i]; _.each(collapseKeys_64 , function (collapseKey) { var row = jQuery(grid_64.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_64.appendRow(data_64); grid_64.setGridHeight(0); //var header_caption_64 = grid_64.markup.main.header.table.createCaption(); //header_caption_64.innerHTML = "SW산업 주가지수 추이"; //header_caption_64.className += " blind"; var header_td_64 = grid_64.markup.main.header.table; //console.log($(header_td_64).html()); $(header_td_64).find('.CI-GRID-SORTER').attr('title', '이 컬럼을 소트하려면 클릭 또는 엔터키를 눌러 주세요.\(쉬프트키를 누르면서 클릭 또는 엔터키를 눌러 주시면 멀티소팅이 됩니다.\) '); $('.CI-GRID-FOCUS-ESCAPER').remove(); });
    • 자료) 한국거래소 KRX Indices(2024.4)
      • 주1)각 년도 말일 기준 주가지수 기준
      • 주2)코스닥 산업별 지수 기준시점은 1996. 7. 1, 기준지수 1,000으로 시작(단, 운송은 2000. 6. 4. 기준)
      • 주3) 코스닥 IT SW/서비스 주가지수는 총 203개 기업(2023년 12월말 기준)으로 구성되어 있으며 시가총액기준 대표기업은 펄어비스, 루닛, 카카오게임즈, 위메이드, 넥슨게임즈 등의 순임