Sunday, February 28, 2016

Bootstrap Admin Theme + morris.js charting lib

SB Admin 2 - Free Bootstrap Admin Theme - Start Bootstrap
Free Bootstrap 3 Themes and Templates


from course: Understanding ASP.NET Core | Pluralsight

fishtankapp.azurewebsites.net

morris.js
"good-looking charts shouldn't be difficult"
Based on Raphael.js library
BSD license

C3.js (that depends on D3.js) may still be a better option,
even though Raphael.js works on older browsers also. 


new Morris.Line({
  element: 'myfirstchart',
  data: [
    { year: '2008', value: 20 },
    { year: '2009', value: 10 },
    { year: '2010', value: 5 },
    { year: '2011', value: 5 },
    { year: '2012', value: 20 }
  ],
  xkey: 'year',
  ykeys: ['value'],
  labels: ['Value']
});


No comments: