tce_functions_svg_graph.php

Function to create an SVG graph for user results.

Source: shared/code/tce_functions_svg_graph.php

Function to create an SVG graph for user results.

Functions

F_getSVGGraph()

Replace angular parenthesis with html equivalents (html entities).

function F_getSVGGraph(mixed $p, mixed $w = '', mixed $h = ''): converted

Parameters:

  • $p (mixed): (string) String containing point data.
  • $w (mixed): (int) Graph width.
  • $h (mixed): (int) Graph height.

Returns: converted: string

Source: shared/code/tce_functions_svg_graph.php:157

F_getSVGGraphCode()

Replace angular parenthesis with html equivalents (html entities).

function F_getSVGGraphCode(mixed $p, mixed $w = '', mixed $h = ''): converted

Parameters:

  • $p (mixed): (string) String containing point data.
  • $w (mixed): (int) Graph width.
  • $h (mixed): (int) Graph height.

Returns: converted: string

Source: shared/code/tce_functions_svg_graph.php:30