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.
1 parent 602c362 commit acd90b7Copy full SHA for acd90b7
src/lib/customTraceType.js
@@ -16,7 +16,7 @@ export function plotlyTraceToCustomTrace(trace) {
16
17
if (
18
(type === 'scatter' || type === 'scattergl') &&
19
- ((trace.stackgroup !== null && trace.stackgroup !== undefined) || // eslint-disable-line no-undefined
+ (![null, undefined, ''].includes(trace.stackgroup) || // eslint-disable-line no-undefined
20
['tozeroy', 'tozerox', 'tonexty', 'tonextx', 'toself', 'tonext'].includes(trace.fill))
21
) {
22
return 'area';
0 commit comments