DESKTOP-FUDKNA8\znjsz 6 ay önce
ebeveyn
işleme
8cf50b9cb9
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -2
      src/components/Chart/yieldOption.js

+ 3
- 2
src/components/Chart/yieldOption.js Dosyayı Görüntüle

@@ -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 {


Yükleniyor…
İptal
Kaydet