We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aee5b68 + a7b806e commit b0df9faCopy full SHA for b0df9fa
jquery.highchartTable.js
@@ -315,7 +315,8 @@
315
var lineShadow = $table.data('graph-line-shadow');
316
var lineWidth = $table.data('graph-line-width') || 2;
317
318
- for(var i=0; i<9; i++) {
+ var nbOfColors = Math.max(defaultColors.length, themeColors.length);
319
+ for(var i=0; i < nbOfColors; i++) {
320
var dataname = 'graph-color-' + (i+1);
321
colors.push(typeof $table.data(dataname) != 'undefined' ? $table.data(dataname) : typeof themeColors[i] != 'undefined' ? themeColors[i] : defaultColors[i]);
322
}
0 commit comments