You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for making this crate - I've greatly enjoyed using it.
I have been using the .to_json() methods exposed from the Plot trait to build a JSON API payload for a web application using the Plot layout + traces - I noticed this is now inaccessible in the latest version of the crate - looks like a change from #26 .
Could you add a .to_json() method that can be called off of .build() for each plot & output a serialized JSON payload of the plot?
@matthewalltop Thank you for using this crate and for contribute with an idea to improve it. I've published the version 0.7.1. The plots have the to_json method.
Thank you for making this crate - I've greatly enjoyed using it.
I have been using the
.to_json()
methods exposed from thePlot
trait to build a JSON API payload for a web application using thePlot
layout + traces - I noticed this is now inaccessible in the latest version of the crate - looks like a change from #26 .Could you add a
.to_json()
method that can be called off of.build()
for each plot & output a serialized JSON payload of the plot?I have been doing it similarly to this:
i.e.
That can be plugged into the PlotlyJS component in custom web applications:
The text was updated successfully, but these errors were encountered: