title: Morris js Display values in percentage format
body: <p>I am drawing some charts for a school project pulling data from a mysql database.
  Here is what I've done so far:</p>
  
  <p><strong>DONUT CHARTS</strong></p>
  
  <p>JS CODE:</p>
  
  <pre><code>Morris.Donut({
      element: 'donut-quanti',
      data: [
      {label: "USE FACEBOOK", value: &lt;?php echo $fb_yes;?&gt; },
      {label: "DON'T USE FACEBOOK", value: &lt;?php echo $fb_no;?&gt;}
      ]
      });
  </code></pre>
  
  <p><strong>BAR CHARTS</strong></p>
  
  <p>JS CODE:</p>
  
  <pre><code>Morris.Bar({
          element: 'bars-status',
          data: [
          {x:'RARELY',a:&lt;?php echo $fb_rar;?&gt;},
          {x:'EV WEEK.',a:&lt;?php echo $fb_ew;?&gt;},
          {x:'EV DAY',a:&lt;?php echo $fb_ed;?&gt;},
          {x:'MULT. TIMES PER DAY',a:&lt;?php echo $fb_mtd;?&gt;}                   
          ],
          xkey:'x',
          ykeys:'a',
          labels:['TOTAL']
          });
  </code></pre>
  
  <p>Is there a way to display the numeric values (rapresented by the php variables $fb_*)  <strong>IN PERCENTAGE FORMAT from javascript code</strong>  (not echoing variable/total * 100 in php ) ?</p>