morrisjs / morris.js

Pretty time-series line graphs
http://morrisjs.github.com/morris.js/
6.91k stars 1.23k forks source link

How to show two value inside bubble of single line bar graph #738

Open ashishkatoch opened 6 years ago

ashishkatoch commented 6 years ago

Hi There,

I am having an issue of showing multiple values in line bar chart. Please find attachment. Morris.Bar({ element : 'bar-chart', data: [ <?php echo $chart_data ?> ], xkey: 'days', ykeys: ['percentage'], xLabels:"day", xLabelMargin: 1, labels: ['Conversion rate'], hideHover:'auto', stacked:true, ymax: 100, barColors:['#2AAEA0'], units: '%' }); a