From c7fd0ce02d7da0885b39c5274f164def917e34d2 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Sat, 1 Mar 2014 14:16:38 +0100 Subject: [PATCH] [FIX] Proper Block graphs --- .../bootstrap/statistics/blocks/block_shares_graph.tpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/public/templates/bootstrap/statistics/blocks/block_shares_graph.tpl b/public/templates/bootstrap/statistics/blocks/block_shares_graph.tpl index b174fc87..68a3c8b1 100644 --- a/public/templates/bootstrap/statistics/blocks/block_shares_graph.tpl +++ b/public/templates/bootstrap/statistics/blocks/block_shares_graph.tpl @@ -12,11 +12,13 @@ $(function () { {if $GLOBAL.config.payout_system == 'pplns'} pplnsShares: {$BLOCKSFOUND[block].pplns_shares|default:"0"}, {/if} - {rdelim}, + {rdelim}, {/section} ]; - + Morris.Area({ + parseTime: false, + behaveLikeLine: true, element: 'block-area-chart', data: blockdata, xkey: 'blockHeight', @@ -26,9 +28,9 @@ $(function () { lineColors: ['#2D9C2F','#D58665','#2D619C','#FF0000'], pointFillColors: ['#FFFFFF'], hideHover: 'auto', - resize: true + resize: true, + fillOpacity: 0.25 }); - });