Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Plotly candlesticks: docs have outdated examples?

I am working on some candlestick charts in Plotly. The examples from the online documentation specify that PlotlyFinance is required, but then I go to the PlotlyFinance github page, and it says it is deprecated because Plotly added native candlestick and ohlc charts in version 1.18.

Are there documentation examples for using the native candlestick and ohlc chart types?

Here’s an up-to-date example: http://codepen.io/etpinard/pen/ZpRPqW

Thanks much for putting that together. Also, for illustrating a couple of other things that were not clear to me.

I see the docs have changed. Excellent! I was wondering if someone could tell me how to get rid of the rangeselector? I see examples of how to set its options, but it isn’t clear how to remove it from the plot.

Answering my own question after looking at source code. 'rangeslider: { display: false } inside the ‘xaxis’ settings did the trick.