1. Chris Leonello
  2. jqplot
Issue #118 resolved

Error when setting autoscale = true and a tickInterval

taum
created an issue

With jqplot 0.9.5.2, setting autoscale = true and a value for tickInterval raises an error: An invalid or illegal string was specified" code: "12 [Break on this error] ctx.moveTo(bx, by);\n (jquery.jqplot.js (line 2240))

The root of the problem is that "temp" is not defined at: jquery.jqplot.js:2889 this.min = Math.floor(temp*(min-margin))/temp;

Attached is a patch that fixes the problem (well, at least for me :-) and gives "even" values for the ticks. e.g. setting tickInterval = 500 yields values 1000, 1500, 2000, etc.

Comments (2)

  1. Log in to comment