MCPcopy Index your code
hub / github.com/zxlie/FeHelper / parseInputData

Function parseInputData

apps/chart-maker/main.js:309–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307
308 // 解析输入数据
309 function parseInputData() {
310 const currentFormat = manualFormatSelect.value;
311
312 switch(currentFormat) {
313 case 'simple':
314 return parseSimpleData();
315 case 'series':
316 return parseSeriesData();
317 case 'csv':
318 return parseCsvData();
319 default:
320 throw new Error('未知的数据格式');
321 }
322 }
323
324 // 解析简单数据
325 function parseSimpleData() {

Callers 1

generateChartFunction · 0.85

Calls 3

parseSimpleDataFunction · 0.85
parseSeriesDataFunction · 0.85
parseCsvDataFunction · 0.85

Tested by

no test coverage detected