folkehelseinstituttet / Fhi.Frontend.Demo

MIT License
2 stars 1 forks source link

FHI Angular Highcharts: add reasons why chart or map can't be rendered in the warning messages #625

Open proand opened 1 week ago

proand commented 1 week ago

Description

An end user of FHI Angular Highcharts should be able to understand why a certain diagram type can't be rendered. Today the user only gets a very generic warning message.

Acceptance Criteria

Given:

  1. The logic behind the triggering of different messages is agreed upon
  2. New messages are ready

Then:

  1. Go to https://dev-designsystem.fhi.no/developer/components/highcharts#highcharts-all-inclusive
  2. ...to be continued

Additional information

Here is an example of a dataset that shows the generic warning out in the wild: https://statistikk.fhi.no/lmr/TNZLPRRR3Nsm1c7dvyi2gQ?MEASURE_TYPE=AntallBrukere&Atc_Verdi=L,M,N,P,R,S,V&Kjonn_Verdi=TOTALT&Aldersgruppe_Verdi=TOTALT&Utlevering_Ar=2004&DIAGRAM_TYPE=line

proand commented 1 week ago

@cathral Vi får se mer på denne når du kommer tilbake fra ferie 🙂

FYI @bittakv