Added the /BARCHART option to CROSSTABS
[pspp] / src / output / charts / piechart.h
index b59a7296d14e792031a595a1c024808c25a13451..1899a511c118515424ab0a6e558a18b519300de7 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "libpspp/str.h"
 #include "output/chart-item.h"
+#include "language/stats/freq.h"
 
 struct piechart
   {
@@ -33,8 +34,10 @@ struct slice
     double magnitude;
   };
 
-struct chart_item *piechart_create (const char *title,
-                                    const struct slice *, int n_slices);
+struct variable;
+
+struct chart_item *piechart_create (const struct variable *var,
+                                    const struct freq *, int n_slices);
 \f
 /* This boilerplate for piechart, a subclass of chart_item, was
    autogenerated by mk-class-boilerplate. */