LineChart.h
#pragma once #include "stdafx.h" class LineChart { public: LineChart(); void setTitle( const std::string& title ); void setSeries( const std::vector<double>& x, const std::vector<double>& y ); void writeAsHTML( std::ostream& out ) const; void writeAsHTML( const std::string& file ) const; private: std::string title; std::vector<double> x; std::vector<double> y; }; void testLineChart();