MCPcopy Index your code
hub / github.com/apache/echarts / constructor

Method constructor

src/scale/Time.ts:136–149  ·  view source on GitHub ↗
(setting: TimeScaleSetting)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 2

simplyParseBreakOptionFunction · 0.90
initBreakOrLinearMapperFunction · 0.90

Tested by

no test coverage detected