Fixed bug where piecharts with many segments crashed.
[pspp-builds.git] / src / output / charts / plot-chart.h
index dae1cc07a1adcb30dd81f58b48eaec53d1874292..4a1dc10538d2567b630cca096886c8ca8e5011cd 100644 (file)
 #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