Skip to content

Commit 9398c33

Browse files
committed
Review 2
1 parent b207430 commit 9398c33

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/customTraceType.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
export function plotlyTraceToCustomTrace(trace) {
22
if (
33
trace.type === 'scatter' &&
4-
trace.fill &&
54
['tozeroy', 'tozerox', 'tonexty', 'tonextx', 'toself', 'tonext'].includes(
65
trace.fill
76
)
87
) {
98
return 'area';
109
} else if (
1110
trace.type === 'scatter' &&
12-
trace.mode &&
1311
(trace.mode === 'lines' || trace.mode === 'lines+markers')
1412
) {
1513
return 'line';

0 commit comments

Comments
 (0)