The FRViewPreset data record contains the data stored for one user preset within the FRViewProperties data record. This includes the diagram scaling and some additional information like trace colors etc.
| Key | Type | Value |
|---|---|---|
| absstart | String | The (absolute) starttime of the diagram, expressed as an ISO 8601 string, example: 2021-03-26T08:02:30Z, time zone is always UTC. |
| relstart | Number | The starttime of the diagram, in seconds relative to the newest data record recorded. |
| tscale | String | The time axis scaling, one of ("15s", "30s", "1m", "3m", "5m", "10m", "30m", "1h", "3h", "6h", "12h", "1d", "2d", "6d", "30d"). The values are per division of the time axis |
| traces | Array | An array of FRViewTraceScaling objects, each describing the scaling properties for one diagram trace. The backend will always report four traces, even if not all four traces are configured in the File-Recorder device. When sent to the backend, each preset must provide four elements in this array to be recognized properly. |
| name | String | The (optional) name of the preset |