In the trame tutorial ./05_paraview/StateLoader.py , if I change it to LocalView, the legend will be lost.
I’m using windows 11, PravaView 5.11. Please check:
In the Paraview, there is legend -
That issue is related to the fact that ParaView is wrapping the scalar bar into a widget which get skipped into vtk.js, hence missing in the LocalView.
vtk.js do support its own widgets. We just need to start mapping the VTK/C++ one to the vtk.js world. It will happen but it might be slow to get all of them within vtk.js. Although the scalarbar/actor2d one should not be too hard to do.