Skip to content

Commit

Permalink
This is a fix for dojo ticket #18061.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagetsume committed Sep 4, 2015
1 parent 828883a commit 656dbd1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charting/plot2d/Bars.js
Expand Up @@ -164,7 +164,7 @@ define(["dojo/_base/lang", "dojo/_base/array", "dojo/_base/declare", "dojo/has",
var actualLength = this.series.length;
arr.forEach(this.series, function(serie){if(serie.hidden){actualLength--;}});
var z = actualLength;
for(var i = this.series.length - 1; i >= 0; --i){
for(var i = 0; i < this.series.length; i++){
var run = this.series[i];
if(!this.dirty && !run.dirty){
t.skip();
Expand Down
2 changes: 1 addition & 1 deletion charting/plot2d/Bubble.js
Expand Up @@ -72,7 +72,7 @@ define(["dojo/_base/lang", "dojo/_base/declare", "dojo/_base/array", "dojo/has",
vt = this._vScaler.scaler.getTransformerFromModel(this._vScaler),
events = this.events();

for(var i = this.series.length - 1; i >= 0; --i){
for(var i = 0; i < this.series.length; i++){
var run = this.series[i];
if(!this.dirty && !run.dirty){
t.skip();
Expand Down
3 changes: 1 addition & 2 deletions charting/plot2d/Columns.js
Expand Up @@ -99,8 +99,7 @@ define(["dojo/_base/lang", "dojo/_base/array", "dojo/_base/declare", "dojo/has",

var z = this.series.length;
arr.forEach(this.series, function(serie){if(serie.hidden){z--;}});

for(var i = this.series.length - 1; i >= 0; --i){
for(var i = 0; i < this.series.length; i++){
var run = this.series[i];
if(!this.dirty && !run.dirty){
t.skip();
Expand Down
2 changes: 1 addition & 1 deletion charting/plot2d/Default.js
Expand Up @@ -222,7 +222,7 @@ define(["dojo/_base/lang", "dojo/_base/declare", "dojo/_base/array", "dojo/has",
}
var t = this.chart.theme, stroke, outline, events = this.events();

for(var i = this.series.length - 1; i >= 0; --i){
for(var i = 0; i < this.series.length; i++){
var run = this.series[i];
if(!this.dirty && !run.dirty){
t.skip();
Expand Down
2 changes: 1 addition & 1 deletion charting/plot2d/OHLC.js
Expand Up @@ -118,7 +118,7 @@ define(["dojo/_base/lang", "dojo/_base/array", "dojo/_base/declare", "dojo/has",
f = dc.calculateBarSize(this._hScaler.bounds.scale, this.opt);
gap = f.gap;
width = f.size;
for(var i = this.series.length - 1; i >= 0; --i){
for(var i = 0; i < this.series.length; i++){
var run = this.series[i];
if(!this.dirty && !run.dirty){
t.skip();
Expand Down
2 changes: 1 addition & 1 deletion charting/plot2d/Scatter.js
Expand Up @@ -58,7 +58,7 @@ define(["dojo/_base/lang", "dojo/_base/array", "dojo/_base/declare", "dojo/has",
df.forEachRev(this.series, function(item){ item.cleanGroup(s); });
}
var t = this.chart.theme, events = this.events();
for(var i = this.series.length - 1; i >= 0; --i){
for(var i = 0; i < this.series.length; i++){
var run = this.series[i];
if(!this.dirty && !run.dirty){
t.skip();
Expand Down
2 changes: 1 addition & 1 deletion charting/plot2d/Spider.js
Expand Up @@ -194,7 +194,7 @@ define(["dojo/_base/lang", "dojo/_base/declare", "dojo/_base/connect", "dojo/_ba
r: r
};

for (i = this.series.length - 1; i >= 0; i--){
for(var i = 0; i < this.series.length; i++){
serieEntry = this.series[i];
if(!this.dirty && !serieEntry.dirty){
t.skip();
Expand Down

0 comments on commit 656dbd1

Please sign in to comment.