index.html -
0 bytes
jpg-config.inc -
8501 bytes
jpgraph.php -
415 functions/classes, 8015 lines, 257834 bytes
227: class JpGraphError;
228: function Install ($aErrObject);
232: function Raise ($aMsg,$aHalt=true);
259: function CheckGDVersion ();
303: class JpGraphErrObject;
308: function JpGraphErrObject ();
312: function SetTitle ($aTitle);
316: function SetStrokeDest ($aDest);
232: function Raise ($aMsg,$aHalt=true);
338: class JpGraphErrObjectImg extends JpGraphErrObject;
232: function Raise ($aMsg,$aHalt=true);
449: function _phpErrorHandler ($errno,$errmsg,$filename, $linenum, $vars);
470: function sign ($a);
476: function GenImgName ();
498: class LanguageConv;
501: function Convert ($aTxt,$aFF);
529: function iso2uni ($isoline);
540: class JpgTimer;
550: function JpgTimer ();
558: function Push ();
565: function Pop ();
576: class DateLocale;
590: function DateLocale ();
312: function Set ($aLocale);
637: function GetDayAbb ();
641: function GetShortDay ();
645: function GetShortMonth ();
649: function GetShortMonthName ($aNbr);
653: function GetLongMonthName ($aNbr);
657: function GetMonth ();
667: class FuncGenerator;
674: function FuncGenerator ($aFunc,$aXFunc='');
679: function E ($aXMin,$aXMax,$aSteps=50);
703: class Footer;
712: function Footer ();
721: function Stroke ($aImg);
739: class Graph;
813: function Graph ($aWidth=300,$aHeight=200,$aCachedName="",$aTimeOut=0,$aInline=true);
874: function Set3DPerspective ($aDir=1,$aHorizon=100,$aSkewDist=120,$aQuality=false,$aFillColor=' $this->iImgTrans = true; $this->iImgTransHorizon = $aHorizon; $this->iImgTransSkewDist= $aSkewDist; $this->iImgTransDirection = $aDir; $this->iImgTransMinSize = $aMinSize; $this->iImgTransFillColor=$aFillColor; $this->iImgTransHighQ=$aQuality; $this->iImgTransBorder=$aBorder; $this->iImgTransHorizonPos=$aHorizonPos; } function SetGridDepth($aDepth);
894: function SetAngle ($aAngle);
898: function SetAlphaBlending ($aFlg=true);
903: function SetMargin ($lm,$rm,$tm,$bm);
907: function SetY2OrderBack ($aBack=true);
913: function Set90AndMargin ($lm=0,$rm=0,$tm=0,$bm=0);
930: function SetClipping ($aFlg=true);
935: function Add (&$aPlot);
955: function AddIcon (&$aIcon);
966: function AddY2 (&$aPlot);
986: function AddText (&$aTxt,$aToY2=false);
1008: function AddLine (&$aLine,$aToY2=false);
1031: function AddBand (&$aBand,$aToY2=false);
1053: function SetBackgroundGradient ($aFrom='navy',$aTo='silver',$aGradType=2,$aStyle=BGRAD_FRAME);
1061: function SetBackgroundCFlag ($aName,$aBgType=BGIMG_FILLPLOT,$aMix=100);
1068: function SetBackgroundCountryFlag ($aName,$aBgType=BGIMG_FILLPLOT,$aMix=100);
1076: function SetBackgroundImage ($aFileName,$aBgType=BGIMG_FILLPLOT,$aImgFormat="auto");
1104: function SetBackgroundImageMix ($aMix);
1109: function AdjBackgroundImage ($aBright,$aContr=0,$aSat=0);
1116: function AdjImage ($aBright,$aContr=0,$aSat=0);
1123: function SetAxisStyle ($aStyle);
1128: function SetBox ($aDrawPlotFrame=true,$aPlotFrameColor=array(0,0,0),$aPlotFrameWeight=1);
1135: function SetColor ($aColor);
1140: function SetMarginColor ($aColor);
1145: function SetFrame ($aDrawImgFrame=true,$aImgFrameColor=array(0,0,0),$aImgFrameWeight=1);
1151: function SetFrameBevel ($aDepth=3,$aBorder=false,$aBorderColor='black',$aColor1='white@0.4',$aColor2='darkgray@0.4',$aFlg=true);
1163: function SetShadow ($aShowShadow=true,$aShadowWidth=5,$aShadowColor=array(102,102,102));
1173: function SetScale ($aAxisType,$aYMin=1,$aYMax=1,$aXMin=1,$aXMax=1);
1213: function SetY2Scale ($aAxisType="lin",$aY2Min=1,$aY2Max=1);
1236: function SetTickDensity ($aYDensity=TICKD_NORMAL,$aXDensity=TICKD_NORMAL);
1275: function GetCSIMareas ();
1319: function GetHTMLImageMap ($aMapName);
1326: function CheckCSIMCache ($aCacheName,$aTimeOut=60);
1374: function StrokeCSIM ($aScriptName='',$aCSIMName='',$aBorder=0);
1471: function GetTextsYMinMax ($aY2=false);
1498: function GetTextsXMinMax ($aY2=false);
1525: function GetXMinMax ();
1545: function AdjustMarginsForTitles ();
721: function Stroke ($aStrokeFileName="");
2018: function StrokeAxis ();
2096: function LoadBkgImage ($aImgFormat='',$aFile='');
2148: function StrokeBackgroundGrad ();
2178: function StrokeFrameBackground ();
2178: function StrokeFrame ();
2296: function FillMarginArea ();
2318: function FillPlotArea ();
2328: function StrokePlotArea ();
2354: function StrokeIcons ();
2361: function StrokePlotBox ();
2376: function SetTitleBackgroundFillStyle ($aStyle,$aColor1='black',$aColor2='white');
2376: function SetTitleBackground ($aBackColor='gray', $aStyle=TITLEBKG_STYLE1, $aFrameStyle=TITLEBKG_FRAME_NONE, $aFrameColor='black', $aFrameWeight=1, $aBevelHeight=3, $aEnable=true);
2393: function StrokeTitles ();
2554: function StrokeTexts ();
2570: function DisplayClientSideaImageMapAreas ();
2598: function AdjustSaturationBrightnessContrast ();
2607: function SetTextScaleOff ($aOff);
2613: function GetLinesYMinMax ( $aLines );
2631: function GetLinesXMinMax ( $aLines );
2649: function GetPlotsYMinMax (&$aPlots);
2671: class TTF;
2678: function TTF ();
2705: function File ($family,$style=FS_NORMAL);
2741: class LineProperty;
1135: function SetColor ($aColor);
2754: function SetWeight ($aWeight);
2758: function SetStyle ($aStyle);
2762: function Show ($aShow=true);
721: function Stroke ($aImg,$aX1,$aY1,$aX2,$aY2);
2784: class Text;
2804: function Text ($aTxt="",$aXAbsPos=0,$aYAbsPos=0);
312: function Set ($aTxt);
2821: function SetPos ($aXAbsPos=0,$aYAbsPos=0,$aHAlign="left",$aVAlign="top");
2826: function Pos ($aXAbsPos=0,$aYAbsPos=0,$aHAlign="left",$aVAlign="top");
2833: function SetScalePos ($aX,$aY);
2839: function Align ($aHAlign,$aVAlign="top",$aParagraphAlign="");
2847: function SetAlign ($aHAlign,$aVAlign="top",$aParagraphAlign="");
2852: function ParagraphAlign ($aAlign);
2857: function SetParagraphAlign ($aAlign);
1163: function SetShadow ($aShadowColor='gray',$aShadowWidth=3);
2867: function SetWordWrap ($aCol);
1128: function SetBox ($aFrameColor=array(255,255,255),$aBorderColor=array (0,0,0),$aShadowColor=false,$aCornerRadius=4,$aShadowWidth=3);
2889: function Hide ($aHide=true);
2762: function Show ($aShow=true);
2902: function SetFont ($aFamily,$aStyle=FS_NORMAL,$aSize=10);
2909: function Center ($aLeft,$aRight,$aYAbsPos=false);
1135: function SetColor ($aColor);
894: function SetAngle ($aAngle);
2926: function SetOrientation ($aDirection=0);
2937: function GetWidth ($aImg);
2944: function GetFontHeight ($aImg);
2951: function GetTextHeight ($aImg);
2957: function GetHeight ($aImg);
903: function SetMargin ($aMarg);
2970: function StrokeWithScale ($aImg,$axscale,$ayscale);
2982: function SetCSIMTarget ($aTarget,$aAlt=null);
1275: function GetCSIMareas ();
721: function Stroke ($aImg,$x=null,$y=null);
3036: class GraphTabTitle extends Text;
3040: function GraphTabTitle ();
1135: function SetColor ($aTxtColor,$aFillColor='lightyellow',$aBorderColor='black');
3052: function SetFillColor ($aFillColor);
3056: function SetTabAlign ($aAlign);
2821: function SetPos ($aAlign);
3065: function SetWidth ($aWidth);
312: function Set ($t);
3074: function SetCorner ($aD);
721: function Stroke ($aImg);
3164: class SuperScriptText extends Text;
3171: function SuperScriptText ($aTxt="",$aSuper="",$aXAbsPos=0,$aYAbsPos=0);
3176: function FromReal ($aVal,$aPrecision=2);
312: function Set ($aTxt,$aSuper="");
3205: function SetSuperFont ($aFontFam,$aFontStyle=FS_NORMAL,$aFontSize=8);
2937: function GetWidth (&$aImg);
2944: function GetFontHeight (&$aImg);
2951: function GetTextHeight (&$aImg);
721: function Stroke ($aImg,$ax=-1,$ay=-1);
3337: class Grid;
1135: function SetColor ($aMajColor,$aMinColor=false);
2754: function SetWeight ($aWeight);
3367: function SetLineStyle ($aType);
2762: function Show ($aShowMajor=true,$aShowMinor=false);
3052: function SetFill ($aFlg=true,$aColor1='lightgray',$aColor2='lightblue');
721: function Stroke ();
3400: function DoStroke (&$aTicksPos);
3483: class Axis;
3511: function Axis (&$img,&$aScale,$color=array(0,0,0));
3537: function SetLabelFormat ($aFormStr);
3541: function SetLabelFormatString ($aFormStr);
3545: function SetLabelFormatCallback ($aFuncName);
3549: function SetLabelAlign ($aHAlign,$aVAlign="top",$aParagraphAlign='left');
3556: function HideFirstTickLabel ($aShow=false);
3560: function HideLastTickLabel ($aShow=false);
3564: function HideTicks ($aHideMinor=true,$aHideMajor=true);
3570: function HideZeroLabel ($aFlag=true);
3575: function HideFirstLastLabel ();
2889: function Hide ($aHide=true);
3593: function HideLine ($aHide=true);
3597: function HideLabels ($aHide=true);
2754: function SetWeight ($aWeight);
1135: function SetColor ($aColor,$aLabelColor=false);
312: function SetTitle ($aTitle,$aAdjustAlign="high");
3621: function SetTitleMargin ($aMargin);
3626: function SetTitleSide ($aSideOfAxis);
3631: function SetTickDirection ($aDir);
3638: function SetTickSide ($aDir);
3643: function SetTickLabels ($aLabelArray,$aLabelColorArray=null);
3649: function SetTickLabelMargin ($aMargin);
3655: function SetLabelMargin ($aMargin);
3662: function SetTextTicks ($step,$start=0);
3668: function SetTextTickInterval ($aStep,$aStart=0);
3675: function SetTextLabelInterval ($aStep);
3682: function SetLabelPos ($aSidePos);
3689: function SetLabelSide ($aSidePos);
2902: function SetFont ($aFamily,$aStyle=FS_NORMAL,$aSize=10);
2821: function SetPos ($aPosOnOtherScale);
3706: function SetLabelAngle ($aAngle);
721: function Stroke ($aOtherAxisScale);
3790: function StrokeLabels ($aPos,$aMinor=false,$aAbsLabel=false);
3915: class Ticks;
3935: function Ticks (&$aScale);
3537: function SetLabelFormat ($aFormatString);
3947: function SetFormatCallback ($aCallbackFuncName);
3952: function SupressZeroLabel ($aFlag=true);
3957: function SupressMinorTickMarks ($aHide=true);
3962: function SupressTickMarks ($aHide=true);
3967: function SupressFirst ($aHide=true);
3972: function SupressLast ($aHide=true);
3977: function GetMinTickAbsSize ();
3982: function GetMajTickAbsSize ();
3986: function SetSize ($aMajSize,$aMinSize=3);
3992: function IsSpecified ();
312: function Set ($aMaj,$aMin);
4005: function SetPrecision ($aPrecision);
4011: function SetSide ($aSide);
4016: function SetDirection ($aSide=SIDE_RIGHT);
4021: function SetMarkColor ($aMajorColor,$aMinorColor="");
1135: function SetColor ($aMajorColor,$aMinorColor="");
2754: function SetWeight ($aWeight);
4045: class LinearTicks extends Ticks;
4053: function LinearTicks ();
4062: function GetMajor ();
4067: function GetMinor ();
312: function Set ($aMajStep,$aMinStep=false);
721: function Stroke (&$img,&$scale,$pos);
4275: function SetXLabelOffset ($aLabelOff,$aTickOff=-1);
4286: function SetTextLabelStart ($aTextLabelOff);
4293: class LinearScale;
4320: function LinearScale ($aMin=0,$aMax=0,$aType="y");
3992: function IsSpecified ();
4344: function SetAutoMin ($aMin);
4351: function SetAutoMax ($aMax);
4357: function SetAutoTicks ($aFlag=true);
4362: function SetGrace ($aGraceTop,$aGraceBottom=0);
4370: function GetMinVal ();
4375: function GetMaxVal ();
4380: function Update (&$aImg,$aMin,$aMax);
4387: function Translate ($aCoord);
4400: function RelTranslate ($aCoord);
4412: function SetIntScale ($aIntScale=true);
4417: function IntAutoScale (&$img,$min,$max,$maxsteps,$majend=true);
4541: function AutoScale (&$img,$min,$max,$maxsteps,$majend=true);
4652: function InitConstants (&$img);
4678: function SetConstants ($aStart,$aLen);
4712: function CalcTicks ($maxsteps,$min,$max,$a,$b,$majend=true);
4751: function CalcTicksFreeze ($maxsteps,$min,$max,$a,$b);
4774: function IntCalcTicks ($maxsteps,$min,$max,$a,$majend=true);
4815: function IntCalcTicksFreeze ($maxsteps,$min,$max,$a);
4843: function MatchMin3 ($a,$b,$c,$weight);
4857: class RGB;
4863: function RGB ($aImg=null);
5313: function Color ($aColor);
5388: function Equal ($aCol1,$aCol2);
5399: function Allocate ($aColor,$aAlpha=0.0);
5425: class Image;
253: function Image ($aWidth,$aHeight,$aFormat=DEFAULT_GFORMAT);
5466: function SetAntiAliasing ();
5470: function CreateRawCanvas ($aWidth=0,$aHeight=0);
5492: function CloneCanvasH ();
5499: function CreateImgCanvas ($aWidth=0,$aHeight=0);
5529: function CopyCanvasH ($aToHdl,$aFromHdl,$aToX,$aToY,$aFromX,$aFromY,$aWidth,$aHeight,$aw=-1,$ah=-1);
5529: function Copy ($fromImg,$toX,$toY,$fromX,$fromY,$toWidth,$toHeight,$fromWidth=-1,$fromHeight=-1);
5547: function CopyMerge ($fromImg,$toX,$toY,$fromX,$fromY,$toWidth,$toHeight,$fromWidth=-1,$fromHeight=-1,$aMix=100);
2937: function GetWidth ($aImg=null);
2957: function GetHeight ($aImg=null);
5587: function CreateFromString ($aStr);
5591: function SetCanvasH ($aHdl);
5596: function SetCanvasColor ($aColor);
898: function SetAlphaBlending ($aFlg=true);
5608: function SetAutoMargin ();
2902: function SetFont ($family,$style=FS_NORMAL,$size=10);
2951: function GetTextHeight ($txt="",$angle=0);
2944: function GetFontHeight ($angle=0);
5684: function GetFontWidth ($angle=0);
5690: function GetTextWidth ($txt,$angle=0);
5736: function StrokeBoxedText ($x,$y,$txt,$dir=0,$fcolor="white",$bcolor="black", $shadowcolor=false,$paragraph_align="left", $xmarg=6,$ymarg=4,$cornerradius=0,$dropwidth=3);
5805: function SetTextAlign ($halign,$valign="bottom");
5811: function _StrokeBuiltinFont ($x,$y,$txt,$dir=0,$paragraph_align="left",&$aBoundingBox,$aDebug=false);
5878: function AddTxtCR ($aTxt);
5891: function GetTTFBBox ($aTxt,$aAngle=0);
5899: function GetBBoxTTF ($aTxt,$aAngle=0);
5951: function GetBBoxHeight ($aTxt,$aAngle=0);
5956: function GetBBoxWidth ($aTxt,$aAngle=0);
5961: function _StrokeTTF ($x,$y,$txt,$dir=0,$paragraph_align="left",&$aBoundingBox,$debug=false);
2554: function StrokeText ($x,$y,$txt,$dir=0,$paragraph_align="left",$debug=false);
903: function SetMargin ($lm,$rm,$tm,$bm);
6168: function SetTransparent ($color);
1135: function SetColor ($color,$aAlpha=0);
6201: function PushColor ($color);
6213: function PopColor ();
6223: function AdjSat ($sat);
6229: function _AdjSat ($img,$sat);
6241: function AdjBrightContrast ($bright,$contr=0);
6247: function _AdjBrightContrast ($img,$bright,$contr=0);
6276: function AdjRGBSat ($rgb,$sat);
6313: function AdjRGBBrightContrast ($rgb,$bright,$contr);
6335: function SetLineWeight ($weight);
6339: function SetStartPoint ($x,$y);
6344: function Arc ($cx,$cy,$w,$h,$s,$e);
6353: function FilledArc ($xc,$yc,$w,$h,$s,$e,$style="");
6432: function FilledCakeSlice ($cx,$cy,$w,$h,$s,$e);
6436: function CakeSlice ($xc,$yc,$w,$h,$s,$e,$fillcolor="",$arccolor="");
6464: function Ellipse ($xc,$yc,$w,$h);
6471: function BresenhamCircle ($xc,$yc,$r);
6495: function Circle ($xc,$yc,$r);
6525: function FilledCircle ($xc,$yc,$r);
6542: function lip ($f,$t,$p);
6552: function WuLine ($x1,$y1,$x2,$y2);
3367: function SetLineStyle ($s);
6631: function StyleLine ($x1,$y1,$x2,$y2);
4053: function Line ($x1,$y1,$x2,$y2);
6707: function Polygon ($p,$closed=FALSE,$fast=FALSE);
6733: function FilledPolygon ($pts);
6743: function Rectangle ($xl,$yu,$xr,$yl);
6747: function FilledRectangle ($xl,$yu,$xr,$yl);
6751: function FilledRectangle2 ($xl,$yu,$xr,$yl,$color1,$color2,$style=1);
6780: function ShadowRectangle ($xl,$yu,$xr,$yl,$fcolor=false,$shadow_width=3,$shadow_color=array(102,102,102));
6798: function FilledRoundedRectangle ($xt,$yt,$xr,$yl,$r=5);
6829: function RoundedRectangle ($xt,$yt,$xr,$yl,$r=5);
6853: function FilledBevel ($x1,$y1,$x2,$y2,$depth=2,$color1='white@0.4',$color2='darkgray@0.4');
6858: function Bevel ($x1,$y1,$x2,$y2,$depth=2,$color1='white@0.4',$color2='black@0.5');
6874: function StyleLineTo ($x,$y);
6880: function LineTo ($x,$y);
6886: function Point ($x,$y);
2296: function Fill ($x,$y);
6894: function FillToBorder ($x,$y,$aBordColor);
6903: function DashedLine ($x1,$y1,$x2,$y2,$dash_length=1,$dash_space=4);
6931: function SetExpired ($aFlg=true);
6936: function Headers ();
6963: function SetQuality ($q);
6968: function Stream ($aFile="");
6985: function Destroy ();
6991: function SetImgFormat ($aFormat);
7035: class RotImage extends Image;
7040: function RotImage ($aWidth,$aHeight,$a=0,$aFormat=DEFAULT_GFORMAT);
7047: function SetCenter ($dx,$dy);
7056: function SetTranslation ($dx,$dy);
7063: function UpdateRotMatrice ();
894: function SetAngle ($a);
6495: function Circle ($xc,$yc,$r);
6525: function FilledCircle ($xc,$yc,$r);
6344: function Arc ($xc,$yc,$w,$h,$s,$e);
6353: function FilledArc ($xc,$yc,$w,$h,$s,$e);
903: function SetMargin ($lm,$rm,$tm,$bm);
7121: function Rotate ($x,$y);
7133: function ArrRotate ($pnts);
4053: function Line ($x1,$y1,$x2,$y2);
6743: function Rectangle ($x1,$y1,$x2,$y2);
6747: function FilledRectangle ($x1,$y1,$x2,$y2);
6707: function Polygon ($pnts,$closed=FALSE,$fast=false);
6733: function FilledPolygon ($pnts);
6886: function Point ($x,$y);
2554: function StrokeText ($x,$y,$txt,$dir=0,$paragraph_align="left",$debug=false);
7178: class ImgStreamCache;
7199: function SetTimeout ($aTimeout);
7204: function PutAndStream (&$aImage,$aCacheFileName,$aInline,$aStrokeFileName);
7290: function GetAndStream ($aCacheFileName);
7313: function MakeDirs ($aFile);
7339: class Legend;
7363: function Legend ();
2889: function Hide ($aHide=true);
7372: function SetHColMargin ($aXMarg);
7376: function SetVColMargin ($aSpacing);
7380: function SetLeftMargin ($aXMarg);
7386: function SetLineSpacing ($aSpacing);
1163: function SetShadow ($aShow='gray',$aWidth=2);
7400: function SetMarkAbsSize ($aSize);
6335: function SetLineWeight ($aWeight);
7408: function SetFrameWeight ($aWeight);
7412: function SetLayout ($aDirection=LEGEND_VERT);
7416: function SetColumns ($aCols);
7420: function SetReverse ($f=true);
1135: function SetColor ($aFontColor,$aColor='black');
2902: function SetFont ($aFamily,$aStyle=FS_NORMAL,$aSize=10);
2821: function SetPos ($aX,$aY,$aHAlign="right",$aVAlign="top");
7440: function SetAbsPos ($aX,$aY,$aHAlign="right",$aVAlign="top");
2826: function Pos ($aX,$aY,$aHAlign="right",$aVAlign="top");
3052: function SetFillColor ($aColor);
935: function Add ($aTxt,$aColor,$aPlotmark="",$aLinestyle=0,$csimtarget="",$csimalt="");
1275: function GetCSIMAreas ();
721: function Stroke (&$aImg);
7666: class DisplayValue;
2762: function Show ($aFlag=true);
1135: function SetColor ($aColor,$aNegcolor="");
2902: function SetFont ($aFontFamily,$aFontStyle=FS_NORMAL,$aFontSize=10);
903: function SetMargin ($aMargin);
894: function SetAngle ($aAngle);
2847: function SetAlign ($aHAlign,$aVAlign='');
3947: function SetFormat ($aFormat,$aNegFormat="");
3947: function SetFormatCallback ($aFunc);
3570: function HideZero ($aFlag=true);
721: function Stroke ($img,$aVal,$x,$y);
1007: class Plot;
668: function Plot (&$aDatay,$aDatax=false);
721: function Stroke (&$aImg,&$aXScale,&$aYScale);
7814: function HideLegend ($f=true);
7818: function DoLegend (&$graph);
7823: function StrokeDataValue ($img,$aVal,$x,$y);
7828: function SetCSIMTargets ($aTargets,$aAlts=null);
1275: function GetCSIMareas ();
7840: function PreStrokeAdjust (&$aGraph);
7847: function Min ();
7878: function Max ();
1135: function SetColor ($aColor);
7915: function SetLegend ($aLegend,$aCSIM="",$aCSIMAlt="");
2754: function SetWeight ($aWeight);
6335: function SetLineWeight ($aWeight=1);
7047: function SetCenter ($aCenter=true);
7935: function StrokeMargin (&$aImg);
7363: function Legend (&$aGraph);
1007: class PlotLine;
7964: function PlotLine ($aDir=HORIZONTAL,$aPos=0,$aColor="black",$aWeight=1);
7973: function SetPosition ($aScalePosition);
4016: function SetDirection ($aDir);
1135: function SetColor ($aColor);
2754: function SetWeight ($aWeight);
7840: function PreStrokeAdjust ($aGraph);
721: function Stroke (&$aImg,&$aXScale,&$aYScale);
jpgraph_gantt.php -
126 functions/classes, 3715 lines, 131928 bytes
126: function array_fill ($iStart, $iLen, $vValue);
136: class GanttActivityInfo;
152: function GanttActivityInfo ();
156: function Hide ($aF=true);
160: function Show ($aF=true);
165: function SetFont ($aFFamily,$aFStyle=FS_NORMAL,$aFSize=10);
171: function SetStyle ($aStyle);
175: function SetColumnMargin ($aLeft,$aRight);
180: function SetFontColor ($aFontColor);
184: function SetColor ($aColor);
188: function SetBackgroundColor ($aColor);
192: function SetColTitles ($aTitles,$aWidth=null);
197: function SetMinColWidth ($aWidths);
211: function GetWidth ($aImg);
235: function GetColStart ($aImg,&$ioStart,$aAddLeftMargin=false);
245: function SetHeaderAlign ($aAlign);
249: function Stroke ($aImg,$aXLeft,$aYTop,$aXRight,$aYBottom,$aUseTextHeight=false);
327: class GanttGraph extends Graph;
341: function GanttGraph ($aWidth=0,$aHeight=0,$aCachedName="",$aTimeOut=0,$aInline=true);
367: function SetSimpleFont ($aFont,$aSize);
372: function SetSimpleStyle ($aBand,$aColor,$aBkgColor);
379: function CreateSimple ($data,$constrains=array(),$progress=array ());
470: function ShowHeaders ($aFlg);
476: function SetLabelVMarginFactor ($aVal);
481: function SetVMarginFactor ($aVal);
487: function Add ($aObject);
510: function SetScale ();
516: function SetDateRange ($aStart,$aEnd);
530: function GetMaxLabelWidth ();
550: function GetMaxLabelHeight ();
563: function GetMaxBarAbsHeight ();
575: function GetBarMaxLineNumber ();
587: function GetBarMinMax ();
617: function AutoSize ();
865: function GetMaxActInfoColWidth ();
249: function Stroke ($aStrokeFileName="");
2019: function SetTableTitleBackground ($aColor);
2027: function GetHeaderHeight ();
2058: function GetDayWidth ();
2063: function GetHourWidth ();
2067: function GetMinuteWidth ();
2072: function GetNumDaysInYear ($aYear);
2080: function GetWeekNbr ($aDate);
2115: function IsLeap ($aYear);
2125: function GetYear ($aDate);
2130: function GetNumDaysInMonth ($aMonth,$aYear);
2140: function GetMonthDayNbr ($aDate);
2145: function GetYearDayNbr ($aDate);
2150: function GetMonthNbr ($aDate);
2155: function TranslateDate ($aDate);
2181: function TranslateVertPos ($aPos);
2197: function GetVertSpacing ();
2202: function NormalizeDate ($aDate);
2215: function TimeToMinutes ($aTimeString);
2232: function StrokeMinutes ($aYCoord,$getHeight=false);
2326: function StrokeHours ($aYCoord,$getHeight=false);
2412: function StrokeDays ($aYCoord,$getHeight=false);
2530: function StrokeWeeks ($aYCoord,$getHeight=false);
2604: function GetMonthLabel ($aMonthNbr,$year);
2634: function StrokeMonths ($aYCoord,$getHeight=false);
2701: function StrokeYears ($aYCoord,$getHeight=false);
2760: function StrokeTableHeaders ($aYBottom);
249: function Stroke ();
2855: class GanttConstraint;
2867: function GanttConstraint ($aRow,$aType,$aColor,$aArrowSize,$aArrowType);
2878: class GanttPlotObject;
2892: function GanttPlotObject ();
1067: function GetCSIMArea ();
1491: function SetCSIMTarget ($aTarget,$aAlt='');
1500: function SetCSIMAlt ($aAlt);
2924: function SetConstrain ($aRow,$aType,$aColor='black',$aArrowSize=ARROW_S2,$aArrowType=ARROWT_SOLID);
2928: function SetConstrainPos ($xt,$yt,$xb,$yb);
2938: function GetMinDate ();
2942: function GetMaxDate ();
2946: function SetCaptionMargin ($aMarg);
2950: function GetAbsHeight ($aImg);
2954: function GetLineNbr ();
2958: function SetLabelLeftMargin ($aOff);
2962: function StrokeActInfo ($aImg,$aScale,$aYPos);
2970: class Progress;
165: function Set ($aProg);
2985: function SetPattern ($aPattern,$aColor="blue",$aDensity=98);
2991: function SetFillColor ($aColor);
2995: function SetHeight ($aHeight);
3004: class HorizontalGridLine;
3014: function HorizontalGridLine ();
160: function Show ($aShow=true);
3024: function SetRowFillColor ($aColor1,$aColor2='');
3029: function SetStart ($aStart);
249: function Stroke ($aImg,$aScale);
3086: class GanttBar extends GanttPlotObject;
3096: function GanttBar ($aPos,$aLabel,$aStart,$aEnd,$aCaption="",$aHeightFactor=0.6);
3124: function SetShadow ($aShadow=true,$aColor="gray");
2942: function GetMaxDate ();
2995: function SetHeight ($aHeight);
184: function SetColor ($aColor);
2991: function SetFillColor ($aColor);
2950: function GetAbsHeight ($aImg);
2985: function SetPattern ($aPattern,$aColor="blue",$aDensity=95);
249: function Stroke ($aImg,$aScale);
3316: class MileStone extends GanttPlotObject;
3321: function MileStone ($aVPos,$aLabel,$aDate,$aCaption="");
2950: function GetAbsHeight ($aImg);
249: function Stroke ($aImg,$aScale);
3402: class TextPropertyBelow extends TextProperty;
3403: function TextPropertyBelow ($aTxt='');
1605: function GetColWidth ($aImg,$margin);
3414: class GanttVLine extends GanttPlotObject;
3421: function GanttVLine ($aDate,$aTitle="",$aColor="black",$aWeight=3,$aStyle="dashed");
3435: function SetDayOffset ($aOff=0.5);
3441: function SetTitleMargin ($aMarg);
249: function Stroke ($aImg,$aScale);
3461: class LinkArrow;
3471: function LinkArrow ($x,$y,$aDirection,$aType=ARROWT_SOLID,$aSize=ARROW_S2);
184: function SetColor ($aColor);
3483: function SetSize ($aSize);
3487: function SetType ($aType);
249: function Stroke ($aImg);
3530: class GanttLink;
3540: function GanttLink ($x1=0,$y1=0,$x2=0,$y2=0);
3547: function SetPos ($x1,$y1,$x2,$y2);
3554: function SetPath ($aPath);
184: function SetColor ($aColor);
3562: function SetArrow ($aSize,$aType=ARROWT_SOLID);
3567: function SetWeight ($aWeight);
249: function Stroke ($aImg);
jpgraph_gradient.php -
6 functions/classes, 377 lines, 11794 bytes
28: class Gradient;
37: function Gradient (&$img);
42: function SetNumColors ($aNum);
54: function FilledRectangle ($xl,$yt,$xr,$yb,$from_color,$to_color,$style=1);
283: function FilledFlatPolygon ($pts,$from_color,$to_color);
345: function GetColArray ($from_color,$to_color,$arr_size,&$colors,$numcols=100);
jpgraph_iconplot.php -
17 functions/classes, 147 lines, 4433 bytes
14: class IconPlot;
26: function IconPlot ($aFile="",$aX=0,$aY=0,$aScale=1.0,$aMix=100);
37: function SetCountryFlag ($aFlag,$aX=0,$aY=0,$aScale=1.0,$aMix=100,$aStdSize=3);
49: function SetPos ($aX,$aY);
54: function SetScale ($aScale);
58: function SetMix ($aMix);
65: function SetAnchor ($aXAnchor='left',$aYAnchor='center');
74: function PreStrokeAdjust ($aGraph);
78: function DoLegend ($aGraph);
82: function Max ();
90: function GetMaxDate ();
91: function GetMinDate ();
92: function GetLineNbr ();
93: function GetAbsHeight ();
96: function Min ();
100: function StrokeMargin (&$aImg);
100: function Stroke ($aImg);
jpgraph_plotband.php -
53 functions/classes, 632 lines, 19120 bytes
24: class Rectangle;
27: function Rectangle ($aX,$aY,$aWidth,$aHeight);
38: class RectPattern;
52: function RectPattern ($aColor,$aWeight=1);
57: function SetBackground ($aBackgroundColor);
61: function SetPos (&$aRect);
65: function ShowFrame ($aShow=true);
69: function SetDensity ($aDens);
78: function Stroke (&$aImg);
105: class RectPatternSolid extends RectPattern;
107: function RectPatternSolid ($aColor="black",$aWeight=1);
111: function DoPattern (&$aImg);
122: class RectPatternHor extends RectPattern;
124: function RectPatternHor ($aColor="black",$aWeight=1,$aLineSpacing=7);
111: function DoPattern (&$aImg);
144: class RectPatternVert extends RectPattern;
147: function RectPatternVert ($aColor="black",$aWeight=1,$aLineSpacing=7);
111: function DoPattern (&$aImg);
171: class RectPatternRDiag extends RectPattern;
174: function RectPatternRDiag ($aColor="black",$aWeight=1,$aLineSpacing=12);
111: function DoPattern (&$aImg);
241: class RectPatternLDiag extends RectPattern;
244: function RectPatternLDiag ($aColor="black",$aWeight=1,$aLineSpacing=12);
111: function DoPattern (&$aImg);
306: class RectPattern3DPlane extends RectPattern;
312: function RectPattern3DPlane ($aColor="black",$aWeight=1);
317: function SetHorizon ($aHorizon);
111: function DoPattern (&$aImg);
423: class RectPatternCross extends RectPattern;
426: function RectPatternCross ($aColor="black",$aWeight=1);
432: function SetOrder ($aDepth);
61: function SetPos (&$aRect);
69: function SetDensity ($aDens);
111: function DoPattern (&$aImg);
459: class RectPatternDiagCross extends RectPattern;
462: function RectPatternDiagCross ($aColor="black",$aWeight=1);
432: function SetOrder ($aDepth);
61: function SetPos (&$aRect);
69: function SetDensity ($aDens);
111: function DoPattern (&$aImg);
492: class RectPatternFactory;
496: function RectPatternFactory ();
499: function Create ($aPattern,$aColor,$aWeight=1);
534: class PlotBand;
544: function PlotBand ($aDir,$aPattern,$aMin,$aMax,$aColor="black",$aWeight=1,$aDepth=DEPTH_BACK);
61: function SetPos (&$aRect);
65: function ShowFrame ($aFlag=true);
432: function SetOrder ($aDepth);
69: function SetDensity ($aDens);
574: function GetDir ();
578: function GetMin ();
582: function GetMax ();
78: function Stroke (&$aImg,&$aXScale,&$aYScale);
jpgraph_plotmark.inc -
14215 bytes