We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
values
1 parent 18dac1f commit 5d42de5Copy full SHA for 5d42de5
src/traces/table/data_split_helpers.js
@@ -51,7 +51,7 @@ exports.splitToPanels = function(d) {
51
52
exports.splitToCells = function(d) {
53
var fromTo = rowFromTo(d);
54
- return d.values.slice(fromTo[0], fromTo[1]).map(function(v, i) {
+ return (d.values || []).slice(fromTo[0], fromTo[1]).map(function(v, i) {
55
// By keeping identical key, a DOM node removal, creation and addition is spared, important when visible
56
// grid has a lot of elements (quadratic with xcol/ycol count).
57
// But it has to be busted when `svgUtil.convertToTspans` is used as it reshapes cell subtrees asynchronously,
0 commit comments