var labels = ['FY12/23 1Q', 'FY12/23 2Q', 'FY12/23 3Q', 'FY12/23 4Q', 'FY12/24 1Q', 'FY12/24 2Q'];
var ctx = document.getElementById('t1').getContext('2d');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: labels,
datasets: [{
label: 'Sales',
position: 'bottom',
data: [211.16, 218.09, 178.41, 174.28, 139.20, 170.66],
backgroundColor: [
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
],
borderColor: [
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
],
borderWidth: 1
}]
},
options: {
legend: {
display: true,
position: 'bottom',
},
title: {
display: false,
text: ''
},
scales: {
xAxes: [{
barPercentage: 0.6,
gridLines: { // 補助線
display: false,
},
ticks: {
beginAtZero: true
}
}],
yAxes: [{
scaleLabel: { // 軸ラベル
/* display: true, // 表示設定
labelString: '億円', // ラベル
fontColor: "rgba(17, 17, 17, 1)", // 文字の色
fontSize: 14 // フォントサイズ */
},
gridLines: { // 補助線
display: true,
color: "rgba(221, 221, 221, 1)", // 補助線の色
},
ticks: {
max: 280,
min: 0,
stepSize: 100
}
}]
}
}
});
var ctx = document.getElementById('t2').getContext('2d');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: labels,
datasets: [{
label: 'Operating Income',
position: 'bottom',
data: [41.06, 32.73, 22.78, 6.92, 7.75, 7.73],
backgroundColor: [
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
],
borderColor: [
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
],
borderWidth: 1
}]
},
options: {
legend: {
display: true,
position: 'bottom',
},
title: {
display: false,
text: ''
},
scales: {
xAxes: [{
barPercentage: 0.6,
gridLines: { // 補助線
display: false,
},
ticks: {
beginAtZero: true
}
}],
yAxes: [{
scaleLabel: { // 軸ラベル
/* display: true, // 表示設定
labelString: '億円', // ラベル
fontColor: "rgba(17, 17, 17, 1)", // 文字の色
fontSize: 14 // フォントサイズ */
},
gridLines: { // 補助線
display: true,
color: "rgba(221, 221, 221, 1)", // 補助線の色
},
ticks: {
max: 50,
min: 0,
stepSize: 20
}
}]
}
}
});
var ctx = document.getElementById('t3').getContext('2d');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: labels,
datasets: [{
label: 'Ordinary Income',
position: 'bottom',
data: [43.24, 32.89, 24.60, 8.85, 9.99, 10.09],
backgroundColor: [
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
],
borderColor: [
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
],
borderWidth: 1
}]
},
options: {
legend: {
display: true,
position: 'bottom',
},
title: {
display: false,
text: ''
},
scales: {
xAxes: [{
barPercentage: 0.6,
gridLines: { // 補助線
display: false,
},
ticks: {
beginAtZero: true
}
}],
yAxes: [{
scaleLabel: { // 軸ラベル
/* display: true, // 表示設定
labelString: '億円', // ラベル
fontColor: "rgba(17, 17, 17, 1)", // 文字の色
fontSize: 14 // フォントサイズ */
},
gridLines: { // 補助線
display: true,
color: "rgba(221, 221, 221, 1)", // 補助線の色
},
ticks: {
max: 60,
min: 0,
stepSize: 20
}
}]
}
}
});
var ctx = document.getElementById('t4').getContext('2d');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: labels,
datasets: [{
label: 'Net Income Attributable to Owners of the Parent',
position: 'bottom',
data: [31.74, 20.64, 18.26, 11.10, 6.26, -0.41],
backgroundColor: [
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
'rgba(23, 83, 131, 0.9)',
],
borderColor: [
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
'rgba(23, 83, 131, 1)',
],
borderWidth: 1
}]
},
options: {
legend: {
display: true,
position: 'bottom',
},
title: {
display: false,
text: ''
},
scales: {
xAxes: [{
barPercentage: 0.6,
gridLines: { // 補助線
display: false,
},
ticks: {
beginAtZero: true
}
}],
yAxes: [{
scaleLabel: { // 軸ラベル
/* display: true, // 表示設定
labelString: '億円', // ラベル
fontColor: "rgba(17, 17, 17, 1)", // 文字の色
fontSize: 14 // フォントサイズ */
},
gridLines: { // 補助線
display: true,
color: "rgba(221, 221, 221, 1)", // 補助線の色
},
ticks: {
max: 40,
min: -10,
stepSize: 20
}
}]
}
}
});