Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BraillePlot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Georg Graßnick
BraillePlot
Commits
e09efcac
Commit
e09efcac
authored
5 years ago
by
Georg Graßnick
Browse files
Options
Downloads
Patches
Plain Diff
Use column view for axis legend
parent
d643fbfe
No related branches found
Branches containing commit
No related tags found
1 merge request
!43
Feat/scatterplot rasterizer 34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/tudresden/inf/mci/brailleplot/rendering/ScatterPlotRasterizer.java
+7
-4
7 additions, 4 deletions
.../inf/mci/brailleplot/rendering/ScatterPlotRasterizer.java
with
7 additions
and
4 deletions
src/main/java/de/tudresden/inf/mci/brailleplot/rendering/ScatterPlotRasterizer.java
+
7
−
4
View file @
e09efcac
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment