diff --git a/templates/base.html b/templates/base.html
index b3bbe0f..d892d4b 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -170,13 +170,13 @@
-
+
平台簡介
diff --git a/templates/result_view.html b/templates/result_view.html
index 4ff7be1..24afea4 100644
--- a/templates/result_view.html
+++ b/templates/result_view.html
@@ -122,15 +122,15 @@
資產權重變化
-
+
投組價值走勢
-
+
投組季報酬率
-
+
@@ -153,7 +153,10 @@
'title': {'text': ''},
'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], 'title':''},
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title':''},
- 'margin': {'l': 50, 'r': 50, 't': 20, 'b': 50}
+ 'margin': {'l': 50, 'r': 50, 't': 10, 'b': 50},
+ 'legend': {'yanchor': 'bottom', 'y': 1.3, 'xanchor': 'left', 'x': 0, 'orientation':'h',
+ 'font': {'size':8}
+ }
};
const rlayout = {
'autosize': true,
@@ -161,7 +164,7 @@
'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], 'title':''},
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title':''},
'margin': {'l': 20, 'r': 10, 't': 50, 'b': 50},
- 'legend': {'yanchor': 'top', 'y': 1.2, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'}
+ 'legend': {'yanchor': 'top', 'y': 1.3, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'}
};
const blayout = {
'autosize': true,
@@ -169,7 +172,7 @@
'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], 'title':''},
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title':''},
'margin': {'l': 40, 'r': 10, 't': 50, 'b': 70},
- 'legend': {'yanchor': 'top', 'y': 1.2, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'}
+ 'legend': {'yanchor': 'top', 'y': 1.3, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'}
};
var w = {{ data.weight|safe }};
var r = {{ data.ret|safe }};