X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=8e28f63fec38544333b0e92e5b5596ab0d3116bb;hb=e2b6be3d2f9137c7f88229a1e087e7dc6c156755;hp=d3de4cf05fc6e215e10312adf2e3d9a555f7e3d7;hpb=0d8f48cee100bcb6ad5d2ebba78c097de840584c;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index d3de4cf..8e28f63 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -5,10 +5,15 @@ #define y1 cairo_y1 #define index cairo_index +/* this may configure __EXTENSIONS__ without which pango will fail to compile + so load this early */ +#include "../rrd_config.h" + #include #include #include #include + #include @@ -205,6 +210,7 @@ typedef struct image_desc_t { int draw_x_grid; /* no x-grid at all */ int draw_y_grid; /* no y-grid at all */ unsigned int draw_3d_border; /* size of border in pixels, 0 for off */ + unsigned int dynamic_labels; /* pick the label shape according to the line drawn */ double grid_dash_on, grid_dash_off; xlab_t xlab_user; /* user defined labeling for xaxis */ char xlab_form[210]; /* format for the label on the xaxis */