tradingview / LightweightChartsIOS

Apache License 2.0
144 stars 48 forks source link

Timeframes supported #43

Closed kittisak-phetrungnapha closed 2 years ago

kittisak-phetrungnapha commented 2 years ago

I have looked into the example code and noticed that it requires the input parameter as string in yyyy-MM-dd format only. The value is being used to render axis X (time axis). So, how to display chart in other timeframes rather than day? Which parameters and formats should I send to the library? Thank you.

makedonsky94 commented 2 years ago

Hi! To send intraday values you can use timestamp. Here the example