Closed proand closed 2 months ago
Description
Based on changes to the API deicided in https://github.com/folkehelseinstituttet/Fhi.Frontend.RnD/issues/11, and data from MEASURE_TYPE (see const unit below):
MEASURE_TYPE
const unit
Acceptance Criteria
Given:
FhiDiagramOptions
Then:
Supplementary information
New property on the interface FhiDiagramOptions:
unit?: FhiDiagramUnit;
Data to use in demo-app example:
const unit: [ { decimals: 1, label: "Prosent", symbol: "%", position: "end", }, { label: "Antall", }, ];
Description
Based on changes to the API deicided in https://github.com/folkehelseinstituttet/Fhi.Frontend.RnD/issues/11, and data from
MEASURE_TYPE
(seeconst unit
below):Acceptance Criteria
Given:
FhiDiagramOptions
updated to handle JSON-statMEASURE_TYPE
Then:
Supplementary information
New property on the interface
FhiDiagramOptions
:Data to use in demo-app example: