output: Refactor implementation of charts.
[pspp-builds.git] / src / output / charts / piechart.h
index 288a44e638b8bf29a73cb521c19246182780d0f2..39a0c2d5d28e7c05766b93e62a4f0d91b6f4e292 100644 (file)
@@ -24,9 +24,8 @@ struct slice {
   double magnitude;
 };
 
-/* Draw a piechart */
-void piechart_plot(const char *title,
-                  const struct slice *slices, int n_slices);
+struct chart *piechart_create (const char *title,
+                               const struct slice *, int n_slices);
 
 #endif