MCPcopy Create free account
hub / github.com/apache/echarts / setExtent

Method setExtent

src/scale/Ordinal.ts:219–221  ·  view source on GitHub ↗

* NOTICE: OrdinalScale extent should always originates from * `[0, ordinalMeta.categories.length - 1]`, regardless of min/max of `series.data`. * But settings like `xxxAxis.min/max` can still modify the extent. * It is handled by constructor of `ScaleRawExtentInfo`.

(start, end)

Source from the content-addressed store, hash-verified

217 * It is handled by constructor of `ScaleRawExtentInfo`.
218 */
219 setExtent(start, end) {
220 return this._mapper.setExtent(start, end);
221 },
222
223 setExtent2(kind, start, end) {
224 return this._mapper.setExtent2(kind, start, end);

Callers

nothing calls this directly

Calls 1

setExtentMethod · 0.65

Tested by

no test coverage detected