... | ... | @@ -36,6 +36,17 @@ This will be done by extending the current `SvgOptionsService` controller with a |
|
|
|
|
|
The limitations of the braille plot usecase however will also limit the available options significantly, when brailleplot is used as output device. Only a subset of the defined options can be passed to the application. This limitation of the controller must of course be represented in the view. The resulting changes which were made to the GUI to achieve this are discussed in another section: GUI changes
|
|
|
|
|
|
To use the options contained in the wrapped SvgPlotOptions object `options`, it must first be understood how its members are structured:
|
|
|
|
|
|
* `size :Point` = describes the paper format
|
|
|
* `xUnit :String` = information that the user entered as x-axis caption
|
|
|
* `yUnit :String` = information that the user entered as y-axis caption
|
|
|
* `title :String` = diagram title
|
|
|
* `output :File` = selected diagram output file (in our usecase maybe the svg export)
|
|
|
* `csvPath :String` = path of the diagram data csv
|
|
|
* `csvType :CsvType` = csv data alignment type enum
|
|
|
* `csvOrientation :String` = csv data orientation enum
|
|
|
|
|
|
### Invokation of the brailleplot application
|
|
|
|
|
|
As discussed before, the `SvgOptionsService` controller class will be equipped with an additional method for brailleplot creation. This is the code used for this purpose:
|
... | ... | |