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

Do figures for clientside callbacks need to initially be written in Python?

$
0
0

Hey guys,

I’m working on a dashboard that has 20+ indicators that are shown all at once. They are all quite repetitive using a simple subplot with one indicator and one gauge. However the speed of the application is very slow asking for data at the python backend every so often. Hence I’m trying to rewrite the callbacks to be clientside.

From the tutorial it seems straight forward to have a store element updated regularly and then put new data into the figures with js-callbacks. But how about the initial creation of the plot? Can I also write this in Javascript? Maybe with Plotly.JS? Or do I have to use python here?

I’d love to do it in JS, since the initial page load takes 25+ seconds and it would probably be much faster.

Thanks for taking the time to answer this! :slight_smile:

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images