2-3-1-8 개발언어별 SW전문 인력
(단위 : 천 명)
var chart_99;
var chart_type_99 = "stack_column";
jQuery(document).ready(function () {
{"data":{"data":[{"구분":"2019년","C\/C++":"99.8","C#":"52.0","Java":"134.2","Java Script":"83.2","PHP":"22.8","HTML5":"17.5","Object-C":"21.4","Visual 계열":"7.9","파이썬":"12.6","기타":"10.3"},{"구분":"2020년","C\/C++":"102.2","C#":"56.3","Java":"123.6","Java Script":"78.5","PHP":"20.5","HTML5":"14.8","Object-C":"17.9","Visual 계열":"5.9","파이썬":"10.2","기타":"7.3"},{"구분":"2021년","C\/C++":"118.1","C#":"64.3","Java":"137.5","Java Script":"89.3","PHP":"24.1","HTML5":"17.3","Object-C":"18.7","Visual 계열":"5.9","파이썬":"10.8","기타":"8.0"},{"구분":"2022년","C\/C++":"130.4","C#":"80.3","Java":"163.3","Java Script":"118.1","PHP":"39.1","HTML5":"32.5","Object-C":"26.5","Visual 계열":"14.4","파이썬":"16.8","기타":"18.2"},{"구분":"2023년","C\/C++":"163.5","C#":"110.3","Java":"204.8","Java Script":"145.5","PHP":"44.2","HTML5":"43.2","Object-C":"33.5","Visual 계열":"15.1","파이썬":"19.1","기타":"20.8"}]},"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.yaxisname) + ' / ' + 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"
}
}
}
}
},
"s9": {
"area": {
"normal": {
"color": "#296a73",
"over": {
"color": {
"src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png"
}
}
}
}
},
"s10": {
"area": {
"normal": {
"color": "#80bc71",
"over": {
"color": {
"src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png"
}
}
}
}
},
}
}
};
var data_99 = data;
var style_99 = style;
var series_99 = series;
if(color_style_99 == undefined){
var color_style_99 = [];
}
if(slider_99 == undefined ){
var slider_99 =true;
}
if (chart_type_99 == "pie") {
chart_99 = webponent.visual.pie.init(jQuery('#webponent_chart_99'), style_99, data_99);
jQuery("#chart_controller").remove();
} else if (chart_type_99 == "tree") {
chart_99 = webponent.visual.treemap.init(jQuery('#webponent_chart_99'), style_99, data_99);
jQuery("#chart_controller").remove();
} else if (chart_type_99 == "horizon") {
chart_99 = webponent.visual.horizon.init(jQuery('#webponent_chart_99'), style_99, data_99);
jQuery("#chart_controller").remove();
} else if (chart_type_99 == "scatter") {
chart_99 = webponent.visual.scatterPlot.init(jQuery('#webponent_chart_99'), style_99, data_99);
jQuery("#chart_controller").remove();
} else {
if(chart_type_99 != "hloc"){
var count =0;
jQuery.each(series_99.main, function (index, value) {
if (index != "type") {
if(chart_type_99 == "line"){
legend_count = count %5;
jQuery("#chart_legends_99").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'');
}else if(chart_type_99 =="multi_series"){
if(value.series=="line"){
legend_count = count %5;
jQuery("#chart_legends_99").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'');
}else{
jQuery("#chart_legends_99").append('
' + value.yaxis + '');
}
}else{
if(color_style_99.length){
jQuery("#chart_legends_99").append('
' + value.yaxis + '');
}else{
jQuery("#chart_legends_99").append('
' + value.yaxis + '');
}
}
}
count++;
});
}
chart_99= webponent.chart.init(jQuery('#webponent_chart_99'), data_99, style_99, series_99);
if(slider_99){
if(chart_type_99=="line"||chart_type_99=="column"){
var tmp_x=[];
jQuery("#slider_div_99").attr("style","");
jQuery.each(data_99.data.data,function (index,value){
tmp_x.push(value[Object.keys(value)[0]]);
});
jQuery("#slider-range_99").slider({
range: true,
min: 0,
max: tmp_x.length-1,
values: [ 0, tmp_x.length-1 ],
slide: function( event, ui ) {
jQuery( "#slider-text_99" ).text( "범위 : " + tmp_x[ui.values[ 0 ]] + " - " + tmp_x[ui.values[ 1 ]] );
var tmp_data = JSON.parse(JSON.stringify(data_99)); //object 참조 복사 회피
tmp_data.data.data = tmp_data.data.data.splice(ui.values[ 0 ],ui.values[ 1 ]+1-ui.values[0]);
chart_99.inquery( tmp_data,style_99, series_99);
}
});
jQuery("#slider-text_99").text( "범위 : "+tmp_x[0] + " - " + tmp_x[tmp_x.length-1]);
}
}
}
})