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> {
111
111
}
112
112
if (
113
113
( 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
+ )
118
118
) {
119
119
const data = this . state . source === 'hourly' ? chartDataHourly : chartDataDaily ;
120
120
this . lineSeries . setData ( data ) ;
121
+ this . chart ?. timeScale ( ) . fitContent ( ) ;
121
122
this . setFormattedData ( data ) ;
122
123
}
123
124
You can’t perform that action at this time.
0 commit comments