Skip to content
Snippets Groups Projects

Feat/scatterplot rasterizer 34

Merged Georg Graßnick requested to merge feat/scatterplot_rasterizer-34 into master
All threads resolved!
1 file
+ 7
4
Compare changes
  • Side-by-side
  • Inline
@@ -53,8 +53,9 @@ public class ScatterPlotRasterizer implements Rasterizer<ScatterPlot> {
final String titleToDataSetSeparator = " - ";
final String legendTitle = title;
final String axisExplanationGroupName = "Achsenbeschriftungen";
final String xAxisLegendGroupName = "x-Achse Werte";
final String yAxisLegendGroupName = "y-Achse Werte";
final String axisColumnGroupTitle = "Achsenwerte";
final String xAxisLegendGroupName = "x-Achse";
final String yAxisLegendGroupName = "y-Achse";
final String xAxisLabel = "x-Achse";
final String xAxisLabelValue = scatterPlot.getXAxisName();
final String yAxisLabel = "y-Achse";
@@ -150,7 +151,6 @@ public class ScatterPlotRasterizer implements Rasterizer<ScatterPlot> {
// X axis
Map<String, String> xAxisLegendSymbols = new HashMap<>();
legend.addSymbolExplanationGroup(xAxisLegendGroupName, xAxisLegendSymbols);
// TODO Transfer to separate method
Map<Integer, String> xAxisLabels = new HashMap<>();
@@ -167,7 +167,6 @@ public class ScatterPlotRasterizer implements Rasterizer<ScatterPlot> {
// Y axis
Map<String, String> yAxisLegendSymbols = new HashMap<>();
legend.addSymbolExplanationGroup(yAxisLegendGroupName, yAxisLegendSymbols);
Map<Integer, String> yAxisLabels = new HashMap<>();
yAxis.setLabels(yAxisLabels);
@@ -181,6 +180,10 @@ public class ScatterPlotRasterizer implements Rasterizer<ScatterPlot> {
label++;
}
legend.addColumn(xAxisLegendGroupName, xAxisLegendSymbols);
legend.addColumn(yAxisLegendGroupName, yAxisLegendSymbols);
legend.setColumnViewTitle(axisColumnGroupTitle);
// --------------------------------------------------------------------
// Rendering per data set
Loading