... | ... | @@ -86,12 +86,12 @@ In the case of `thickness < minThickness` an exception will be thrown stating th |
|
|
## 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. A comment "new textures are added here" will show you the right spot.
|
|
|
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. A comment "new textures are added here" will show you the right spot (line 148).
|
|
|
|
|
|
### 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. A comment "new frames are added here" will show you the right spot.
|
|
|
To add a new frame to scatter and line plots, first implement a frame function in AbstractPointPlotter (e.g. drawDot). Then add a new else-if-statement in drawPoint with an incremented value for i and the newly defined function in the body. A comment "new frames are added here" will show you the right spot (line 283).
|
|
|
|
|
|
### 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.
|
|
|
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 |