X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-chart.h;h=cfbaa4df8ddc396ee4d2338dee87acfd349bf0a5;hb=58e00a3068cffe79b28c195b58841edb617d995e;hp=f29b4a35d1d74280325bedf0d10941cfbdcdfff1;hpb=f9bad53e96e50abef183e84ccf6964dba67b3ca5;p=pspp-builds.git diff --git a/src/output/charts/plot-chart.h b/src/output/charts/plot-chart.h index f29b4a35..cfbaa4df 100644 --- a/src/output/charts/plot-chart.h +++ b/src/output/charts/plot-chart.h @@ -52,7 +52,8 @@ enum tick_orientation void draw_tick(struct chart *chart, enum tick_orientation orientation, double position, - const char *label, ...); + const char *label, ...) + PRINTF_FORMAT (4, 5); /* Write the title on a chart*/ @@ -72,4 +73,6 @@ void chart_write_xlabel(struct chart *ch, const char *label) ; /* Write the ordinate label */ void chart_write_ylabel(struct chart *ch, const char *label); +void chart_write_legend (struct chart *ch); + #endif