|
|
@ -666,8 +666,8 @@ const DashboardBOD = () => { |
|
|
|
label: "", |
|
|
|
label: "", |
|
|
|
// data: [50, 120, 72, 60],
|
|
|
|
// data: [50, 120, 72, 60],
|
|
|
|
data: PROJECT_VALUE_PER_DIVISION ? PROJECT_VALUE_PER_DIVISION.map((item, idx) => item.total).filter(value => value !== 0) : [], |
|
|
|
data: PROJECT_VALUE_PER_DIVISION ? PROJECT_VALUE_PER_DIVISION.map((item, idx) => item.total).filter(value => value !== 0) : [], |
|
|
|
borderColor: ["#023E8A", "#C851B7", "#FD7034", "#3A0CA3", "#A36A16"], |
|
|
|
borderColor: PROJECT_VALUE_PER_DIVISION ? PROJECT_VALUE_PER_DIVISION.map((item, idx) => item.color) : [], |
|
|
|
backgroundColor: ["#023E8A", "#C851B7", "#FD7034", "#3A0CA3", "#A36A16"], |
|
|
|
backgroundColor: PROJECT_VALUE_PER_DIVISION ? PROJECT_VALUE_PER_DIVISION.map((item, idx) => item.color) : [], |
|
|
|
borderWidth: 2, |
|
|
|
borderWidth: 2, |
|
|
|
borderSkipped: false |
|
|
|
borderSkipped: false |
|
|
|
}, |
|
|
|
}, |
|
|
|