Compare commits

..

No commits in common. "c2e901e4bc8e19ef20e3110e3e063e1056d3b572" and "04e98ab1db4f2a14d9278326fd1062f5557ce1ce" have entirely different histories.

View File

@ -84,9 +84,8 @@ const dataSerie = {
};
export default (data) => {
// title.text =
// (100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
title.text = (data.nowProduction || 0) + '片';
title.text =
(100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
dataSerie.data[0].value = data.nowProduction;
dataSerie.data[1].value = data.targetProduction - data.nowProduction;
return {