Provides a SVG chart function for swQuery.
Obsolete. Use inc/functions/charts.php
Uses chartist.js
Creates Javascript code to render an SVG on the page.
@param $rows values in swQuery format
@param $options First word: BAR, LINE, PIE. Can have json style options in the following
$chartid, $charttype, $fields, $labels, $options, $result, $rows, $values
Short variables: $i, $n, $row, $v
array, file, math, string