MCPcopy
hub / github.com/apache/echarts / installCommon

Function installCommon

src/component/dataZoom/installCommon.ts:27–39  ·  view source on GitHub ↗
(registers: EChartsExtensionInstallRegisters)

Source from the content-addressed store, hash-verified

25const callOnlyOnce = makeCallOnlyOnce();
26
27export default function installCommon(registers: EChartsExtensionInstallRegisters) {
28
29 callOnlyOnce(registers, function () {
30 registers.registerProcessor(registers.PRIORITY.PROCESSOR.FILTER, dataZoomProcessor);
31
32 installDataZoomAction(registers);
33
34 registers.registerSubTypeDefaulter('dataZoom', function () {
35 // Default 'slider' when no type specified.
36 return 'slider';
37 });
38 });
39}

Callers 3

installFunction · 0.70
installFunction · 0.70
installFunction · 0.70

Calls 1

installDataZoomActionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…