#ifndef GRAPH_H
#define GRAPH_H

struct Graph {

	char 	*name;
	int	type;
	int	row, column;
	int	nDatasets;
	int	showLegend;
	int	listSize;
	int	nLabels;
	int	labelListSize;
	int	xRangeFlag;
	int	yRangeFlag;
	int	zRangeFlag;
	int	xNumberStyle;
	int	yNumberStyle;
	int	zNumberStyle;
	int	xGridFlag;
	int	yGridFlag;
	int	zGridFlag;
	float	originX;
	float	originY;
	float	width;
	float	height;
	float	xRange[2];
	float	yRange[2];
	float	zRange[2];
	struct	Label *xAxisLabel;
	struct	Label *yAxisLabel;
	struct	Label *titleLabel;
        char	*shortTitle;
	struct	Label *indexLabel;
	struct	Label *(*labelList);
	struct	Legend *legend;
	struct	FxDataset *(*fxDatasetList);
	struct	FxyDataset *fxy;
	char	*surfaceGraphName;
	struct	Graph *next;
	int	nColumns;
	struct	Column *(*columnList);
	struct	Label *(*topTextList);
	struct	Label *(*bottomTextList);
	int	nTopText;
	int	nBottomText;
};

#endif
