... | ... | @@ -115,4 +115,29 @@ To add a new frame to scatter and line plots, first implement a frame function i |
|
|
### Adding line styles to line plots.
|
|
|
To add a new line style to line plots, first implement a line function in LinePlotter (e.g. drawFullLine). Then add a new else-if-statement in drawLines with an incremented value for i and the newly defined function in the body. A comment "new line styles are added here" will show you the right spot (line 170).
|
|
|
|
|
|
*Richard* |
|
|
\ No newline at end of file |
|
|
*Richard*
|
|
|
|
|
|
## Misc
|
|
|
|
|
|
### Notes about the configuration files and parser
|
|
|
_Kupper_
|
|
|
|
|
|
- first thoughts about possible formats: INI, JSON, XML
|
|
|
- readability for normal users?
|
|
|
- easily parseable?
|
|
|
- structure of the files: First section with general properties, following sections with page formats containing format specific properties
|
|
|
|
|
|
INI format:
|
|
|
- windows specific format
|
|
|
- good readability, but:
|
|
|
- no native support in Java, third party lib necessary
|
|
|
|
|
|
JSON & XML:
|
|
|
- not very readable for normal users
|
|
|
- syntax can easily be broken unintentionally -> not parseable if broken
|
|
|
|
|
|
Instead: Java Properties?
|
|
|
- native support (java.util.Properties)
|
|
|
- allows same division into sections
|
|
|
- easy list-like syntax similar to INI -> good readability
|
|
|
- Syntax: *section.property=value* |
|
|
\ No newline at end of file |