Skip to content

Instantly share code, notes, and snippets.

@Robdel12
Created January 8, 2014 21:25
Show Gist options
  • Save Robdel12/8324948 to your computer and use it in GitHub Desktop.
Save Robdel12/8324948 to your computer and use it in GitHub Desktop.
Solving jQplot line graphs not drawing to edge of div when using DateAxisRenderer
xaxis: {
pad: 0,
padMin: 0,
padMax: 0,
min: "2013-11-07", //First date in the graph
max: "2014-01-05", //Last date in the graph
renderer: $.jqplot.DateAxisRenderer,
tickOptions:{
formatString:'%b %#d'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment