Event | Count |
0) {
$Total = 0;
$Other = 0;
$Rows = 0;
foreach ($CountData as $Id => $Count) {
if (Event::ItemExists($Id)) {
$Event = new Event($Id);
$Total += $Count;
if ($Rows < 20) {
$Rows++;
?>= $Event->Get("Title"); ?> |
= $Count; ?> |
0) {
print "Other | ".$Other." |
";
}
print "Total | ".$Total." |
";
} else {
?>(no = $Caption; ?> for this period) |
Period: "
.date("M j Y", strtotime($StartDate))." - " .date("M j Y")
." | ";
?>
Data($H_EventsAddedPerDay);
$EventsAddedGraph->LegendPosition(BarChart::LEGEND_NONE);
$EventsAddedGraph->Labels(["New Events"]);
$EventsAddedGraph->Width(800);
$ViewsGraph = new MultiDateChart();
$ViewsGraph->Data($H_ViewsByDay);
$ViewsGraph->LegendPosition(BarChart::LEGEND_NONE);
$ViewsGraph->Labels(["Event Views"]);
$ViewsGraph->Width(800);
$SharesGraph = new MultiDateChart();
$SharesGraph->Data($H_SharesByDay);
$SharesGraph->Labels($H_ShareTypeLabels);
$SharesGraph->Colors($H_ShareTypeColors);
$SharesGraph->Width(800);
?>
Event Usage Metrics
New Events
Display("new_events"); ?>
Event Views
Display("event_views"); ?>
Event Shares
Display("event_shares"); ?>