#include <libpspp/str.h>
-#include <libpspp/alloc.h>
#include <libpspp/assertion.h>
#include <output/manager.h>
#include <output/output.h>
-
-const char *const data_colour[] = {
- "brown",
- "red",
- "orange",
- "yellow",
- "green",
- "blue",
- "violet",
- "grey",
- "pink"
-};
+#include "xalloc.h"
+
+const char *const data_colour[N_CHART_COLOURS] =
+ {
+ "brown",
+ "red",
+ "orange",
+ "yellow",
+ "green",
+ "blue",
+ "violet",
+ "grey",
+ "pink"
+ };