You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the version 1.5.9, I've found there are a few places with "/(this.chartLines-1)", which can result in a divide by zero. It was happening to me when I had a scatter plot with a set of points all less than zero. I simply did a find and replace for that string with "/Math.max(1, this.chartLines-1)". It fixed my problem, but I'm not 100% sure that that is the best solution. Perhaps the expression shouldn't be "/(this.chartLines-1)", and should be "/(this.chartLines)", which would have also prevented the divide by zero.
The text was updated successfully, but these errors were encountered:
In the version 1.5.9, I've found there are a few places with "/(this.chartLines-1)", which can result in a divide by zero. It was happening to me when I had a scatter plot with a set of points all less than zero. I simply did a find and replace for that string with "/Math.max(1, this.chartLines-1)". It fixed my problem, but I'm not 100% sure that that is the best solution. Perhaps the expression shouldn't be "/(this.chartLines-1)", and should be "/(this.chartLines)", which would have also prevented the divide by zero.
The text was updated successfully, but these errors were encountered: