title: how to pass data from database in morris chart?
body: <p>I use Morris chart to show chart of my table in database.
  I use bellow code to controller:</p>
  
  <pre><code> public ActionResult Diagram()
      {
          var mc = from mon in db.tblMonthConsumes
                   where monID == 37
                   select new
                   {
                       data = mon.MonthConsume,
                       value = mon.MonthConsumeDate
                   };
  
          return Json(mc, JsonRequestBehavior.AllowGet);
  
          }
  </code></pre>
  
  <p>and in my view:</p>
  
  <pre><code>&lt;script&gt;
  $.get('@Url.Action("Diagram")', function (result) {
      new Morris.Line({
          data: result,
          xkey: 'data',
          ykeys: ['value']
      });
  });
  </code></pre>
  
  <p></p>
  
  <p>but when run this in browser:</p>
  
  <blockquote>
    <p>[{"data":null,"value":"/Date(1419062400000)/"},{"data":0,"value":"/Date(1421827200000)/"},{"data":0,"value":"/Date(1424419200000)/"},{"data":0,"value":"/Date(1426834800000)/"},{"data":0,"value":"/Date(1429513200000)/"},{"data":0,"value":"/Date(1432105200000)/"},{"data":77,"value":"/Date(1379746800000)/"},{"data":444,"value":"/Date(1384934400000)/"},{"data":0,"value":"/Date(1390291200000)/"},{"data":0,"value":"/Date(1392883200000)/"},{"data":0,"value":"/Date(1398495600000)/"},{"data":0,"value":"/Date(1400569200000)/"},{"data":0,"value":"/Date(1403506800000)/"},{"data":0,"value":"/Date(1405839600000)/"},{"data":0,"value":"/Date(1408604400000)/"},{"data":0,"value":"/Date(1411455600000)/"},{"data":0,"value":"/Date(1416643200000)/"},{"data":0,"value":"/Date(1421740800000)/"},{"data":0,"value":"/Date(1425110400000)/"},{"data":0,"value":"/Date(1427526000000)/"},{"data":333,"value":"/Date(1432450800000)/"},{"data":-223,"value":"/Date(1434870000000)/"}]</p>
  </blockquote>
  
  <p>don't show any diagram. why? </p>