You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include <config.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#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
/* Write the ordinate label */
void chart_write_ylabel(struct chart *ch, const char *label);
+void chart_write_legend (struct chart *ch);
+
#endif