Removed mutual dependency between libpspp and data
[pspp-builds.git] / src / output / charts / plot-chart.h
index ffcf3b0180f7e807969d38fbe282a5d97fcaffb4..f5bd6f385afcc877687eaad2f5e625710d0e15a0 100644 (file)
 #include <math.h>
 
 
-#include "chart-geometry.h"
-#include "chart.h"
-#include "str.h"
-#include "alloc.h"
-#include "manager.h"
-#include "output.h"
+#include <math/chart-geometry.h>
+#include <output/chart.h>
+
+#include <libpspp/str.h>
+#include <libpspp/alloc.h>
+#include <output/manager.h>
+#include <output/output.h>
 
 
 #ifndef PLOT_CHART_H
 #define PLOT_CHART_H
 
                                                             
-extern const char *data_colour[];
+extern const char *const data_colour[];
 
 enum tick_orientation {
   TICK_ABSCISSA=0,
@@ -67,5 +68,9 @@ void  chart_write_xscale(struct chart *ch, double min, double max, int ticks);
 /* Set the scale for the ordinate */
 void  chart_write_yscale(struct chart *ch, double smin, double smax, int ticks);
 
+void chart_write_xlabel(struct chart *ch, const char *label) ;
+
+/* Write the ordinate label */
+void  chart_write_ylabel(struct chart *ch, const char *label);
 
 #endif