Skip to content

Commit e28f534

Browse files
author
Florent Lavy
committed
Fix bug when there are no data in a cell with an axis in datetime type
1 parent b208df2 commit e28f534

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jquery.highchartTable.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@
217217
var serie = series[column.indexTd];
218218

219219
if (rawCellValue.length==0) {
220-
serie.data.push(null);
220+
if (!isGraphDatetime) {
221+
serie.data.push(null);
222+
}
221223
} else {
222224
var cleanedCellValue = rawCellValue.replace(/ /g, '').replace(/,/, '.');
223225
cellValue = Math.round(parseFloat(cleanedCellValue) * column.scale * 100) / 100;

0 commit comments

Comments
 (0)