Replies: 2 comments 1 reply
-
Hi, Of course, we can discuss where it is possible to make configuration attributes of SHC objects dynamic, i.e. expose them via a new connectable object that can be used to update them dynamically. However, I doubt that this will be easily possible for the time Currently, there is also no designated mechanism for direct communication between multiple web widgets on the client side. In my opinion, that would require explicit configuration via the Python code when creating the widgets, that would then be propagated to the client javascript. Instead, I would propose to extend the If this would be an acceptable solution, I can create an issue for this new feature and see that I find the time to implement it. Of course, you can also go for such an implementation and create a PR. :) |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm totally fine w/ extending the |
Beta Was this translation helpful? Give feedback.
-
Hi, me again 🙈
1st of all I must mention how impressed I am on what you already have implemented. I'm learning more day by day and it is great to see what you have realized in such a generic/extendable approach.
Here is my question: I created a filter for a chart and want to adjust the timedelta on a ChartWidget. It works fine if I fire a reload of the entire page afterwards, e.g. using
asyncio.create_task(ws.send_json({"reload": True}))
. I was wondering whether there is a less invasive way of forcing a redraw of the chart itself w/o reloading the page. Calling aawait chart.render()
or alike did not succeed. Any hint for me?Beta Was this translation helpful? Give feedback.
All reactions