/admin/lib/jpgraph.php

Description

File: JPGRAPH.PHP Description: PHP4 Graph Plotting library. Base module.

Created: 2001-01-08 Author: Johan Persson (johanp@aditus.nu) Ver: $Id: jpgraph.php,v 1.62 2002/05/13 20:30:00 aditus Exp $

License: This code is released under QPL 1.0 Copyright (C) 2001,2002 Johan Persson

Classes
Class Description
JpGraphErrObject The default trivial text error handler.
JpGraphErrObjectImg An image based error handler
JpGraphError A wrapper class that is used to access the specified error object (to hide the global error parameter and avoid having a GLOBAL directive in all methods.
LanguageConv
JpgTimer CLASS JpgTimer Description: General timing utility class to handle timne measurement of generating graphs. Multiple timers can be started by pushing new on a stack.
Graph CLASS Graph
TTF
LineProperty
Text
Grid
Axis
Ticks
LinearTicks
LinearScale
RGB
Image
RotImage
ImgStreamCache
Legend
DisplayValue
Plot
PlotMark
Rectangle
RectPattern
RectPatternSolid
RectPatternHor
RectPatternVert
RectPatternRDiag
RectPatternLDiag
RectPattern3DPlane
RectPatternCross
RectPatternDiagCross
RectPatternFactory
PlotBand
PlotLine
Constants
APACHE_CACHE_DIR = "/jpgraph_cache/" (line 28)
BAND_3DPLANE = 6 (line 228)
BAND_DIAGCROSS = 8 (line 230)
BAND_HLINE = 5 (line 227)
BAND_HVCROSS = 7 (line 229)
BAND_LDIAG = 2 (line 222)
BAND_LHOR = 5 (line 225)
BAND_LVERT = 4 (line 224)
BAND_RDIAG = 1 (line 221)
BAND_SOLID = 3 (line 223)
BAND_VLINE = 4 (line 226)
BGIMG_CENTER = 4 (line 210)
BGIMG_COPY = 3 (line 209)
BGIMG_FILLFRAME = 2 (line 208)
BGIMG_FILLPLOT = 1 (line 207)
BRAND_TIME_FORMAT = "Generated in: %01.3fs" (line 105)
BRAND_TIMING = false (line 102)
CACHE_DIR = "/tmp/jpgraph_cache/" (line 22)
CACHE_FILE_GROUP = "wwwadmin" (line 112)
CACHE_FILE_MOD = 0664 (line 116)
DEFAULT_GFORMAT = "auto" (line 74)
DEPTH_BACK = (line 213)
DEPTH_FRONT = 1 (line 214)
ERR_DEPRECATED = true (line 126)
FF_ARIAL = 15 (line 143)
FF_BOOK = 16 (line 144)
FF_COMIC = 14 (line 142)
FF_COURIER = 10 (line 138)
FF_FONT0 = 1 (line 153)
FF_FONT1 = 2 (line 154)
FF_FONT2 = 4 (line 155)
FF_HANDWRT = 13 (line 141)
FF_TIMES = 12 (line 140)
FF_VERDANA = 11 (line 139)
FONT0 = 99 (line 160)
FONT1 = 98 (line 161)
FONT1_BOLD = 97 (line 162)
FONT2 = 96 (line 163)
FONT2_BOLD = 95 (line 164)
FS_BOLD = 2 (line 148)
FS_BOLDIT = 4 (line 150)
FS_ITALIC = 3 (line 149)
FS_NORMAL = 1 (line 147)
GRAD_CENTER = 5 (line 198)
GRAD_HOR = 2 (line 195)
GRAD_MIDHOR = 3 (line 196)
GRAD_MIDVER = 4 (line 197)
GRAD_VER = 1 (line 194)
GRAD_WIDE_MIDHOR = 7 (line 200)
GRAD_WIDE_MIDVER = 6 (line 199)
HORIZONTAL = (line 218)
INLINE_NO = (line 204)
INLINE_YES = 1 (line 203)
JPG_DEBUG = false (line 131)
LANGUAGE_CYRILLIC = false (line 93)
LEGEND_HOR = 1 (line 180)
LEGEND_VERT = (line 179)
MARK_CIRCLE = 5 (line 187)
MARK_CROSS = 7 (line 189)
MARK_DIAMOND = 4 (line 186)
MARK_DTRIANGLE = 3 (line 185)
MARK_FILLEDCIRCLE = 6 (line 188)
MARK_SQUARE = 1 (line 183)
MARK_STAR = 8 (line 190)
MARK_UTRIANGLE = 2 (line 184)
MARK_X = 9 (line 191)
READ_CACHE = true (line 69)
SIDE_DOWN = -1 (line 175)
SIDE_LEFT = -1 (line 173)
SIDE_RIGHT = 1 (line 174)
SIDE_UP = 1 (line 176)
TICKD_DENSE = 1 (line 167)
TICKD_NORMAL = 2 (line 168)
TICKD_SPARSE = 3 (line 169)
TICKD_VERYSPARSE = 4 (line 170)
TTF_DIR = "/var/www/html/geschnuert/admin/lib/" (line 31)
USE_APPROX_COLORS = true (line 90)
USE_BRESENHAM = false (line 122)
USE_CACHE = false (line 62)
USE_IMAGE_ERROR_HANDLER = true (line 79)
USE_LIBRARY_GD2 = false (line 43)
USE_TRUECOLOR = false (line 54)
VERTICAL = 1 (line 217)
Functions
GenImgName (line 373)

Utility function to generate an image name based on the filename we

are running from AND assuming we use auto detection of graphic format (top level), i.e it is safe to call this function from a script that uses JpGraph

void GenImgName ()
sign (line 364)

Usefull mathematical function

void sign (mixed $a)

Documentation generated on Sun, 13 Mar 2005 14:25:02 +0100 by phpDocumentor 1.3.0RC3