diff --git a/application/views/reports/graphs/pie.php b/application/views/reports/graphs/pie.php index 68946e04b..65aba8931 100644 --- a/application/views/reports/graphs/pie.php +++ b/application/views/reports/graphs/pie.php @@ -24,7 +24,22 @@ plugins: [ Chartist.plugins.tooltip({ - currency: 'config->item('currency_symbol'); ?>' + transformTooltipTextFnc: function(value) { + config->item('currency_side') ) + { + ?> + return value + 'config->item('currency_symbol'); ?>'; + + return 'config->item('currency_symbol'); ?>' + value; + + } }) ] };