Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

{jr_google_analytics} Index {jr_gravatar}

{jr_graph}


The {jr_graph} Template Function is used for creating the <IMG> tag for generating a Jamroom System Stats Graph.

 

Parameters

Name Type Required Default Description
type string yes n/a The "type" parameter tells Jamroom the "type" of statistic you want to create a graph of.  Valid Values are:
♦ audio_plays - graph daily Audio Plays (streams + downloads)
♦ audio_streams - graph daily Audio Streams
♦ audio_downloads - graph daily Audio Downloads
♦ video_plays - graph daily Video Plays (streams + downloads)
♦ video_streams - graph daily Video Streams
♦ video_downloads - graph daily Video Downloads
♦ page_views - graph daily Page Views
width number no 300 The "width" parameter tells Jamroom how wide to make the graph image.
height number no 200 The "height" parameter tells Jamroom how tall to make the graph image.
title string no n/a The "title" parameter tells Jamroom to add a title to the graph.
range number no n/a The "range" parameter tells Jamroom how "far back" in days to graph.

 

Examples

showing the total number of Audio Streams for the last 20 days in a graph image:

{jr_graph type="audio_streams" range="20"}

{jr_google_analytics} page 124 of 171 {jr_gravatar}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network