Commits

Anonymous committed 35a0925

fix of #223 so cross-over points of 0 will actually change colors

  • Participants
  • Parent commits 0d4d1a4

Comments (0)

Files changed (1)

src/jqplot.lineRenderer.js

                                     tempgd.push(gd[i]);
                                     this._areaPoints.push(gd[i]);
                                     // do we have an axis crossing?
-                                    if (pd[i][1] * pd[i+1][1] < 0) {
+                                    if (pd[i][1] * pd[i+1][1] <= 0) {
                                         if (pd[i][1] < 0) {
                                             isnegative = true;
                                             opts.fillStyle = negativeColor;