OSDN Git Service

first
[psychlops/cpp.git] / psychlops / extension / prototype / figure / psychlops_figure_graph.cpp
1 /*
2  *  psychlops_figure_graph.cpp
3  *  Psychlops Standard Library (Universal)
4  *
5  *  Last Modified 2009/03/05 by Kenchi HOSOKAWA
6  *  (C) 2009 Kenchi HOSOKAWA, Kazushi MARUYA, Takao SATO
7  */
8
9 #include "../../../psychlops_core.h"
10 #include "psychlops_figure_graph.h"
11
12
13 namespace Psychlops {
14 namespace Graph {
15
16         class BarGraph : public Figure {
17         protected:
18                 Matrix data;
19                 std::wstring label;
20         public:
21                 virtual ~BarGraph();
22                 virtual const Point getDatum() const;
23                 virtual BarGraph& setDatum(const Point &p);
24                 virtual BarGraph& centering(const Point& p);
25                 virtual BarGraph& draw(Drawable &drawable = *Drawable::prime);
26         };
27
28
29 }
30 }