This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
double width, double length);
void xrchart_geometry_free (cairo_t *, struct xrchart_geometry *);
double width, double length);
void xrchart_geometry_free (cairo_t *, struct xrchart_geometry *);
void xrchart_label (cairo_t *, int horz_justify, int vert_justify,
double font_size, const char *);
void xrchart_label (cairo_t *, int horz_justify, int vert_justify,
double font_size, const char *);
+void xrchart_label_rotate (cairo_t *cr, int horz_justify, int vert_justify,
+ double font_size, const char *string, double angle);
+
+
/* Draw a tick mark at position
If label is non zero, then print it at the tick mark
*/
void draw_tick (cairo_t *, const struct xrchart_geometry *,
/* Draw a tick mark at position
If label is non zero, then print it at the tick mark
*/
void draw_tick (cairo_t *, const struct xrchart_geometry *,
-void xrchart_write_xscale (cairo_t *, struct xrchart_geometry *,
- double min, double max, int ticks);
-
+bool xrchart_write_xscale (cairo_t *, struct xrchart_geometry *,
+ double min, double max) WARN_UNUSED_RESULT;
-void xrchart_write_yscale (cairo_t *, struct xrchart_geometry *,
- double smin, double smax, int ticks);
+bool xrchart_write_yscale (cairo_t *, struct xrchart_geometry *,
+ double smin, double smax) WARN_UNUSED_RESULT;
struct xrchart_geometry *);
void xrchart_draw_piechart (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
struct xrchart_geometry *);
void xrchart_draw_piechart (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
void xrchart_draw_histogram (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
void xrchart_draw_np_plot (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
void xrchart_draw_scree (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
void xrchart_draw_histogram (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
void xrchart_draw_np_plot (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
void xrchart_draw_scree (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
+void xrchart_draw_spreadlevel (const struct chart_item *, cairo_t *,
+ struct xrchart_geometry *);
+void xrchart_draw_scatterplot (const struct chart_item *, cairo_t *,
+ struct xrchart_geometry *);