floating space apeearing

This commit is contained in:
Luis Fernando Molina committed 2019-05-10 11:32:44 +02:00
1 parent c367bb4985
commit 6fde43db50
5 files changed
+76 -28

No files matched your search

+4 -1
View File
@@ -299,6 +299,9 @@
fromPoint = transformThisPoint(fromPoint, thisObject.container)
toPoint = transformThisPoint(toPoint, thisObject.container)
fromPoint = canvas.chartSpace.fitIntoVisibleArea(fromPoint)
toPoint = canvas.chartSpace.fitIntoVisibleArea(toPoint)
browserCanvasContext.beginPath()
browserCanvasContext.rect(fromPoint.x, fromPoint.y, toPoint.x - fromPoint.x, toPoint.y - fromPoint.y)
@@ -338,7 +341,7 @@
let imageWidth = 150
let MAX_COLUMNS = 16
let MAX_ROWS = 7
let MAX_ROWS = 5
let Y_TOP_MARGIN = 30
let point1 = {