-struct data_source_s
-{
- char *file;
- char *name;
- char *legend;
- double scale;
- _Bool nan_to_zero;
- _Bool draw_area;
- uint32_t color;
-};
-typedef struct data_source_s data_source_t;
-
-struct graph_def_s
-{
- data_source_t *data_sources;
- size_t data_sources_num;
-
- _Bool stack;
-
- int def_num;
-};
-typedef struct graph_def_s graph_def_t;
-