Techan.js - How to format time for weekly, monthly candlestick chart?

1.1k views Asked by At

Following the techanJS example I was able to create candlestick charts with day data. But documentation does not shows how to format date for weekly, monthly and yearly candlestick or ohlc charts.

How to create weekly, monthly or yearly candlestick, ohlc chart with with techan JS?

1

There are 1 answers

0
Sisir On BEST ANSWER

Ended up using the following format.

  1. For week candlestick use week start day as candlestick date.
  2. For month candlestick use first day of the month as candlestick date and so on..