From d74e86118cb5956a6f8e86e48a301315844c1a1a Mon Sep 17 00:00:00 2001
From: znafca <36641122+znafca@users.noreply.github.com>
Date: Fri, 17 Jan 2020 13:57:03 +0100
Subject: [PATCH] Update charts.html
---
app/templates/pages/charts.html | 72 +++++++++++++++++++++++++--------
1 file changed, 56 insertions(+), 16 deletions(-)
diff --git a/app/templates/pages/charts.html b/app/templates/pages/charts.html
index fad11c9..cb819b2 100644
--- a/app/templates/pages/charts.html
+++ b/app/templates/pages/charts.html
@@ -9,14 +9,43 @@
-
+ {% for coin, coindata in linecharts_dict.items() %}
+ {% for chart, chartdata in coindata['market_data'].items() %}
+
+
+
+
+
{{ chart }}
+
+
+
+
+ {% for change_name, value in chartdata['Change Percentage'].items() %}
+
+ {{ value }}%
+ {% if value >= 0 %}
+
+ {% else %}
+
+ {% endif %}
+
+ {{ change_name }}
+
+ {% endfor %}
+
+
+
+
+
+ {% endfor %}
+ {% endfor %}
Area Chart
@@ -33,14 +62,25 @@ Scatter Chart
-
+
+ {% for coin, coindata in barcharts_dict.items() %}
+
+ {% for chart, chartdata in coindata['market_data'].items() %}
+
+ {% endfor %}
+
+ {% endfor %}
+