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

Function addEl

src/chart/parallel/ParallelView.ts:186–198  ·  view source on GitHub ↗
(
    data: SeriesData, dataGroup: graphic.Group, dataIndex: number, dimensions: string[], coordSys: Parallel
)

Source from the content-addressed store, hash-verified

184}
185
186function addEl(
187 data: SeriesData, dataGroup: graphic.Group, dataIndex: number, dimensions: string[], coordSys: Parallel
188) {
189 const points = createLinePoints(data, dataIndex, dimensions, coordSys);
190 const line = new graphic.Polyline({
191 shape: {points: points},
192 // silent: true,
193 z2: 10
194 });
195 dataGroup.add(line);
196 data.setItemGraphicEl(dataIndex, line);
197 return line;
198}
199
200function makeSeriesScope(seriesModel: ParallelSeriesModel): ParallelDrawSeriesScope {
201 let smooth = seriesModel.get('smooth', true);

Callers 2

addMethod · 0.85
incrementalRenderMethod · 0.85

Calls 3

createLinePointsFunction · 0.85
setItemGraphicElMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…