I see your problem. As you shape your data, diagrams cannot understand this.
Here is an example of what I used:
var data = []; var mult = 200; for(var i = 0; i < 40; i++){ data.push({y: 1300+(i*mult), value: 30*i}); }
These are my parameters for the chart.
Morris.Line({ // ID of the element in which to draw the chart. element: 'linechart', // Chart data records -- each entry in this array corresponds to a point on // the chart. data: data, // The name of the data record attribute that contains x-visitss. xkey: 'y', // A list of names of data record attributes that contain y-visitss. ykeys: ['value'], // Labels for the ykeys -- will be displayed when you hover over the // chart. labels: ['y'], // Disables line smoothing smooth: false, parseTime: false, });
What I did to redraw the tabs because redrawing didn't work:
$('ul.nav a').on('shown.bs.tab', function(e){
This is an old version of the code, but you should get this idea. The key part is here:
$('ul.nav a').on('shown.bs.tab', function(e){ if ($(e.target).attr('href') ==
which, I think, can be applied to modules
source share