]> git.scottworley.com Git - batteryviewer/commitdiff
Draw axis over data
authorScott Worley <scottworley@scottworley.com>
Fri, 24 Feb 2023 18:03:58 +0000 (10:03 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 24 Feb 2023 18:03:58 +0000 (10:03 -0800)
chart.c

diff --git a/chart.c b/chart.c
index 2d255e0cda8ab683fd1c1d441e39b2f5f8227236..0ee4840d59725afe0751ee6e171c309fd4384723 100644 (file)
--- a/chart.c
+++ b/chart.c
@@ -87,8 +87,8 @@ static gboolean bv_chart_draw(GtkWidget *widget, cairo_t *cr) {
   GtkAllocation allocation;
   gtk_widget_get_allocation(widget, &allocation);
 
   GtkAllocation allocation;
   gtk_widget_get_allocation(widget, &allocation);
 
-  draw_axis(priv, cr, &allocation);
   draw_data(priv, cr, &allocation);
   draw_data(priv, cr, &allocation);
+  draw_axis(priv, cr, &allocation);
 
   return TRUE;
 }
 
   return TRUE;
 }