Constructor: stats.storyStats
Contains statistics about a story.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
views_graph | StatsGraph | Yes | A graph containing the number of story views and shares |
reactions_by_emotion_graph | StatsGraph | Yes | A bar graph containing the number of story reactions categorized by “emotion” (i.e. Positive, Negative, Other, etc…) |
Type: stats.StoryStats
Example:
$stats_storyStats = ['_' => 'stats.storyStats', 'views_graph' => StatsGraph, 'reactions_by_emotion_graph' => StatsGraph];