(setting: TimeScaleSetting)
| 134 | private _minLevelUnit: TimeUnit; |
| 135 | |
| 136 | constructor(setting: TimeScaleSetting) { |
| 137 | super(); |
| 138 | this.parse = TimeScale.parse; |
| 139 | |
| 140 | this._locale = setting.locale; |
| 141 | this._useUTC = setting.useUTC; |
| 142 | this._interval = 0; |
| 143 | |
| 144 | const breakParsed = simplyParseBreakOption(this, setting); |
| 145 | |
| 146 | const res = initBreakOrLinearMapper(this, breakParsed, null); |
| 147 | // @ts-ignore |
| 148 | this.brk = res.brk; |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * Get label is mainly for other components like dataZoom, tooltip. |
nothing calls this directly
no test coverage detected