Event | Count |
0 )
{
$Total = 0;
$Other = 0;
$Rows = 0;
foreach ($CountData as $Id => $Count)
{
if (CalendarEvents_Event::ItemExists($Id))
{
$Event = new CalendarEvents_Event($Id);
$Total += $Count;
if ($Rows < 20)
{
$Rows++;
?>Get("Title"); ?> |
|
0)
print "Other | ".$Other." |
";
print "Total | ".$Total." |
";
}
else
{
?>(no for this period) |
Period: "
.date("M j Y", strtotime($StartDate))." - " .date("M j Y")
." | ";
?>
XLabel("Date");
$EventsAddedGraph->YLabel("New Events per Day");
$ViewsGraph = new Graph(Graph::TYPE_DATE_BAR, $H_ViewsByDay);
$ViewsGraph->XLabel("Date");
$ViewsGraph->YLabel("Event Views");
$SharesGraph = new Graph(Graph::TYPE_DATE_BAR, $H_SharesByDay);
$SharesGraph->XLabel("Date");
$SharesGraph->YLabel("Event Shares");
$SharesGraph->Legend( array(
"Email", "Facebook", "Twitter", "LinkedIn", "GooglePlus") );
$SharesGraph->Scale( Graph::WEEKLY );
?>
Event Usage Metrics
Title("New Events
");
$EventsAddedGraph->Display();
?>
Title("Event Views
");
$ViewsGraph->Display();
?>
Title("Event Shares
");
$SharesGraph->Display();
?>