Download src/types/chart.types.ts from Jingyi-Z/lerobotac-dataset-visualizer: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/spaces/Jingyi-Z/lerobotac-dataset-visualizer/resolve/main/src/types/chart.types.ts
- Command line
-
hf download hf://spaces/Jingyi-Z/lerobotac-dataset-visualizer/src/types/chart.types.ts
-
curl -L -o chart.types.ts https://huggingface.co/spaces/Jingyi-Z/lerobotac-dataset-visualizer/resolve/main/src/types/chart.types.ts
502 Bytes
| /** | |
| * Chart and data visualization type definitions | |
| */ | |
| // Chart data point structure | |
| export interface ChartDataPoint { | |
| timestamp: number; | |
| [key: string]: number | Record<string, number>; // Hierarchical data | |
| } | |
| // Chart data group | |
| export type ChartDataGroup = ChartDataPoint[]; | |
| // Series column definition | |
| export interface SeriesColumn { | |
| key: string; | |
| value: string[]; // Series names | |
| } | |
| // Group statistics for scale calculation | |
| export interface GroupStats { | |
| min: number; | |
| max: number; | |
| } | |