Skip to content

Commit 6b131a0

Browse files
committed
Merge data.undocumented_trace into the trace.
@FrnchFrgg FYI
1 parent 7a384e1 commit 6b131a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plotly-graph-card.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ export class PlotlyGraph extends HTMLElement {
505505
y: data.ys,
506506
yaxis: "y" + (yaxis_idx == 0 ? "" : yaxis_idx + 1),
507507
},
508+
// @ts-expect-error
509+
data.undocumented_trace, // temporary solution until functions are allowed everyhwere. May be removed after that.
508510
trace
509511
);
510512
real_traces.push(mergedTrace);

0 commit comments

Comments
 (0)