I need to create graph with dates on X axis and times on Y axis.
My JS code is:
jQuery(document).ready(function ($) {
var data = [["2013-04-25","00:11.557"],["2013-04-25","00:15.569"],["2013-04-25","00:11.733"],["2013-04-25","00:13.023"],["2014-04-26","00:22.333"]];
var plot1 = $.jqplot('chartdiv', [data], {
title:'Default Date Axis',
axes:{xaxis:{renderer:$.jqplot.DateAxisRenderer}},
series:[{lineWidth:4, markerOptions:{style:'square'}}]
});
});
The dates are showing correctly on the X axis, but I don't know how to display the values on Y axis.
How is this done in jqPlot plugin?