Spaces:
Sleeping
Sleeping
Download src/types/chart.types.ts from Chunte/lerobot-visualizer-test: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/Chunte/lerobot-visualizer-test/resolve/main/src/types/chart.types.ts
- Command line
-
hf download hf://spaces/Chunte/lerobot-visualizer-test/src/types/chart.types.ts
-
curl -L -o chart.types.ts https://huggingface.co/spaces/Chunte/lerobot-visualizer-test/resolve/main/src/types/chart.types.ts
526 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; | |
| } | |