Skip to content

Commit 7abd1ac

Browse files
feature: y axis grid color matches y axis color
1 parent 00c7887 commit 7abd1ac

File tree

1 file changed

+1
-1
lines changed
  • app/rtplot/src/main/java/org/csstudio/javafx/rtplot/internal

1 file changed

+1
-1
lines changed

app/rtplot/src/main/java/org/csstudio/javafx/rtplot/internal/Plot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ protected BufferedImage updateImageBuffer()
666666
final ScreenTransform<XTYPE> x_transform = x_axis.getScreenTransform();
667667
for (YAxisImpl<XTYPE> y_axis : y_axes)
668668
{
669-
y_axis.setGridColor(grid);
669+
y_axis.setGridColor(GraphicsUtils.convert(y_axis.getColor()));
670670
y_axis.paint(gc, plot_bounds);
671671
}
672672

0 commit comments

Comments
 (0)