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

Function createSourceFromSeriesDataOption

src/data/Source.ts:229–236  ·  view source on GitHub ↗
(data: OptionSourceData)

Source from the content-addressed store, hash-verified

227 * Wrap original series data for some compatibility cases.
228 */
229export function createSourceFromSeriesDataOption(data: OptionSourceData): Source {
230 return new SourceImpl({
231 data: data,
232 sourceFormat: isTypedArray(data)
233 ? SOURCE_FORMAT_TYPED_ARRAY
234 : SOURCE_FORMAT_ORIGINAL
235 });
236}
237
238/**
239 * Clone source but excludes source data.

Callers 4

SeriesData.test.tsFile · 0.90
createSeriesDataFunction · 0.90
prepareSeriesDataSchemaFunction · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…