tyding
This commit is contained in:
1 parent
09309d6e9c
commit
54828c0c90
2 files changed
+2
-6
No files matched your search
@@ -303,11 +303,7 @@ function newTimelineChart () {
|
||||
}
|
||||
|
||||
center = unTransformThisPoint(center, thisObject.container)
|
||||
if (thisObject.rateScale === undefined) {
|
||||
center = timeMachineCoordinateSystem.unInverseTransform(center, thisObject.container.frame.height)
|
||||
} else {
|
||||
center = timelineChartCoordinateSystem.unInverseTransform(center, thisObject.container.frame.height)
|
||||
}
|
||||
center = coordinateSystem.unInverseTransform(center, thisObject.container.frame.height)
|
||||
|
||||
let newDate = new Date(center.x)
|
||||
|
||||
|
||||
+1
-1
@@ -117,7 +117,7 @@ const DEFAULT_CONFIG_TEXT = '// Write your config here'
|
||||
const DEFAULT_FORMULA_TEXT = '// Write your formula here'
|
||||
const DEFAULT_CODE_TEXT = '// Write your code here'
|
||||
|
||||
const MAX_DEFAULT_RATE_SCALE_VALUE = 19900; // This is needed to know the scale of the market time line.
|
||||
const MAX_DEFAULT_RATE_SCALE_VALUE = 35000; // This is needed to know the scale of the market time line.
|
||||
|
||||
const WIDHTER_VOLUME_BAR_BASE_FACTOR = 2.5;
|
||||
const LESS_WIDHTER_VOLUME_BAR_TOP_FACTOR = 1 / 4;
|
||||
|
||||
Reference in new issue
Block a user