blob: 537bd3634eb037bc057dfd99046da3cdc5421781 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
<?php
/**
* File containing the abstract ezcGraph class
*
* @package Graph
* @version //autogentag//
* @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Base options class for all eZ components.
*
* @package Graph
*/
class ezcGraph
{
/**
* No symbol, will fallback to a rect in the legend
*/
const NO_SYMBOL = 0;
/**
* Rhomb like looking symbol
*/
const DIAMOND = 1;
/**
* Filled circle
*/
const BULLET = 2;
/**
* Non filled circle
*/
const CIRCLE = 3;
/**
* Constant used for background repetition. No repeat.
*/
const NO_REPEAT = 0;
/**
* Constant used for background repetition. Repeat along the x axis. May be
* used as a bitmask together with ezcGraph::VERTICAL.
*/
const HORIZONTAL = 1;
/**
* Constant used for background repetition. Repeat along the y axis. May be
* used as a bitmask together with ezcGraph::HORIZONTAL.
*/
const VERTICAL = 2;
/**
* Constant used for positioning of elements. May be used as a bitmask
* together with other postioning constants.
* Element will be placed at the top of the current boundings.
*/
const TOP = 1;
/**
* Constant used for positioning of elements. May be used as a bitmask
* together with other postioning constants.
* Element will be placed at the bottom of the current boundings.
*/
const BOTTOM = 2;
/**
* Constant used for positioning of elements. May be used as a bitmask
* together with other postioning constants.
* Element will be placed at the left of the current boundings.
*/
const LEFT = 4;
/**
* Constant used for positioning of elements. May be used as a bitmask
* together with other postioning constants.
* Element will be placed at the right of the current boundings.
*/
const RIGHT = 8;
/**
* Constant used for positioning of elements. May be used as a bitmask
* together with other postioning constants.
* Element will be placed at the horizontalcenter of the current boundings.
*/
const CENTER = 16;
/**
* Constant used for positioning of elements. May be used as a bitmask
* together with other postioning constants.
* Element will be placed at the vertical middle of the current boundings.
*/
const MIDDLE = 32;
/**
* Display type for datasets. Pie may only be used with pie charts.
*/
const PIE = 1;
/**
* Display type for datasets. Bar and line charts may contain datasets of
* type ezcGraph::LINE.
*/
const LINE = 2;
/**
* Display type for datasets. Bar and line charts may contain datasets of
* type ezcGraph::BAR.
*/
const BAR = 3;
/**
* Font type definition. Used for True Type fonts.
*/
const TTF_FONT = 1;
/**
* Font type definition. Used for Postscript Type 1 fonts.
*/
const PS_FONT = 2;
/**
* Font type definition. Used for Palm Format Fonts for Ming driver.
*/
const PALM_FONT = 3;
}
?>
|