andredumas / techan.js

A visual, technical analysis and charting (Candlestick, OHLC, indicators) library built on D3.
http://techanjs.org/
MIT License
2.4k stars 537 forks source link

Period data range #185

Open khunztul opened 7 years ago

khunztul commented 7 years ago

how to change period from data to daily/weekly/monthly with manual input dropdown? image please help me, thanks

briancappello commented 7 years ago

As far as I'm aware there's no built-in functionality to resample the time period of your data. However, no matter how you choose to resample the period, you're going to need to redraw the chart with the new data. This example shows how to do that: http://bl.ocks.org/andredumas/95f1f22130fb1a3a8181

khunztul commented 7 years ago

thanks for your answer briancappello, but in here i mean is how to show period by daily/weekly/monthly in every step data chart.