gfio: right justify y-axis labels
[fio.git] / graph.h
diff --git a/graph.h b/graph.h
index 57c5bd32c53ede9373f30e12f01f82aaa9d557d7..872e60eacdb45821e641eed2ba6092f51e87a777 100644 (file)
--- a/graph.h
+++ b/graph.h
@@ -3,7 +3,9 @@
 
 struct graph;
 
-struct graph *graph_new(int xdim, int ydim);
+#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);
 void line_graph_set_data_count_limit(struct graph *g, int per_label_limit);