* Create a data differ
(otherList: SeriesData)
| 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. |
no test coverage detected