gfio: do not mix K M and G when shortening axis labels
[fio.git] / graph.h
diff --git a/graph.h b/graph.h
index 8202fe63a19e7feb96a9be0c3aea57eb95ea1092..39dd2b0eb954a90a66ac61fff5023818d9aec93f 100644 (file)
--- a/graph.h
+++ b/graph.h
@@ -3,7 +3,10 @@
 
 struct graph;
 
+#define INVISIBLE_COLOR (-1.0)
+
 struct graph *graph_new(unsigned int xdim, unsigned int ydim, const char *font);
+void graph_set_size(struct graph *g, unsigned int xdim, unsigned int ydim);
 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);