CCBPGraph
in package
Class CCBPGraph Utility class to create Critical Chain Buffer penetration charts
Table of Contents
Constants
- NColorMaps : mixed = 2
- TickStep : mixed = 25
- XTitle : mixed = '% CC Completed'
- YTitle : mixed = '% Buffer used'
Methods
- __construct() : CCBPGraph
- Construct a new instance of CCBPGraph
- Add() : mixed
- Add a line or scatter plot to the graph
- SetColorIndication() : mixed
- Set the specification of the color backgrounds and also the optional exact colors to be used
- SetColorMap() : mixed
- Specify what color map to use
- SetTitle() : mixed
- Set the title and subtitle for the graph
- SetXMinMax() : mixed
- Set the x-axis min and max values
- SetYMinMax() : mixed
- Set the y-axis min and max values
- Stroke() : mixed
- Stroke the graph back to the client or to a file
Constants
NColorMaps
public
mixed
NColorMaps
= 2
TickStep
public
mixed
TickStep
= 25
XTitle
public
mixed
XTitle
= '% CC Completed'
YTitle
public
mixed
YTitle
= '% Buffer used'
Methods
__construct()
Construct a new instance of CCBPGraph
public
__construct(int $aWidth, int $aHeight) : CCBPGraph
Parameters
- $aWidth : int
- $aHeight : int
Return values
CCBPGraphAdd()
Add a line or scatter plot to the graph
public
Add(mixed $aPlots) : mixed
Parameters
- $aPlots : mixed
SetColorIndication()
Set the specification of the color backgrounds and also the optional exact colors to be used
public
SetColorIndication(mixed $aSpec[, mixed $aColors = null ]) : mixed
Parameters
- $aSpec : mixed
-
An array of 3 1x2 arrays. Each array specify the color indication value at x=0 and x=max x in order to determine the slope
- $aColors : mixed = null
-
An array with four elements specifying the colors of each color indicator
SetColorMap()
Specify what color map to use
public
SetColorMap(int $aMap) : mixed
Parameters
- $aMap : int
SetTitle()
Set the title and subtitle for the graph
public
SetTitle(string $aTitle, string $aSubTitle) : mixed
Parameters
- $aTitle : string
- $aSubTitle : string
SetXMinMax()
Set the x-axis min and max values
public
SetXMinMax(int $aMin, int $aMax) : mixed
Parameters
- $aMin : int
- $aMax : int
SetYMinMax()
Set the y-axis min and max values
public
SetYMinMax(int $aMin, int $aMax) : mixed
Parameters
- $aMin : int
- $aMax : int
Stroke()
Stroke the graph back to the client or to a file
public
Stroke([mixed $aFile = '' ]) : mixed
Parameters
- $aFile : mixed = ''