Selaa lähdekoodia

成交量堆叠,单独计算。

skyffire 1 vuosi sitten
vanhempi
commit
2a23e4b562
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/index.js

+ 1 - 1
src/index.js

@@ -1005,7 +1005,7 @@ export default class StockHeatmap extends React.Component {
       // move position only if within valid range
       this.windowedData = this.data.slice(position, position + this.windowLength + 1);
 
-      if (this.windowedData.length > 200) {
+      if (this.windowedData.length > 1000) {
         this.windowedData = this.mergeWindowedData();
         this.isMerged = true;
       } else {