#ifndef CHART_H
#define CHART_H
+#include <config.h>
#include <stdio.h>
-#include <plot.h>
#include <gsl/gsl_histogram.h>
-
#include "var.h"
+#ifndef NO_CHARTS
+#include <plot.h>
+#endif
+
/* Array of standard colour names */
extern const char *data_colour[];
struct chart {
+#ifndef NO_CHARTS
plPlotter *lp ;
plPlotterParams *pl_params;
+#endif
/* The geometry of the chart
See diagram at the foot of this file.