File tree 3 files changed +12
-22
lines changed 3 files changed +12
-22
lines changed Original file line number Diff line number Diff line change 15
15
"fast-isnumeric" : " ^1.1.1" ,
16
16
"immutability-helper" : " ^2.6.4" ,
17
17
"plotly-icons" : " latest" ,
18
- "plotly.js" : " ^1.35.0 " ,
18
+ "plotly.js" : " ^1.36.1 " ,
19
19
"prop-types" : " ^15.5.10" ,
20
20
"raf" : " ^3.4.0" ,
21
21
"react-color" : " ^2.13.8" ,
Original file line number Diff line number Diff line change @@ -55,19 +55,17 @@ class TraceAccordion extends Component {
55
55
return allTraces ;
56
56
} , { } ) ;
57
57
58
- const groupedTraces = Object . keys ( tracesByGroup )
59
- . filter ( traceType => ! [ 'ohlc' , 'candlestick' ] . includes ( traceType ) )
60
- . map ( ( traceType , index ) => {
61
- return (
62
- < TraceFold
63
- key = { index }
64
- traceIndexes = { tracesByGroup [ traceType ] }
65
- name = { traceType }
66
- >
67
- { this . props . children }
68
- </ TraceFold >
69
- ) ;
70
- } ) ;
58
+ const groupedTraces = Object . keys ( tracesByGroup ) . map ( ( traceType , index ) => {
59
+ return (
60
+ < TraceFold
61
+ key = { index }
62
+ traceIndexes = { tracesByGroup [ traceType ] }
63
+ name = { traceType }
64
+ >
65
+ { this . props . children }
66
+ </ TraceFold >
67
+ ) ;
68
+ } ) ;
71
69
72
70
if ( canGroup && data . length > 1 && groupedTraces . length > 0 ) {
73
71
return (
Original file line number Diff line number Diff line change @@ -68,14 +68,6 @@ export default function connectTraceToPlot(WrappedComponent) {
68
68
if ( trace && fullTrace ) {
69
69
this . icon = renderTraceIcon ( plotlyTraceToCustomTrace ( trace ) ) ;
70
70
this . name = fullTrace . name ;
71
- const DEFAULT_FIN_CHART_TRACE_NAME = ' - increasing' ;
72
- if (
73
- fullTrace . name &&
74
- fullTrace . name . indexOf ( DEFAULT_FIN_CHART_TRACE_NAME ) &&
75
- ! trace . name
76
- ) {
77
- this . name = fullTrace . name . replace ( DEFAULT_FIN_CHART_TRACE_NAME , '' ) ;
78
- }
79
71
}
80
72
}
81
73
You can’t perform that action at this time.
0 commit comments