cruise-automation / webviz

web-based visualization libraries
https://webviz.io/
Apache License 2.0
2.04k stars 412 forks source link

Webvi get stuck when we there are alot of topics. #590

Open HUSNAINGAUHER opened 3 years ago

HUSNAINGAUHER commented 3 years ago

I have topics about 20k and when i click on add line in plot legend it takes time to show all topic and plot start dropping data and make a ambiguous plot may be it is due to 20k topics names are rendering in GUI, How can i solve this issue.

Regards Husnain Gauher

troygibb commented 3 years ago

Oh wow that's a lot of topics! I'm not surprised that Webviz is having a hard time with that load.

A couple things you could do:

  1. I'd definitely recommend filtering your bags if possible. In general Webviz will have a hard time processing that number of topics in many areas of the app. So if you want to use Webviz in the long term, you'd be best served by trimming your bags.
  2. That said, there's one workaround for this specific issue.

Click on settings in the Plot panel, and click Import/export panel settings. image

From there, you can just type the topic in manually--without autocomplete--in the config (example shown below): image

Hope that helps!