영국 SW산업 매출현황
(단위 : 억 파운드)
var chart_83;
var chart_type_83 = "column";
jQuery(document).ready(function () {
{"data":{"data":[{"구분":"2018년","SW산업":"1297"},{"구분":"2019년","SW산업":"1356"},{"구분":"2020년","SW산업":"1464"},{"구분":"2021년","SW산업":"1634"},{"구분":"2022년","SW산업":"1929"}]},"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": "#ffffff",
"width": 1
}
},
"graph": {
"color": "#ffffff",
"line": {
"top": {
"color": "#cccccc"
},
"left": {
"width": 0
},
"right": {
"width": 0
},
"bottom": {
"color": "#cccccc"
}
}
},
"layout": {
"color": layout_color
},
"yAxis": {
"text": {
"align": "right"
}
},
"series": {
"s1": {
"area": {
"normal": {
"color":{src:'/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/pattern04.png'},
"over": {
"color": {
"src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png"
}
}
}
}
},
"s2": {
"area": {
"normal": {
"color": [
[
0,
"#ff852c"
],
[
100,
"#fca86b"
]
],
"over": {
"color": {
"src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png"
}
}
}
}
},
"s3": {
"area": {
"normal": {
"color": [
[
0,
"#ffbb16"
],
[
100,
"#fcca50"
]
],
"over": {
"color": {
"src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png"
}
}
}
}
},
"s4": {
"area": {
"normal": {
"color": [
[
0,
"#d6de1d"
],
[
100,
"#e7ed5b"
]
],
"over": {
"color": {
"src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png"
}
}
}
}
},
"s5": {
"area": {
"normal": {
"color": [
[
0,
"#2bcdba"
],
[
100,
"#63e8d8"
]
],
"over": {
"color": {
"src": "/lib/webponent/chart/webPonent-Chart-2.0.6/chart/sample/chart/img/over.png"
}
}
}
}
}
}
}
};
var data_83 = data;
var style_83 = style;
var series_83 = series;
if(color_style_83 == undefined){
var color_style_83 = [];
}
if(slider_83 == undefined ){
var slider_83 =true;
}
if (chart_type_83 == "pie") {
chart_83 = webponent.visual.pie.init(jQuery('#webponent_chart_83'), style_83, data_83);
jQuery("#chart_controller").remove();
} else if (chart_type_83 == "tree") {
chart_83 = webponent.visual.treemap.init(jQuery('#webponent_chart_83'), style_83, data_83);
jQuery("#chart_controller").remove();
} else if (chart_type_83 == "horizon") {
chart_83 = webponent.visual.horizon.init(jQuery('#webponent_chart_83'), style_83, data_83);
jQuery("#chart_controller").remove();
} else if (chart_type_83 == "scatter") {
chart_83 = webponent.visual.scatterPlot.init(jQuery('#webponent_chart_83'), style_83, data_83);
jQuery("#chart_controller").remove();
} else {
if(chart_type_83 != "hloc"){
var count =0;
jQuery.each(series_83.main, function (index, value) {
if (index != "type") {
if(chart_type_83 == "line"){
legend_count = count %5;
jQuery("#chart_legends_83").append(legend_style[legend_count][0]+legend_color[count] +legend_style[legend_count][1]+ value.yaxis +'