Explorar el Código

成交量堆叠,单独计算。

skyffire hace 1 año
padre
commit
2a23e4b562
Se han modificado 1 ficheros con 1 adiciones y 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 {