int title_bottom ;
+ /* Legend. */
int legend_left ;
int legend_right ;
+ const char **dataset;
+ int n_datasets;
/* Default font size for the plot. */
- int font_size;
+ double font_size;
struct chart_colour fill_colour;
double x_max;
double y_min;
double y_max;
+ bool in_path;
};
struct chart_class
void chart_geometry_init (cairo_t *, struct chart_geometry *,
double width, double length);
-void chart_geometry_free (cairo_t *);
+void chart_geometry_free (cairo_t *, struct chart_geometry *);
void chart_draw (const struct chart *, cairo_t *, struct chart_geometry *);
char *chart_draw_png (const struct chart *, const char *file_name_template,