Skip to content
Snippets Groups Projects
Commit 1ac84515 authored by Georg Graßnick's avatar Georg Graßnick :thinking:
Browse files

Use title and axis labels from commandline

parent bc84c286
No related branches found
No related tags found
1 merge request!43Feat/scatterplot rasterizer 34
......@@ -49,16 +49,16 @@ public class ScatterPlotRasterizer implements Rasterizer<ScatterPlot> {
final int yAxisStepWidth = cellHeight * Y_AXIS_STEP_WIDTH;
final BrailleLanguage.Language language = BrailleLanguage.Language.DE_BASISSCHRIFT;
final String title = "Streudiagramm - Gewicht zu Höhe";
final String title = scatterPlot.getTitle();
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 xAxisLabel = "x-Achse";
final String xAxisLabelValue = "Gewicht in kg";
final String xAxisLabelValue = scatterPlot.getXAxisName();
final String yAxisLabel = "y-Achse";
final String yAxisLabelValue = "Höhe in m";
final String yAxisLabelValue = scatterPlot.getYAxisName();
Rectangle completeArea = canvas.getCellRectangle();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment