Skip to content

Commit

Permalink
Enhancement/higcharts Add description also in full screen view (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
proand authored Oct 8, 2024
1 parent 1b19530 commit bfa4965
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ <h1 class="h3 mb-3">{{ diagramOptions.title }}</h1>
<span class="visually-hidden">Fullskjerm </span>
</ng-container>
<ng-container fhi-modal.body>
@if (diagramOptions.description) {
<p>{{ diagramOptions.description }}</p>
}
<ng-container *ngTemplateOutlet="diagramAndFooter"></ng-container>
</ng-container>
</fhi-modal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export class HighchartsComponent implements OnInit {
this.getData(MockData.PrikkedeDataMedToSerier, {
...this.diagramOptions,
activeDiagramType: 'line',
description: 'Her kan en legge til en beskrivelse av dataene.',
title: this.titles.title_3e,
units: undefined,
footer: {
Expand Down

0 comments on commit bfa4965

Please sign in to comment.