We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9222c8 commit 787d1cdCopy full SHA for 787d1cd
src/lib/connectTraceToPlot.js
@@ -55,6 +55,11 @@ export default function connectTraceToPlot(WrappedComponent) {
55
};
56
this.icon = renderTraceIcon(plotlyTraceToCustomTrace(trace));
57
this.name = fullTrace.name;
58
+
59
+ const DEFAULT_FIN_CHART_TRACE_NAME = '- increasing';
60
+ if (fullTrace.name.indexOf(DEFAULT_FIN_CHART_TRACE_NAME) && !trace.name) {
61
+ this.name = fullTrace.name.replace(DEFAULT_FIN_CHART_TRACE_NAME, '');
62
+ }
63
}
64
65
getChildContext() {
0 commit comments