Function __global->stats_generate_graph

Definitions

sources/stats.php

  • Generate a stats graph.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$graph_name string required parameter N/A N/A Graph name
$filters array [] N/A N/A Filter settings to take precedence
$pivot ?mixed Null N/A N/A Pivot value to take precedence (null: none)
$hook_ob ?object Null N/A N/A Hook object (null: look it up using $graph_name)
$graph_details ?array Null N/A N/A Graph details (null: look it up using $graph_name)
$graph_final_details ?array Null N/A N/A Graph data (null: look it up using $graph_name etc)
$for_kpi boolean False N/A N/A Whether this is for setting up a KPI

Return

  • Graph
  • Type: Tempcode
  • Set: N/A
  • Range: N/A