1
This commit is contained in:
父節點
fe7b34615a
當前提交
8cf50b9cb9
@ -84,8 +84,9 @@ const dataSerie = {
|
||||
};
|
||||
|
||||
export default (data) => {
|
||||
title.text =
|
||||
(100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
|
||||
// title.text =
|
||||
// (100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
|
||||
title.text = (data.nowProduction || 0) + '片';
|
||||
dataSerie.data[0].value = data.nowProduction;
|
||||
dataSerie.data[1].value = data.targetProduction - data.nowProduction;
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user