/***************************** GRAPHMAKER.H ***********************************
* TSP Algorithms : GraphMaker                                      21.11.2008 *
*                                                                             *
* Uses "chartdir41.dll" to save the graph                                     *
* as a .png file with some given vectors                                      *
*                                                             Beycan Kahraman *
******************************************************************************/

#pragma once
#include <vector>
#include <string>
#include "chartdir.h"

class GraphMaker
{
private:
	XYChart *c;
	LineLayer *layer;
	unsigned number_of_series;
public:
	GraphMaker(char *name, char *x_axis, char *y_axis);
	void Add(const std::vector<float> &data, char *serie_name);
	void Create(char *file_name);
	~GraphMaker(void);
};

