File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
frontends/web/src/routes/account/summary Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -111,13 +111,14 @@ class Chart extends Component<Props, State> {
111111 }
112112 if (
113113 ( this . lineSeries && prev . data . chartDataDaily && prev . data . chartDataHourly && chartDataDaily && chartDataHourly )
114- && (
115- prev . data . chartDataDaily . length !== chartDataDaily . length
116- || prev . data . chartDataHourly . length !== chartDataHourly . length
117- )
114+ && (
115+ prev . data . chartDataDaily . length !== chartDataDaily . length
116+ || prev . data . chartDataHourly . length !== chartDataHourly . length
117+ )
118118 ) {
119119 const data = this . state . source === 'hourly' ? chartDataHourly : chartDataDaily ;
120120 this . lineSeries . setData ( data ) ;
121+ this . chart ?. timeScale ( ) . fitContent ( ) ;
121122 this . setFormattedData ( data ) ;
122123 }
123124
You can’t perform that action at this time.
0 commit comments