X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-chart.h;h=f4cc5bbf06c3f91650c4988b15e76e36f8efc74a;hb=b5c82cc9aabe7e641011130240ae1b2e84348e23;hp=dae1cc07a1adcb30dd81f58b48eaec53d1874292;hpb=d709bb3de888c933c34064440b5431c9b62d9103;p=pspp-builds.git diff --git a/src/output/charts/plot-chart.h b/src/output/charts/plot-chart.h index dae1cc07..f4cc5bbf 100644 --- a/src/output/charts/plot-chart.h +++ b/src/output/charts/plot-chart.h @@ -35,13 +35,14 @@ #ifndef PLOT_CHART_H #define PLOT_CHART_H - +#define N_CHART_COLOURS 9 extern const char *const data_colour[]; -enum tick_orientation { - TICK_ABSCISSA=0, - TICK_ORDINATE -}; +enum tick_orientation + { + TICK_ABSCISSA=0, + TICK_ORDINATE + }; /* Draw a tick mark at position @@ -69,4 +70,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