diff --git a/ChartsSpace/PlottersManager.js b/ChartsSpace/PlottersManager.js index a221e16eb..5c4e5d387 100644 --- a/ChartsSpace/PlottersManager.js +++ b/ChartsSpace/PlottersManager.js @@ -318,13 +318,11 @@ function newPlottersManager () { function setTimeFrame (pTimeFrame) { timeFrame = pTimeFrame - if (initializationReady === true) { - for (let i = 0; i < productPlotters.length; i++) { - let productPlotter = productPlotters[i] - productPlotter.productCard.setTimeFrame(timeFrame) - productPlotter.storage.setTimeFrame(timeFrame) - productPlotter.plotter.setTimeFrame(timeFrame) - } + for (let i = 0; i < productPlotters.length; i++) { + let productPlotter = productPlotters[i] + productPlotter.productCard.setTimeFrame(timeFrame) + productPlotter.storage.setTimeFrame(timeFrame) + productPlotter.plotter.setTimeFrame(timeFrame) } } diff --git a/Scales/TimeScale.js b/Scales/TimeScale.js index 30713d73c..9bd8a5372 100644 --- a/Scales/TimeScale.js +++ b/Scales/TimeScale.js @@ -17,7 +17,7 @@ function newTimeScale () { } const LENGHT_PERCENTAGE_DEFAULT_VALUE = 5 - const STEP_SIZE = 1 + const STEP_SIZE = 2.5 thisObject.container = newContainer() thisObject.container.initialize(MODULE_NAME)