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

Method diff

src/data/SeriesData.ts:1143–1156  ·  view source on GitHub ↗

* Create a data differ

(otherList: SeriesData)

Source from the content-addressed store, hash-verified

1141 * Create a data differ
1142 */
1143 diff(otherList: SeriesData): DataDiffer {
1144 const thisList = this;
1145
1146 return new DataDiffer(
1147 otherList ? otherList.getStore().getIndices() : [],
1148 this.getStore().getIndices(),
1149 function (idx: number) {
1150 return getId(otherList, idx);
1151 },
1152 function (idx: number) {
1153 return getId(thisList, idx);
1154 }
1155 );
1156 }
1157
1158 /**
1159 * Get visual property.

Callers 15

renderMethod · 0.80
renderEdgesMethod · 0.80
renderMethod · 0.80
updateDataMethod · 0.80
updateDataMethod · 0.80
_renderNormalMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
_renderNormalMethod · 0.80
_renderPointerMethod · 0.80
_renderTitleAndDetailMethod · 0.80

Calls 2

getStoreMethod · 0.95
getIndicesMethod · 0.45

Tested by

no test coverage detected