Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B BraillePlot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Georg Graßnick
  • BraillePlot
  • Wiki
  • Implementation

Implementation · Changes

Page history
Update Implementation authored Oct 03, 2019 by Richard Schmidt's avatar Richard Schmidt
Hide whitespace changes
Inline Side-by-side
Implementation.md
View page @ 9b6b832a
......@@ -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
Clone repository
  • Bar Charts
  • Conceptual Design
  • Criteria
  • EndUserDocumentation
  • GuiSvgPlot Integration
  • Implementation
  • Known issues
  • Line Charts
  • Packages
  • Scatter Plots
  • Software Architecture
  • Software Design
  • Testing
  • User Study
  • Home
View All Pages

Impressum · Nutzungsbedingungen · Datenschutz