... | ... | @@ -80,4 +80,18 @@ So the software will calculate the baseSize for the given `g, gpad, b, bpad` and |
|
|
|
|
|
`thickness = min(floor((availableSize - baseSize) / b), maxThickness)`
|
|
|
|
|
|
In the case of `thickness < minThickness` an exception will be thrown stating that there is not enough space available. |
|
|
\ No newline at end of file |
|
|
In the case of `thickness < minThickness` an exception will be thrown stating that there is not enough space available.
|
|
|
|
|
|
|
|
|
## Adding textures, frames and line styles in the floating dot mode
|
|
|
|
|
|
### Adding textures to bar charts
|
|
|
To add a new texture to bar charts, first implement a texture function in AbstractBarChartPlotter (e.g. fillFullPattern). Then add a new else-if-statement in plotAndFillRectangle with an incremented value for j and the newly defined function in the body.
|
|
|
|
|
|
### Adding frames to scatter and line plots
|
|
|
To add a new frame to scatter and line plots, first implement a frame function in AbstractPointPlotter (e.g. drawCircle). Then add a new else-if-statement in drawPoint with an incremented value for i and the newly defined function in the body.
|
|
|
|
|
|
### Adding line styles to line plots.
|
|
|
To add a new line style to line plots, modify the function plot in LinePlotter. Look into line 107 (a comment "new line styles are added here" will show you the right spot). Add a new else-if-statement with an incremented value for i and define the new line style in the body.
|
|
|
|
|
|
Richard |
|
|
\ No newline at end of file |