fixed: crosshair time now uses timezone config
This commit is contained in:
@ -86,7 +86,7 @@ constructor() {
|
|||||||
borderColor: '#363d4e',
|
borderColor: '#363d4e',
|
||||||
autoScale: true,
|
autoScale: true,
|
||||||
},
|
},
|
||||||
timeScale: {
|
timeScale: {
|
||||||
borderColor: '#363d4e',
|
borderColor: '#363d4e',
|
||||||
timeVisible: true,
|
timeVisible: true,
|
||||||
secondsVisible: false,
|
secondsVisible: false,
|
||||||
@ -96,6 +96,11 @@ timeScale: {
|
|||||||
return TimezoneConfig.formatTickMark(time);
|
return TimezoneConfig.formatTickMark(time);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
localization: {
|
||||||
|
timeFormatter: (timestamp) => {
|
||||||
|
return TimezoneConfig.formatTickMark(timestamp);
|
||||||
|
},
|
||||||
|
},
|
||||||
handleScroll: {
|
handleScroll: {
|
||||||
vertTouchDrag: false,
|
vertTouchDrag: false,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user