Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
ScatterPlot.cxx
Go to the documentation of this file.
1
12
// for truncation warning in debug mode
13
#ifdef _MSC_VER
14
#include "msdevstudio/MSconfig.h"
15
#endif
16
17
#include "
ScatterPlot.h
"
18
19
#include "
projectors/Map2Projector.h
"
20
21
namespace
hippodraw {
22
23
ScatterPlot::ScatterPlot
( )
24
{
25
m_name
=
"Scatter Plot"
;
26
27
m_projector
=
new
Map2Projector
();
28
m_rep
=
new
SymbolPointRep
(
Symbol::SOLIDSQUARE
, 2.0 );
29
}
30
31
DataRep
*
ScatterPlot::clone
()
32
{
33
return
new
ScatterPlot
( *
this
);
34
}
35
36
bool
ScatterPlot::acceptFunction
(
int
num )
37
{
38
return
num == 1;
39
}
40
41
bool
42
ScatterPlot::
43
hasAxis
(
hippodraw::Axes::Type
axis )
const
44
{
45
return
axis ==
Axes::X
|| axis ==
Axes::Y
;
46
}
47
48
bool
49
ScatterPlot::
50
hasZoomY
( )
const
51
{
52
return
true
;
53
}
54
55
}
// namespace hippodraw
56
Generated for HippoDraw Class Library by