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

Method constructor

src/coord/matrix/Matrix.ts:107–119  ·  view source on GitHub ↗
(matrixModel: MatrixModel, ecModel: GlobalModel, api: ExtensionAPI)

Source from the content-addressed store, hash-verified

105 }
106
107 constructor(matrixModel: MatrixModel, ecModel: GlobalModel, api: ExtensionAPI) {
108 this._model = matrixModel;
109 const models = this._dimModels = {
110 x: matrixModel.getDimensionModel('x'),
111 y: matrixModel.getDimensionModel('y'),
112 };
113 this._dims = {
114 x: models.x.dim,
115 y: models.y.dim,
116 };
117
118 this._resize(matrixModel, api);
119 }
120
121 getRect(): LayoutRect {
122 return this._rect;

Callers

nothing calls this directly

Calls 2

_resizeMethod · 0.95
getDimensionModelMethod · 0.80

Tested by

no test coverage detected