diff --git a/application/views/reports/graphs/hbar.php b/application/views/reports/graphs/hbar.php index 518ca31f4..3414d9aaf 100644 --- a/application/views/reports/graphs/hbar.php +++ b/application/views/reports/graphs/hbar.php @@ -29,7 +29,25 @@ axisX: { // Lets offset the chart a bit from the labels offset: 120, - position: 'end' + position: 'end', + // The label interpolation function enables you to modify the values + // used for the labels on each axis. + labelInterpolationFnc: function(value) { + config->item('currency_side') ) + { + ?> + return value + 'config->item('currency_symbol'); ?>'; + + return 'config->item('currency_symbol'); ?>' + value; + + } }, // Y-Axis specific configuration