... | ... | @@ -6,7 +6,7 @@ Since the application developed in this project is a command line tool, we want |
|
|
|
|
|
### Diagram creation in GuiSvgPlot
|
|
|
|
|
|
The original to build a svg diagram via SvgPlot looks like this:
|
|
|
The original current approach to build a svg diagram via SvgPlot looks like this:
|
|
|
|
|
|
```
|
|
|
String tempPath = this.guiSvgOptions.getCsvPath();
|
... | ... | @@ -20,4 +20,9 @@ this.svgOptionsService.buildSVG(guiSvgOptions.getOptions()); |
|
|
this.popOver_infos.hide();
|
|
|
this.popOver_warnings.hide();
|
|
|
GuiSvgPlott.getInstance().closeWizard(true);
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
The `guiSvgOptions` variable holds an instance of `SvgOptionsService` which is GuiSvgPlots own model class holding all data and properties of the chart. Essentially it wraps an instance of `SvgPlotOptions`, which comes directly from the `tud.tangram.svgplot.options` package.
|
|
|
|
|
|
This data which was accumulated during the plot creation process in the graphical user interface is then passed to the `buildSvg()` method of the `SvgOptionsService`, which is a controller class doing the invokation of SvgPlot.
|
|
|
|