주요국 CMMI 인증현황
(단위 : 건)
var chart_57;
var chart_type_57 = "column";
jQuery(document).ready(function () {
{"data":{"data":[{"국가":"중국","합계":"11099"},{"국가":"미국","합계":"1318"},{"국가":"인도","합계":"661"},{"국가":"스페인","합계":"75"},{"국가":"멕시코","합계":"66"},{"국가":"콜롬비아","합계":"55"},{"국가":"한국","합계":"48"},{"국가":"브라질","합계":"35"},{"국가":"태국","합계":"32"},{"국가":"튀르키예","합계":"29"},{"국가":"일본","합계":"25"},{"국가":"베트남","합계":"23"},{"국가":"포르투갈","합계":"18"},{"국가":"이집트","합계":"16"},{"국가":"말레이시아","합계":"12"},{"국가":"방글라데시","합계":"11"},{"국가":"페루","합계":"11"},{"국가":"칠레","합계":"9"},{"국가":"파키스탄","합계":"8"},{"국가":"이탈리아","합계":"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.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_57 = data;
var style_57 = style;
var series_57 = series;
if(color_style_57 == undefined){
var color_style_57 = [];
}
if(slider_57 == undefined ){
var slider_57 =true;
}
if (chart_type_57 == "pie") {
chart_57 = webponent.visual.pie.init(jQuery('#webponent_chart_57'), style_57, data_57);
jQuery("#chart_controller").remove();
} else if (chart_type_57 == "tree") {
chart_57 = webponent.visual.treemap.init(jQuery('#webponent_chart_57'), style_57, data_57);
jQuery("#chart_controller").remove();
} else if (chart_type_57 == "horizon") {
chart_57 = webponent.visual.horizon.init(jQuery('#webponent_chart_57'), style_57, data_57);
jQuery("#chart_controller").remove();
} else if (chart_type_57 == "scatter") {
chart_57 = webponent.visual.scatterPlot.init(jQuery('#webponent_chart_57'), style_57, data_57);
jQuery("#chart_controller").remove();
} else {
if(chart_type_57 != "hloc"){
var count =0;
jQuery.each(series_57.main, function (index, value) {
if (index != "type") {
if(chart_type_57 == "line"){
legend_count = count %5;
jQuery("#chart_legends_57").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'');
}else if(chart_type_57 =="multi_series"){
if(value.series=="line"){
legend_count = count %5;
jQuery("#chart_legends_57").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'');
}else{
jQuery("#chart_legends_57").append('
' + value.yaxis + '');
}
}else{
if(color_style_57.length){
jQuery("#chart_legends_57").append('
' + value.yaxis + '');
}else{
jQuery("#chart_legends_57").append('
' + value.yaxis + '');
}
}
}
count++;
});
}
chart_57= webponent.chart.init(jQuery('#webponent_chart_57'), data_57, style_57, series_57);
if(slider_57){
if(chart_type_57=="line"||chart_type_57=="column"){
var tmp_x=[];
jQuery("#slider_div_57").attr("style","");
jQuery.each(data_57.data.data,function (index,value){
tmp_x.push(value[Object.keys(value)[0]]);
});
jQuery("#slider-range_57").slider({
range: true,
min: 0,
max: tmp_x.length-1,
values: [ 0, tmp_x.length-1 ],
slide: function( event, ui ) {
jQuery( "#slider-text_57" ).text( "범위 : " + tmp_x[ui.values[ 0 ]] + " - " + tmp_x[ui.values[ 1 ]] );
var tmp_data = JSON.parse(JSON.stringify(data_57)); //object 참조 복사 회피
tmp_data.data.data = tmp_data.data.data.splice(ui.values[ 0 ],ui.values[ 1 ]+1-ui.values[0]);
chart_57.inquery( tmp_data,style_57, series_57);
}
});
jQuery("#slider-text_57").text( "범위 : "+tmp_x[0] + " - " + tmp_x[tmp_x.length-1]);
}
}
}
})