Processing class - Manager Class for Barplotting.
More...
Detailed Description
Processing class - Manager Class for Barplotting.
This Class contains all data for bar-plot. It also draws the graph.
- Author
- Manuel Wyss e0106.nosp@m.157@.nosp@m.stude.nosp@m.nt.t.nosp@m.uwien.nosp@m..ac..nosp@m.at
Member Function Documentation
void PlotManager.addDate |
( |
DateBox |
dateBox | ) |
|
|
package |
Adds a DateBox to the Manager.
- Parameters
-
dateBox | DateBox that shall be rendered |
void PlotManager.clearData |
( |
| ) |
|
|
package |
clears all revision data and resets amounts.
void PlotManager.plotDiagram |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
widthWidget, |
|
|
float |
heightWidget |
|
) |
| |
|
package |
Plots the bar-diagram.
If no data is managed, the plot will be empty. The plot function needs the coordinates pf the plotting area. Required offsets and borders are computet according to inputs. the whole plot scales accordingly to the designated area.
- Parameters
-
x | x-coordinate of upper left corner of drawing region (widget). |
y | y-coordinate of upper left corner of drawing region (widget). |
widthWidget | width of widget in pixels. |
heightWidget | height of widget in pixels. |
void PlotManager.setSelection |
( |
Selection |
sel | ) |
|
|
package |
Member Data Documentation
final color PlotManager.BAR_COLOR_SELECTED = #006EA8 |
|
staticpackage |
final color PlotManager.BAR_COLOR_UNSELECTED = #CCCCCC |
|
staticpackage |
int PlotManager.biggestBox = 0 |
|
package |
final color PlotManager.PLOT_FRAME_COLOR = #999999 |
|
staticpackage |
final color PlotManager.SELECTION_BOX_COLOR = #B6DAF0 |
|
staticpackage |
final color PlotManager.TEXT_COLOR = #999999 |
|
staticpackage |
int PlotManager.totalRevisions = 0 |
|
package |
The documentation for this class was generated from the following file: