Bug fixed !!! Plotters not plotting at the right place
This commit is contained in:
1 parent
e5fdd5a028
commit
e755819ab6
3 files changed
+6
-7
No files matched your search
+1
-1
@@ -101,7 +101,7 @@ const SUPPORTED_MARKETS = [
|
||||
assetB: "BTC",
|
||||
}
|
||||
];
|
||||
const DEFAULT_EXCHANGE = "Poloniex";
|
||||
const DEFAULT_EXCHANGE = "Coss";
|
||||
const DEFAULT_MARKET = {
|
||||
assetA: "USDT",
|
||||
assetB: "BTC",
|
||||
|
||||
+3
-4
@@ -73,7 +73,7 @@ function newTimeMachine () {
|
||||
timelineChart.container.frame.height = thisObject.container.frame.height * 1 * canvas.bottomSpace.chartAspectRatio.aspectRatio.y
|
||||
|
||||
timelineChart.container.frame.position.x = thisObject.container.frame.width / 2 - timelineChart.container.frame.width / 2
|
||||
timelineChart.container.frame.position.y = timelineChart.container.frame.height * 1.5 * position
|
||||
timelineChart.container.frame.position.y = timelineChart.container.frame.height * 1.1 * position
|
||||
|
||||
position++
|
||||
|
||||
@@ -132,7 +132,7 @@ function newTimeMachine () {
|
||||
timelineChart.container.frame.height = thisObject.container.frame.height * 1 * canvas.bottomSpace.chartAspectRatio.aspectRatio.y
|
||||
|
||||
timelineChart.container.frame.position.x = thisObject.container.frame.width / 2 - timelineChart.container.frame.width / 2
|
||||
timelineChart.container.frame.position.y = timelineChart.container.frame.height * 1.5 * position
|
||||
timelineChart.container.frame.position.y = timelineChart.container.frame.height * 1.1 * position
|
||||
|
||||
position++
|
||||
|
||||
@@ -147,8 +147,7 @@ function newTimeMachine () {
|
||||
timelineChart.container.eventHandler.listenToEvent('Datetime Changed', controlPanel.setDatetime)
|
||||
|
||||
alreadyInitialized++
|
||||
console.log('alreadyInitialized ' + alreadyInitialized)
|
||||
console.log('leftToInitialize ' + leftToInitialize)
|
||||
|
||||
if (alreadyInitialized === leftToInitialize) {
|
||||
callBackFunction(GLOBAL.DEFAULT_OK_RESPONSE)
|
||||
}
|
||||
|
||||
+2
-2
@@ -138,8 +138,8 @@
|
||||
plotterManager.container.frame.width = thisObject.container.frame.width
|
||||
plotterManager.container.frame.height = thisObject.container.frame.height
|
||||
|
||||
plotterManager.container.frame.position.x = thisObject.container.frame.position.x
|
||||
plotterManager.container.frame.position.y = thisObject.container.frame.position.y
|
||||
plotterManager.container.frame.position.x = 0
|
||||
plotterManager.container.frame.position.y = 0
|
||||
|
||||
plotterManager.initialize(productsPanel, pExchange, pMarket, onPlotterManagerReady)
|
||||
|
||||
|
||||
Reference in new issue
Block a user