Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
highslide-software committed Jul 4, 2011
1 parent f34733d commit c8368d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions js/highcharts.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -3354,6 +3354,8 @@ SVGRenderer.prototype = {


// general renderer
Renderer = SVGRenderer;



/* ****************************************************************************
Expand Down Expand Up @@ -7644,10 +7646,8 @@ function Chart (options, callback) {
// redraw axes
each(axes, function(axis) {
if (axis.isDirty || isDirtyBox) {
var boxSum = [plotLeft, plotTop, marginBottom, marginRight].join(',');
axis.redraw();
// see if anything's changed:
isDirtyBox = [plotLeft, plotTop, marginBottom, marginRight].join(',') !== boxSum;
isDirtyBox = true;
}
});

Expand Down
4 changes: 1 addition & 3 deletions js/parts/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -3180,10 +3180,8 @@ function Chart (options, callback) {
// redraw axes
each(axes, function(axis) {
if (axis.isDirty || isDirtyBox) {
var boxSum = [plotLeft, plotTop, marginBottom, marginRight].join(',');
axis.redraw();
// see if anything's changed:
isDirtyBox = [plotLeft, plotTop, marginBottom, marginRight].join(',') !== boxSum;
isDirtyBox = true;
}
});

Expand Down
2 changes: 2 additions & 0 deletions js/parts/SvgRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1625,3 +1625,5 @@ SVGRenderer.prototype = {


// general renderer
Renderer = SVGRenderer;

0 comments on commit c8368d7

Please sign in to comment.