PHP Class PointGraph, GotCms

Inheritance: extends GridGraph
Show file Open project: gotcms/gotcms Class Usage Examples

Protected Methods

Method Description
AddMarker ( $x, $y, $key, $value, $extra = NULL, $set ) Adds a marker to the list
AddMarkerAttr ( $key, $value, $set ) Adds an attribute common to all markers
CrossHairs ( ) Changes to crosshair cursor by overlaying a transparent rectangle
DrawLegendEntry ( $set, $x, $y, $w, $h ) Return a centred marker for the given set
DrawMarkerSet ( $set, &$marker_data ) Draws a single set of markers
DrawMarkers ( ) Draws (linked) markers on the graph

Private Methods

Method Description
CreateMarkers ( ) Creates the marker types
GetMarker ( $marker, $set ) Returns a marker element

Method Details

AddMarker() protected method

Adds a marker to the list
protected AddMarker ( $x, $y, $key, $value, $extra = NULL, $set )

AddMarkerAttr() protected method

Adds an attribute common to all markers
protected AddMarkerAttr ( $key, $value, $set )

CrossHairs() protected method

Changes to crosshair cursor by overlaying a transparent rectangle
protected CrossHairs ( )

DrawLegendEntry() protected method

Return a centred marker for the given set
protected DrawLegendEntry ( $set, $x, $y, $w, $h )

DrawMarkerSet() protected method

Draws a single set of markers
protected DrawMarkerSet ( $set, &$marker_data )

DrawMarkers() protected method

Draws (linked) markers on the graph
protected DrawMarkers ( )