Skip to content

Commit 8a39b26

Browse files
updated comments
1 parent 4c425fc commit 8a39b26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

js/render-google.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ var __visualizer_chart_images = [];
5858
// mark roles for series that have specified a role
5959
// and then remove them from future processing
6060
// and also adjust the indices of the series array so that
61-
// the ones with a role are deleted
61+
// the ones with a role are ignored
6262
// e.g. if there are 6 columns (0-5) out of which 1, 3 and 5 are annotations
63-
// the final series will only include 0, 1, 2
63+
// the final series will only include 0, 2, 4 (reindexed as 0, 1, 2)
6464
if (settings.series) {
6565
var adjusted_series = [];
6666
for (i = 0; i < settings.series.length; i++) {
@@ -76,7 +76,6 @@ var __visualizer_chart_images = [];
7676
}
7777
settings.series = adjusted_series;
7878
}
79-
if(id.indexOf('1568') !== -1) console.log(series.length);
8079

8180
switch (chart.type) {
8281
case 'pie':

0 commit comments

Comments
 (0)