Add PlotlyJson extractor for Line Plots
A new extractor "Plotly Json" is now available. It can be used to extract data+style of line plots in a json file following the plotly-json schema. This allows to export line plots generated in catalyst scripts to any library that accepts plotly-json files.
The design follows the current vtkCSVExporter
and the Export method of vtkXYChartRepresentation
.
We introduce an abstract class vtkAbstractChartExporter
and make vtkCSVExporter
just a child of it which Allows vtkXYChartRepresentation
to be exporter as either CSV
or plotly-json
file. With the latter we export also the style instead of just the data.