• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:graph

4 struct graph;
11 struct graph *graph_new(unsigned int xdim, unsigned int ydim, const char *font);
13 void graph_set_size(struct graph *g, unsigned int xdim, unsigned int ydim);
15 void graph_set_position(struct graph *g, double xoffset, double yoffset);
17 void bar_graph_draw(struct graph *g, cairo_t *cr);
19 void line_graph_draw(struct graph *g, cairo_t *cr);
21 void line_graph_set_data_count_limit(struct graph *g, int per_label_limit);
26 void graph_set_font(struct graph *g, const char *font);
27 void graph_title(struct graph *g, const char *title);
29 void graph_x_title(struct graph *g, const char *title);
31 void graph_y_title(struct graph *g, const char *title);
33 graph_label_t graph_add_label(struct graph *g, const char *label);
55 int graph_add_data(struct graph *g, graph_label_t label, const double value);
57 int graph_add_xy_data(struct graph *g, graph_label_t label,
61 void graph_set_color(struct graph *g, graph_label_t label,
70 void graph_free(struct graph *bg);
73 typedef void (*graph_axis_unit_change_callback)(struct graph *g, int power_of_ten);
74 void graph_x_axis_unit_change_notify(struct graph *g, graph_axis_unit_change_callback f);
75 void graph_y_axis_unit_change_notify(struct graph *g, graph_axis_unit_change_callback f);
83 void graph_add_extra_space(struct graph *g, double left_percent, double right_percent,
89 extern int graph_has_tooltips(struct graph *g);
90 extern const char *graph_find_tooltip(struct graph *g, int x, int y);
91 extern int graph_contains_xy(struct graph *p, int x, int y);
93 extern void graph_set_base_offset(struct graph *g, unsigned int base_offset);
94 extern void graph_set_graph_all_zeroes(struct graph *g, unsigned int set);
96 extern void graph_clear_values(struct graph *g);