실시간 챠트 오류 수정
This commit is contained in:
@@ -2643,9 +2643,13 @@ export class ChartManager {
|
||||
visible: false,
|
||||
} as Parameters<ISeriesApi<SeriesType>['applyOptions']>[0]);
|
||||
} catch { /* ok */ }
|
||||
this.container.style.height = '';
|
||||
this._resetPaneHeightsCandleFullscreen(availableHeight);
|
||||
this._hideAllSubPaneIndicators();
|
||||
const H = availableHeight && availableHeight > 0 ? availableHeight : 0;
|
||||
const W = this.container.clientWidth;
|
||||
if (H > 0 && W > 0) {
|
||||
try { this.chart.resize(W, H); } catch { /* ok */ }
|
||||
}
|
||||
} else {
|
||||
this.restoreFromCandleFullscreen(availableHeight);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user