santosjorge / cufflinks

Productivity Tools for Plotly + Pandas
MIT License
3.02k stars 675 forks source link

add_trendline() #260

Open SmrutiSikha opened 3 years ago

SmrutiSikha commented 3 years ago

Not able to add a trendline in my plot using add_trendline from the cufflinks library. Code that I have written: `qf=cf.QuantFig(df_14400)

qf.add_trendline('2020-11-06','2021-04-21')

qf.iplot()`

The above code returns just the candle chart plot without the trendline.

geraldbl commented 3 years ago

same here. I also noticed the qf.add_trendline deactivate rangeslider=True. But in my dataset, I use Datetime, as I have 5 mins OHLC and I notice trendline only takes date. This is definitely an oversight.

ghost commented 2 years ago

any luck yet?