Explorar o código

成交量堆叠,单独计算。

skyffire hai 1 ano
pai
achega
2a23e4b562
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {