File tree Expand file tree Collapse file tree 3 files changed +12
-22
lines changed Expand file tree Collapse file tree 3 files changed +12
-22
lines changed Original file line number Diff line number Diff line change 1515 "fast-isnumeric" : " ^1.1.1" ,
1616 "immutability-helper" : " ^2.6.4" ,
1717 "plotly-icons" : " latest" ,
18- "plotly.js" : " ^1.35.0 " ,
18+ "plotly.js" : " ^1.36.1 " ,
1919 "prop-types" : " ^15.5.10" ,
2020 "raf" : " ^3.4.0" ,
2121 "react-color" : " ^2.13.8" ,
Original file line number Diff line number Diff line change @@ -55,19 +55,17 @@ class TraceAccordion extends Component {
5555 return allTraces ;
5656 } , { } ) ;
5757
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+ } ) ;
7169
7270 if ( canGroup && data . length > 1 && groupedTraces . length > 0 ) {
7371 return (
Original file line number Diff line number Diff line change @@ -68,14 +68,6 @@ export default function connectTraceToPlot(WrappedComponent) {
6868 if ( trace && fullTrace ) {
6969 this . icon = renderTraceIcon ( plotlyTraceToCustomTrace ( trace ) ) ;
7070 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- }
7971 }
8072 }
8173
You can’t perform that action at this time.
0 commit comments