gfio: make empty graph show grid lines, not "No good data"
[fio.git] / graph.h
diff --git a/graph.h b/graph.h
index 8202fe63a19e7feb96a9be0c3aea57eb95ea1092..872e60eacdb45821e641eed2ba6092f51e87a777 100644 (file)
--- a/graph.h
+++ b/graph.h
@@ -3,6 +3,8 @@
 
 struct graph;
 
+#define INVISIBLE_COLOR (-1.0)
+
 struct graph *graph_new(unsigned int xdim, unsigned int ydim, const char *font);
 void bar_graph_draw(struct graph *g, cairo_t *cr);
 void line_graph_draw(struct graph *g, cairo_t *cr);