(symbol: PickPartial<SymbolInfo, 'pricePrecision' | 'volumePrecision'>)
| 699 | } |
| 700 | |
| 701 | setSymbol (symbol: PickPartial<SymbolInfo, 'pricePrecision' | 'volumePrecision'>): void { |
| 702 | if (symbol !== this.getSymbol()) { |
| 703 | this._resetYAxisAutoCalcTickFlag() |
| 704 | this._chartStore.setSymbol(symbol) |
| 705 | } |
| 706 | } |
| 707 | |
| 708 | getSymbol (): Nullable<SymbolInfo> { |
| 709 | return this._chartStore.getSymbol() |