Using JSON Forms to render plotly plots

Hi,

I’m trying to use JSON Forms to build entire dashboards together with displaying a plotly plot based on the data provided in the form. I want to leverage the layouting system provided by JSON Forms.

Is it possible to register a new renderer that would render a plot? If yes, which function of the JsonFormsContext.d.ts should I use?

Thanks in advance.

Hi @pk5214,

Each (custom) renderer in JSON Forms has full control over the UI it renders, therefore you should also be able to render plots. See here for a tutorial on how to write a custom renderer.

Note that only using JSON Forms for layouting is probably not the best fit. Our layouting is rather simplistic, so you could easily reproduce it without using JSON Forms.