... | ... | @@ -88,16 +88,19 @@ The floating dot area mode enables embossing by defining dots by their x- and y- |
|
|
Points are added iteratively to a FloatingPointData with an x- and a y-coordinate. The list with coordinates are passed to the printer starting with an ESC 70 sequence.
|
|
|
|
|
|
Plotting algorithms for diagrams should extend AbstractPlotter or an abstract child class, which provide basic functionalities such as axes drawing and axes scaling.
|
|
|
The user can chose wether a second y-axis should be plotted for scatter and line plots. The user can also chose wether a negative grid should be embossed.
|
|
|
|
|
|
Scatter plots are plotted by adding the points to the diagram and, if desired, plotting a frame around it. Currently three different frames are supported.
|
|
|
|
|
|
Line plots are plotted like scatter plots with additional line plotting between two data points. For this purpose the slope and the y-intercept are calculated. Lines are plotted by taking the x-coordinates between two points and calculating the y-coordinates with y = slope * x + y-intercept.
|
|
|
Currently three different line styles are supported.
|
|
|
The full line style corresponds with the dot frame. The dashed line style corresponds with the cross frame. The dotted line style corresponds with the circle frame. This may be changed in LinePlotter in drawLines
|
|
|
The full line style corresponds with the dot frame. The dashed line style corresponds with the cross frame. The dotted line style corresponds with the circle frame. This may be changed in LinePlotter in drawLines (line 161). Variable i corresponds to the different frames.
|
|
|
It is possible to not chose any frame or to chose the dot frame for all data series.
|
|
|
|
|
|
Bar Char
|
|
|
The user can chose wether bar chart data should be plotted as a grouped or a stacked bar chart. Negative values are only supported for grouped bar charts, not for stacked bar charts.
|
|
|
|
|
|
Further documentation can be found in the JavaDoc.
|
|
|
The config values for the user setting can be found in .
|
|
|
|
|
|
*Richard*
|
|
|
|
... | ... | |