I'm using static data to just get the plot to show and can't get the x-axis to show Mon-Fri. If I change them to numbers the graph shows fine. I've added jqplot and jqplot.categoraxisrender as javascript. If I go to the console and type: jquery.jqplot it tells me jquery is undefined. I've also tried various versions of the two js above.
Any help appreciated.
var line2 = [['Mo', 7], ['Tu', 9], ['We', 15],
['Th', 12], ['F', 3],
['Sa', 6], ['Su', 18]];
$.jqplot('myplot', [line2],
{ title:'Weekly',
axes:{
xaxis:{
Renderer: $.jqplot.CategoryAxisRenderer,
label: 'Week Days',
},
yaxis:{min:0, max:100}},
series:[{color:'#5FAB78'}]
});