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 208ee86 commit c552309Copy full SHA for c552309
src/lib/connectTraceToPlot.js
@@ -36,7 +36,7 @@ export default function connectTraceToPlot(WrappedComponent) {
36
const fullTrace = fullData[fullTraceIndex] || {};
37
38
let getValObject;
39
- if (plotly) {
+ if (plotly && fullTrace._fullInput) {
40
/*
41
* Since fullTrace._fullInput contains the _module.attributes key:
42
* https://github.com/plotly/plotly.js/blob/70f3f70ec5b306cf74630355676f5e318f685824/src/plot_api/plot_schema.js#L241
@@ -77,6 +77,7 @@ export default function connectTraceToPlot(WrappedComponent) {
77
this.name = fullTrace.name;
78
const DEFAULT_FIN_CHART_TRACE_NAME = ' - increasing';
79
if (
80
+ fullTrace.name &&
81
fullTrace.name.indexOf(DEFAULT_FIN_CHART_TRACE_NAME) &&
82
!trace.name
83
) {
0 commit comments