From a8e591f7f71104889c94ebffdfa83ef5a55c1691 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 10 Aug 2015 15:47:08 +0200 Subject: [PATCH] New graphs for user and platform by stream type. Add totals to tooltips when more than one series on graph. --- data/interfaces/default/graphs.html | 92 ++++++++++-- .../default/js/graphs/plays_by_month.js | 2 +- .../plays_by_platform_by_stream_type.js | 73 ++++++++++ .../js/graphs/plays_by_user_by_stream_type.js | 73 ++++++++++ plexpy/graphs.py | 132 +++++++++++++++++- plexpy/webserve.py | 24 ++++ 6 files changed, 386 insertions(+), 10 deletions(-) create mode 100644 data/interfaces/default/js/graphs/plays_by_platform_by_stream_type.js create mode 100644 data/interfaces/default/js/graphs/plays_by_user_by_stream_type.js diff --git a/data/interfaces/default/graphs.html b/data/interfaces/default/graphs.html index 911d1608..a9f27718 100644 --- a/data/interfaces/default/graphs.html +++ b/data/interfaces/default/graphs.html @@ -156,6 +156,34 @@ +
+
+

Play count by platform and stream type Last 30 days

+

+ The combined total of movies and tv by platform and stream type. +

+
+
+
Loading chart... +
+
+
+
+
+
+

Play count by user and stream type Last 30 days

+

+ The combined total of movies and tv by user and stream type. +

+
+
+
Loading chart... +
+
+
+
+
+
@@ -226,6 +254,8 @@ + +