Hi,
I noticed a potential bug when trying to assign cell colors to a financial dashboard i’m working on. After about 17 rows or so, the coloring for 18th row is skipped (instead of positive values as green and negative values as red, the entire row shows default black values) and I noticed that the error happens again around row 35. I am only modeling 52 weeks of data so i’m unsure if the issue would pop up again around row 53 or so.
To reproduce I tried simple alternating colors against the Bird Test demo from the plotly.js source code & I noticed that the color alternation skips row 26 and picks up again on row 27.
This textbox doesn’t allow enough characters for me to post my entire code but this is the content of table.data.cells.font.color as an example:
for(var c = 0; c < 7; c++){
var cellColorArray = [];
for(var i < 0; i < 52; i++){
cellColorArray.push(i%2 != 1 ? “red” : “black”)
}
table.data.cells.font.color.push(cellColorArray);
}