Skip to content

Qiestion: Can plotly resampler work without server side cache?Β #352

@KnightArthurRen

Description

@KnightArthurRen

Hi guys amazing product first of all! After reading through the examples and local tries it seems like resampler would only work iff the resampling figure obj is cached on the server. However sadly it doesn't work in my case since our current setup require the Dash app to be stateless.

I'm wondering is it possible to use the resample without a server side cache? Things I have in mind is for example to do client side callback where we forward the resampling logic into the client browser where it is directly invoked.

On the side note I also tried a hacky way of use dcc.store to store entire FigureResampler obj on browser, then on zooming in callback I send the resampler obj as part of State and call construct_update_data_patch but that stopped the resampler from re fetching more data to populate the graph, is it expected behavior?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions