oesmith/morris.js — Issue #37: Option to disable rounding of label values
Author: Uznick
Created: 2012-03-09 20:33:01+00:00
State: open

Now Morris drows a chart like http://cl.ly/0s0p0u283Z2f3j0J0A3Z for the code like

Morris.Line({
element: 'u_price_quotes',
data: [

{date: '2010-11-02', value: 10.83},
{date: '2010-11-03', value: 10.45},
{date: '2010-11-04', value: 10.60},
{date: '2010-11-05', value: 10.70}
],
xkey: 'date',
ykeys: ['value'],
labels: ['Series A']
});

So, the value is rounded when is displayed in the label. Is there any option to disable the rounding?