신SW 사업 분야별∙학력별 인력
(단위 : 천명, %)
var chart_159;
var chart_type_159 = "stack_column";
jQuery(document).ready(function () {
{"data":{"data":[{"구분":"클라우드","고졸\/전문학사":"0.7","학사":"11.6","석사":"4.1","박사":"0.9"},{"구분":"빅데이터","고졸\/전문학사":"0.4","학사":"5.8","석사":"1.9","박사":"0.5"},{"구분":"IoT","고졸\/전문학사":"0.3","학사":"6.3","석사":"1.9","박사":"0.6"},{"구분":"AI","고졸\/전문학사":"0.8","학사":"6.5","석사":"2.4","박사":"0.9"},{"구분":"VR\/AR\/MR","고졸\/전문학사":"0.1","학사":"3.3","석사":"0.8","박사":"0.2"},{"구분":"블록체인","고졸\/전문학사":"0.2","학사":"1.9","석사":"0.6","박사":"0.2"}]},"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).format().trim()+'
'; 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: layout_color,
line: {color: '#eaeaea', width: 1}
},
graph: {
color: '#f8f8f8',
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'}
},
tip: {
className: 'tip'
},
series: {
s1: {
area: {
normal: {
color: {src:pattern_style[0]},
over: over_img
}
}
},
s2: {
area: {
normal: {
color: {src:pattern_style[1]},
over: over_img
}
}
},
s3: {
area: {
normal: {
color: {src:pattern_style[2]},
over: over_img
}
}
},
s4: {
area: {
normal: {
color: {src:pattern_style[3]},
over: over_img
}
}
},
s5: {
area: {
normal: {
color: {src:pattern_style[4]},
over: over_img
}
}
}
}
}
};
var data_159 = data;
var style_159 = style;
var series_159 = series;
if(color_style_159 == undefined){
var color_style_159 = [];
}
if(slider_159 == undefined ){
var slider_159 =true;
}
if (chart_type_159 == "pie") {
chart_159 = webponent.visual.pie.init(jQuery('#webponent_chart_159'), style_159, data_159);
jQuery("#chart_controller").remove();
} else if (chart_type_159 == "tree") {
chart_159 = webponent.visual.treemap.init(jQuery('#webponent_chart_159'), style_159, data_159);
jQuery("#chart_controller").remove();
} else if (chart_type_159 == "horizon") {
chart_159 = webponent.visual.horizon.init(jQuery('#webponent_chart_159'), style_159, data_159);
jQuery("#chart_controller").remove();
} else if (chart_type_159 == "scatter") {
chart_159 = webponent.visual.scatterPlot.init(jQuery('#webponent_chart_159'), style_159, data_159);
jQuery("#chart_controller").remove();
} else {
if(chart_type_159 != "hloc"){
var count =0;
jQuery.each(series_159.main, function (index, value) {
if (index != "type") {
if(chart_type_159 == "line"){
legend_count = count %5;
jQuery("#chart_legends_159").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'');
}else if(chart_type_159 =="multi_series"){
if(value.series=="line"){
legend_count = count %5;
jQuery("#chart_legends_159").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'');
}else{
jQuery("#chart_legends_159").append('
' + value.yaxis + '');
}
}else{
if(color_style_159.length){
jQuery("#chart_legends_159").append('
' + value.yaxis + '');
}else{
jQuery("#chart_legends_159").append('
' + value.yaxis + '');
}
}
}
count++;
});
}
chart_159= webponent.chart.init(jQuery('#webponent_chart_159'), data_159, style_159, series_159);
if(slider_159){
if(chart_type_159=="line"||chart_type_159=="column"){
var tmp_x=[];
jQuery("#slider_div_159").attr("style","");
jQuery.each(data_159.data.data,function (index,value){
tmp_x.push(value[Object.keys(value)[0]]);
});
jQuery("#slider-range_159").slider({
range: true,
min: 0,
max: tmp_x.length-1,
values: [ 0, tmp_x.length-1 ],
slide: function( event, ui ) {
jQuery( "#slider-text_159" ).text( "범위 : " + tmp_x[ui.values[ 0 ]] + " - " + tmp_x[ui.values[ 1 ]] );
var tmp_data = JSON.parse(JSON.stringify(data_159)); //object 참조 복사 회피
tmp_data.data.data = tmp_data.data.data.splice(ui.values[ 0 ],ui.values[ 1 ]+1-ui.values[0]);
chart_159.inquery( tmp_data,style_159, series_159);
}
});
jQuery("#slider-text_159").text( "범위 : "+tmp_x[0] + " - " + tmp_x[tmp_x.length-1]);
}
}
}
})