Skip to content
Snippets Groups Projects
Commit c3f4d9af authored by Tim Molter's avatar Tim Molter
Browse files

fix missing scatter point on category plots

parent 2e6f6cc8
No related branches found
No related tags found
No related merge requests found
......@@ -276,6 +276,12 @@ public class CategoryChart extends Chart<CategoryStyler, CategorySeries> {
if (series.getFillColor() == null) { // wasn't set manually
series.setFillColor(seriesColorMarkerLineStyle.getColor());
}
if (series.getMarker() == null) { // wasn't set manually
series.setMarker(seriesColorMarkerLineStyle.getMarker());
}
if (series.getMarkerColor() == null) { // wasn't set manually
series.setMarkerColor(seriesColorMarkerLineStyle.getColor());
}
}
}
......
......@@ -239,7 +239,6 @@ public class PlotContent_Category_Bar<ST extends Styler, S extends Series> exten
}
// paint marker
// if (series.getMarker() != null) {
if (series.getMarker() != null) {
g.setColor(series.getMarkerColor());
......@@ -266,6 +265,7 @@ public class PlotContent_Category_Bar<ST extends Styler, S extends Series> exten
}
}
}
previousX = xOffset + barWidth / 2;
previousY = yOffset;
......
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