var option ={};
var datas ={
labels: ['熱處理', '基磨', '成磨', 'QA成品'],
datasets: [{
label: '使用次數',
data: [65, 60, 70, 74],
fill: false,
backgroundColor:[
'rgba(54, 162, 235, 1)'
],
borderColor: [
'rgba(54, 162, 235, 1)'
],
borderWidth: 1,
}],
};
function Line_Status_1() {
var ctr = $('#Line__canvaas_1');
var line = new Chart(ctr, {
type: 'line',
data: datas,
options:option
});
}
var datas ={
labels: ['熱處理', '基磨', '成磨', 'QA成品'],
datasets:
[
{
label: '使用次數',
data: [65, 60, 70, 74],
fill: false,
backgroundColor:[
'rgba(54, 162, 235, 1)'
],
borderColor: [
'rgba(54, 162, 235, 1)'
],
borderWidth: 1,
},
{
label:'停機次數',
data: [45, 36, 31,40],
}
],
};