Closed
Description
Currently, JSON serialization is hidden internally, for example here:
Plotly.NET/src/Plotly.NET/ChartAPI/GenericChart.fs
Lines 243 to 255 in 324856f
It should be an easy addition to add two functions:
GenericChart.toFigureJson
, returns the DTO originally intended for exchange with dash:{ "data": ... "layout": ... "frames": ... }
GenericChart.toJson
, returns the json representatin that is used in the generated html:{ "data": ... "layout": ... "config": ... }