Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Chart and slider

$
0
0

Plotly offers a very good slider for timeseries chart (see below)
I am trying to see if I could use a callback with this slider (rather than using dcc.Slider and rebuild from scratch)
I tried to find doc but totally failed
Could someone point me in the right direction ?

Thanks

xaxis=dict(

                                rangeselector=dict(

                                                    buttons=list([

                                                        dict(count=1,

                                                            label="1m",

                                                            step="month",

                                                            stepmode="backward"),

                                                        dict(count=6,

                                                            label="6m",

                                                            step="month",

                                                            stepmode="backward"),

                                                        dict(count=1,

                                                            label="YTD",

                                                            step="year",

                                                            stepmode="todate"),

                                                        dict(count=1,

                                                            label="1y",

                                                            step="year",

                                                            stepmode="backward"),

                                                        dict(count=5,

                                                            label="5y",

                                                            step="year",

                                                            stepmode="backward"),                                        

                                                        dict(step="all")

                                                    ])

                                                ),

                                rangeslider=dict(visible=True),

                                type="date")

                    )

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles