-
I have intraday data (within a day), is it possible to display time on the time scale? |
Beta Was this translation helpful? Give feedback.
Answered by
timocov
Dec 11, 2020
Replies: 1 comment 7 replies
-
Yes, it's possible. Firstly, you need to be sure, that you provide proper Secondly, you need to set up time scale to show time part of the dates. It could be done via providing a proper options:
See intraday data example https://jsfiddle.net/TradingView/bmL0vont/. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
timocov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it's possible.
Firstly, you need to be sure, that you provide proper
time
value for every data item - it should be unix timestamp (number).Secondly, you need to set up time scale to show time part of the dates. It could be done via providing a proper options:
timeVisible
totrue
if you'd like to display time (hours and minutes) on time scalesecondsVisible
totrue
if you'd like to display seconds along with hours and minutes (note that it won't affect anything iftimeVisible
is disabled)See intraday data example https://jsfiddle.net/TradingView/bmL0vont/.